R install package RevoScaleR

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-01 15:59:41

问题


In trying to install package "RevoScaleR", I get the following error. I have tried installing this package with various versions of R but get the same error every time. Does anyone have any idea why?

install.packages("RevoScaleR")

Warning in install.packages : package ‘RevoScaleR’ is not available (for R version 3.1.2)

Any help is appreciated.


回答1:


I am not sure what R version you are currently using but the latest stable version is 3.1.2. If the package installation warning is telling that the package you're trying to install is not available, that basically means that the package developer has not yet made a version of the package that is compatible with the R version you're currently running.

If you really need to use this package (if your work heavily depends on it and you are on some kind of deadline) I would advise to install an earlier version of R (like 3.1.1 or 3.1) and do your work with it.

I would also suggest that you reach out to Revolution Analytics, as suggested by Andrie.

Thanks!




回答2:


Just to update this post,to install the RevoScaleR package you need to install Microsoft R client, see here for details:

https://www.blue-granite.com/tutorials/sql-server-r-services

R Client includes the ScaleR (rx[…]) functions in the RevoScaleR package. I don't believe this package is open source so isn't available on cran, install.packages() therefore won't work.




回答3:


The RevoScaleR package is only available if you install the Microsoft R Client or if you use Microsoft RStudio Server via Azure. After you install this you don't need to do install.packages("RevoScaleR") for it is already installed.

R Studio will automatically have the R version [64-bit] C:\Program Files\Microsoft\R Client\R_SERVER under "Global options"




回答4:


The link below gives more detail information about Microsoft R client. Once you install Ms R client and update the R-studio path to the R client you don't need to install 'RevoScaleR' anymore, it comes pre-installed with Microsoft R client. Read the link fore more. https://msdn.microsoft.com/en-us/microsoft-r/r-client-get-started




回答5:


You just have to set the propper CRAN repos:

options("repos" = c(CRAN = "https://mran.microsoft.com/"))

and then

install.packages("RevoScaleR")

will run properly.



来源:https://stackoverflow.com/questions/26999627/r-install-package-revoscaler

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!