For some reason, in one of my shiny projects, DT::datatable(iris) returns empty window, even in interactive mode. So, it turns on 'Viewer' tab but nothing shows there. Not sure how to debug it, as in other projects it works fine.
R version 3.4.1 (2017-06-30)
Platform: x86_64-redhat-linux-gnu (64-bit)
Running under: CentOS Linux 7 (Core)
Related
I am trying to figure out which version of R is currently being used by Rstudio. I changed the R version under: tools/global options/general/ R sessions/ R version.
But the version being used by the console seems not affected. I also tried restarting the R session under: Session/ Restart R. Running R.version in console prints the version 4.0.5 yet I have changed the version of R from global options.
here is a screenshot of what I see on Rsutio.
I am trying to see the source code of the ga function from the GA package in R in order to edit it. R-Studio is trying to open a window but, nothing comes up. When I tried for the mutate function, it can open a window. Also, when I tried trace(ga, edit = TRUE) in base R, it works. I am using the newest version of R-Studio, too. I wonder what I am doing wrong.
Here is the sessionInfo for both base R and R-Studio.
R version 4.0.2 (2020-06-22)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 18363)
Unable to get RStudio to knit to PDF post-RV4.0.0 update HTML, WORD work).
Error returned: Searching for luatex.dll, which does not seem to install following (i) install.packages('tinytex') (ii) tinytex::install_tinytex().
Curiously, luatex.dll is found in my older 3.5.3 and 3.6.3 .\TinyTeX\bin\win32 directories. rTools is current for R4.0.0, with path added per website. Similarly, pdflatex.fmt mising in install from 4.0.0. In all cases followed advice from Yihui Xie et al. websites.
Have tried several re-installs, including a full install of MikTeX. No joy.
tinytex Version is 0.22. basic session info is:
sessionInfo()
R version 4.0.0 (2020-04-24)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 18363)
I am puzzled because I have successfully installed tinytext etc on 3.X.X R and previous versions of RStudio, and knited PDFs (including use of bookkdown) with no problems. Thx in advance.
I installed R 3.5.3, then restarted my Windows 7 computer. Next I launched R Studio and ran the command sessionInfo() and am informed that R Studio is still utilizing R version 3.5.1.
R version 3.5.1 (2018-07-02)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 7 x64 (build 7601) Service Pack 1
I went to the Tools > Global Options > General > R Version and get a screen like this
(source: rstudio.com)
Although I could simply select the specific version of R I'd like to use (eg 3.5.3) I want R Studio to use the default version of R on my machine, which I'd always want to be the most current version of R on my machine.
How do I achieve this? I'm using the installr package to update R every six months or so. It seems installr doesn't force Windows 7 to realize I've got a new R version on my system.
I'm getting a hang in RStudio when I try and load XLConnect. It works find when I try from the same R console outside RStudio.
i.e. in RGui (64-bit)
R version 3.2.2 (2015-08-14) -- "Fire Safety"
Copyright (C) 2015 The R Foundation for Statistical Computing
Platform: x86_64-w64-mingw32/x64 (64-bit)
> library(XLConnect)
Loading required package: XLConnectJars
XLConnect 0.2-11 by Mirai Solutions GmbH [aut],
Martin Studer [cre],
The Apache Software Foundation [ctb, cph] (Apache POI, Apache Commons
Codec),
Stephen Colebourne [ctb, cph] (Joda-Time Java library)
http://www.mirai-solutions.com ,
http://miraisolutions.wordpress.com
But when I run in Rstudio the same R console hangs. I've confirmed that rJava loads so I think I have my Java environment correct
R version 3.2.2 (2015-08-14) -- "Fire Safety"
Copyright (C) 2015 The R Foundation for Statistical Computing
Platform: x86_64-w64-mingw32/x64 (64-bit)
> library(XLConnect)
Loading required package: XLConnectJars
Appreciate any thoughts on what the issue is - it works fine on my laptop so not sure what's different
Regards
Dave
Seems to be an Rstudio issue fixed in the latest version - I updated Rstudio to 0.99.491 (from an earlier 0.99.x release but not sure the version) and it now works fine.
edit - although it sometimes still appears to hang but eventually the package loads?