TinnR - R console problem

56 views
Skip to first unread message

Felipe

unread,
Jun 26, 2019, 12:07:25 AM6/26/19
to Tinn-R Editor
I just noticed that Tinn R quit sending multiple lines to R. It only sends single lines of code. For example:
 
#The following works when I send the entire file or highlight all the 5 lines of code:
plot(rnorm(10))
windows()
plot(rnorm(50))
windows()
plot(rnorm(100))

#But this doesn't work, unless I execute individual lines of code
rnorm(10)
rnorm(20)
rnorm(50)

#This only works and prints the Base R graphics but ignores the ggplot2 code and also ignores regular R code.
# It seems that only recognizes multiple lines of Base graphics and nothing else.

#DOES NOT WORK
library(ggplot2)
recent <- economics[economics$date > as.Date("2013-01-01"), ]
ggplot(recent, aes(date, unemploy)) + geom_line()
ggplot(recent, aes(date, unemploy)) + geom_step()

#DOES NOT WORK
rnorm(10)
rnorm(20)
rnorm(50)

#all of the above code gets ignored by R but the code below works with multiple lines
#DOES WORK
plot(rnorm(10))
plot(rnorm(50))

Has anyone had this problem? if so, could you give me a hint on how to fix it?

Here is my R session
> sessionInfo()
R version 3.6.0 (2019-04-26)
Platform: i386-w64-mingw32/i386 (32-bit)
Running under: Windows 10 x64 (build 17134)
Matrix products: default
locale:
[1] LC_COLLATE=English_United States.1252  LC_CTYPE=English_United States.1252    LC_MONETARY=English_United States.1252 LC_NUMERIC=C                         
[5] LC_TIME=English_United States.1252   
attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base    
other attached packages:
[1] ggplot2_3.2.0   TinnRcom_1.0.21 formatR_1.7     svSocket_0.9-57
loaded via a namespace (and not attached):
 [1] Rcpp_1.0.1       withr_2.1.2      crayon_1.3.4     dplyr_0.8.1      assertthat_0.2.1 grid_3.6.0       R6_2.4.0         gtable_0.3.0     magrittr_1.5   
[10] scales_1.0.0     pillar_1.4.1     rlang_0.3.4      lazyeval_0.2.2   svMisc_1.1.0     tools_3.6.0      glue_1.3.1       purrr_0.3.2      munsell_0.5.0  
[19] compiler_3.6.0   pkgconfig_2.0.2  colorspace_1.4-1 tcltk_3.6.0      tidyselect_0.2.5 tibble_2.1.3   


José Cláudio Faria

unread,
Jul 22, 2019, 5:37:12 AM7/22/19
to Tinn-R Editor
Hello Felipe Carrillo,

Sorry for the delay. I was very involved in the work to release a new version of the Tinn-R project and I chose to study the problems that you had pointed out at the end of the work that was going on.

Sorry, I did not find any problems here with your script running R 3.6.0 (I tested both 32 and 64 bit).

Also nothing related to Tinn-R.

One suggestion, when you suspect a Tinn-R related issue, try running Rgui.exe (using or not Tinn-R as a GUI). Then you will check if the problem is in Tinn-R or R.

Please tell me if I can be useful in anything else.

Best,
J.C.Faria
Felipe_Carrillo.R

Jose Claudio Faria

unread,
Aug 6, 2019, 5:44:40 PM8/6/19
to Jordi Moya Laraño, Tinn-R Editor
Hello Jordi,

The default to increase/decrease font is Ctrl+Shift+=/Ctrl+Shift+-
See picture attached.

Make visible the interface Tools (Ctrl+F8);
Select Database/Shotcut/Visualization
You will see the default. If you want to change it, type the button indicated.

This is too easy!

Best,
///\\\///\\\///\\\///\\\///\\\///\\\///\\\///\\\
Jose Claudio Faria
UESC/DCET/Brasil
joseclaudio.faria at gmail.com
Telefones:
55(73)3680.5545 - UESC
55(73)99966.9100 - VIVO
///\\\///\\\///\\\///\\\///\\\///\\\///\\\///\\\

If you have software to deal with statistics, you have arms;
if you have good software, you have arms and legs;
if you have software like R, you have arms, legs and wings...
the height of your flight depends only on you!

Em qua, 31 de jul de 2019 às 08:41, Jordi Moya Laraño
<jo...@eeza.csic.es> escreveu:
>
> Hello,
>
> Can you guys put back the ctrl-shift-+ and
>
> ctrl-shift-+ to increase/decrease font size... ?
>
> those that are older like me ad have no time/energy to learn how to implement new short-cuts will appreciate it very much.
>
> Thanks so much in advance.
>
> cheers,
>
> Jordi
>
>
> Jordi Moya-Laraño
> Functional and Evolutionary Ecology
> Estación Experimental de Zonas Áridas - CSIC
> Carretera de Sacramento s/n
> La Cañada de San Urbano
> 04120-Almería
> Spain
>
> phone:+34 950281045 ext. 419
> email: jo...@eeza.csic.es
> www.eeza.csic.es/foodweb
>
> ________________________________
> De: tin...@googlegroups.com <tin...@googlegroups.com> en nombre de José Cláudio Faria <joseclau...@gmail.com>
> Enviado: lunes, 22 de julio de 2019 11:37
> Para: Tinn-R Editor
> Asunto: Re: TinnR - R console problem
> --
> You received this message because you are subscribed to the Google Groups "Tinn-R Editor" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to tinn-r+un...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/tinn-r/91a40885-6118-4111-a2ad-b38fcfb1aa32%40googlegroups.com.
font.png
Reply all
Reply to author
Forward
0 new messages