简体   繁体   中英

false R version for package installation

I use R version 3.3.0 beta on Ubuntu. This version is realized on 2016-03-30 according documentation:

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/.

Currently I want to install the package PerfomanceAnalytics , which was realized in 2014 (see documentation). Anyway, I got next error message by installation:

> 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)

It seems that my R version is not correct... But this is the last stable version for Ubuntu. Or I'm false?

PS I have similar question about RSpark installation . Probably I need also install from the directory. Can anybody tell me the right way?

The problem is probably not caused by the fact that you have an older version of R, I think you need to specify the source. The default source for downloading a package is from CRAN.

You must install the R version which is required for the package too. I have the same problem with KDE package.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM