I am trying to access R packages which were installed under a user's account from opencpu. I can see that the package is installed when I start R as that user:
> installed.packages()
Package LibPath
RLIM "RLIM" "/limdata/ali/R/x86_64-pc-linux-gnu-library/3.0"
...
> system('whoami');
ali
However, when I try to access the library from opencpu, I get errors indicating the package was not found:
$ curl -L http://<my.server>/ocpu/user/ali/library/RLIM
there is no package called 'RLIM'
In call:
find.package(pkgname, lib.loc = lib.loc)
# from same server, to confirm opencpu is running...
$ curl -L http://<my.server>/ocpu/library
base
bitops
boot
brew
...
Any help would be greatly appreciated!
Platform info:
- Host: Ubuntu 12.04
- opencpu-server 1.0.4-precise0
- opencpu-lib: 1.0.4-precise0
- R version 3.0.2 (2013-09-25) -- "Frisbee Sailing"