全部版块 我的主页
论坛 数据科学与人工智能 数据分析与数据科学 R语言论坛
14916 6
2009-05-05
我的版本是2.8.0,如何升到更高版本的R?fda需要至少2.8.1以上的版本。谢谢大家
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

全部回复
2009-5-5 23:03:00
根据R的官方说法是这样的:

That's a matter of taste. For most people the best thing to do is to uninstall R (see the previous Q), install the new version, copy any installed packages to the library folder in the new installation, run update.packages(checkBuilt=TRUE, ask=FALSE) in the new R and then delete anything left of the old installation. Different versions of R are quite deliberately installed in parallel folders so you can keep old versions around if you wish.

For those with a personal library (folder R\win-library\x.y of your home directory), you will need to update that too when the minor version of R changes (e.g. from 2.6.2 to 2.7.0). A simple way to do so is to copy (say) R\win-library\2.6 to R\win-library\2.7 before running update.packages(checkBuilt=TRUE, ask=FALSE)

翻译过来就是:
先卸载了你的原始版本,装最新版,应该是2.9,安装好了后将原来的library文件夹里面的文件拷贝到新的安装文件中的library下,然后在R中运行:update.packages(checkBuilt=TRUE, ask=FALSE)。
这样就好了。
有私人目录的话还是参考上面的过程,具体的就不说了。
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2009-5-11 13:26:00

谢谢指导

二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2015-2-2 23:54:25
果然有用,十分感谢
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2015-4-23 14:01:20
用户目录的这个真的有用,我说为何升级后原来的用户库找不到了……
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2015-4-24 21:29:16
installr package
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

点击查看更多内容…
相关推荐
栏目导航
热门文章
推荐文章

说点什么

分享

扫码加好友,拉您进群
各岗位、行业、专业交流群