Error : .onLoad failed in loadNamespace() for 'utils', details:
call: options(op.utils[toset])
error: invalid value for 'editor'
In addition: Warning message:
package "methods" in options("defaultPackages") was not found
Error : .onLoad failed in loadNamespace() for 'utils', details:
call: options(op.utils[toset])
error: invalid value for 'editor'
In addition: Warning message:
package 'utils' in options("defaultPackages") was not found
Error : .onLoad failed in loadNamespace() for 'utils', details:
call: options(op.utils[toset])
error: invalid value for 'editor'
In addition: Warning message:
package 'stats' in options("defaultPackages") was not found
During startup - Warning messages:
1: package 'methods' in options("defaultPackages") was not found
2: Setting LC_CTYPE failed, using "C"
這是因為DRBL client上的/etc/R/Renviron這個檔案不存在。起因是R的安裝在《DRBL企鵝龍重新佈署》drblpush之後,故/etc/R這個資料夾沒有被複制到 /tftproot/nodes/Private_IP/etc 下面,造成DRBL client上沒有/etc/R/Renviron。參考《R install 2.15.2 Renvirons not found, Ubuntu 12.10 x64》一文
除了重新部署DRBL以外,也可以用下面的指令手動將/etc/R/Renviron放到/tftproot/nodes/Private_IP/etc,用root權限依序執行指令:
- cd /etc
- for i in 192.168.9.{204..234}; do cp -r R /tftpboot/nodes/${i}/etc/; done
沒有留言:
張貼留言