Statwonk Statwonk - 8 months ago 78
R Question

R.oo package won't install on RStudio Server

I'm perplexed that the R.oo package installation fails on RStudio server, any idea on how I can get around it?

Installing package(s) into ‘/home/rstudio/R/library’
(as ‘lib’ is unspecified)
trying URL ''
Content type 'application/x-gzip' length 372217 bytes (363 Kb)
opened URL
downloaded 363 Kb

* installing *source* package ‘R.oo’ ...
** package ‘R.oo’ successfully unpacked and MD5 sums checked
** R
** inst
** preparing package for lazy loading
Error in match(el, set, 0L) : object 'R.KEYWORDS' not found
Error : unable to load R code in package ‘R.oo’
ERROR: lazy loading failed for package ‘R.oo’
* removing ‘/home/rstudio/R/library/R.oo’
Warning in install.packages :
installation of package ‘R.oo’ had non-zero exit status


According to the author of the R.oo and R.KEYWORDS packages, there was an incompatibility between the last version of R.KEYWORDS (v1.4.2) and R.oo (the cran version 1.9.3 was incompatible, not being the last one v1.9.8). He corrected that recently.