我正在尝试从 opencpu 访问安装在用户帐户下的 R 包。当我以该用户身份启动 R 时,我可以看到该软件包已安装:
> installed.packages()
Package LibPath
RLIM "RLIM" "/limdata/ali/R/x86_64-pc-linux-gnu-library/3.0"
...
> system('whoami');
ali
但是,当我尝试从 opencpu 访问该库时,出现错误,表明找不到该包:
$ 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
...
任何帮助将不胜感激!
平台信息:
- 主机:Ubuntu 12.04
- opencpu-server 1.0.4-precise0
- opencpu-lib:1.0.4-精确0
- R 版本 3.0.2 (2013-09-25) -- “飞盘航行”