[英]trouble installing rPython
I tried to install rPython package in Linux system but I got following errors. 我试图在Linux系统中安装rPython软件包,但出现以下错误。 I tried to search online but couldn't find a solution.
我尝试在线搜索,但找不到解决方案。 I appreciate any suggestions.
我感谢任何建议。
> Sys.setenv(PATH = "/opt/anaconda/2.3.0/bin")
> system("python --version")
Python 2.7.10 :: Anaconda 2.3.0 (64-bit)
> install.packages('rPython')
Installing package into ‘/usr/local/lib/R/site-library’
(as ‘lib’ is unspecified)
trying URL 'http://cran.fhcrc.org/src/contrib/rPython_0.0-6.tar.gz'
Content type 'application/x-gzip' length 37138 bytes (36 KB)
==================================================
downloaded 36 KB
/usr/lib/R/bin/R: line 8: uname: command not found
/usr/lib/R/bin/R: line 143: exec: sh: not found
The downloaded source packages are in
‘/tmp/Rtmp8seq13/downloaded_packages’
Warning message:
In install.packages("rPython") :
installation of package ‘rPython’ had non-zero exit status
You're doing wrong with setting up env var PATH
. 设置env var
PATH
您做错了。 It should be something equivalent with this shell command: 此shell命令应该等效:
$ export PATH=$PATH:/path/to/your/dir
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.