我在Ubuntu上使用R版3.3.0 beta
。此版本于2016-03-30根据文档实现:
user@user:~$ R --version
R version 3.3.0 beta (2016-03-30 r70404) -- "Supposedly Educational"
Copyright (C) 2016 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)
R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under the terms of the
GNU General Public License versions 2 or 3.
For more information about these matters see
http://www.gnu.org/licenses/.
目前我想安装在2014年实现的软件包PerfomanceAnalytics(参见文档)。无论如何,我通过安装得到了下一条错误消息:
> install.packages("PerfomanceAnalytics")
Installing package into ‘/home/user/R/x86_64-pc-linux-gnu-library/3.3’
(as ‘lib’ is unspecified)
Warning in install.packages :
package ‘PerfomanceAnalytics’ is not available (for R version 3.3.0 beta)
似乎我的R版本不正确......但这是Ubuntu的最后一个稳定版本。或者我是假的?
PS我对RSpark installation有类似的疑问。可能我还需要从目录安装。谁能告诉我正确的方法?
答案 0 :(得分:1)
问题可能不是因为你有一个旧版本的R,我认为你需要指定源。下载程序包的默认来源是CRAN。
答案 1 :(得分:1)
您也必须安装该软件包所需的R版本。我和KDE包有同样的问题。