Statwonk Statwonk - 1 month ago 16
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 'http://ftp.heanet.ie/mirrors/cran.r-project.org/src/contrib/R.oo_1.9.3.tar.gz'
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

Answer

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.

Comments