楼主: chou
14615 6

求助如何升级R? [推广有奖]

  • 0关注
  • 1粉丝

硕士生

3%

还不是VIP/贵宾

-

威望
0
论坛币
337 个
通用积分
1.1825
学术水平
6 点
热心指数
1 点
信用等级
1 点
经验
1256 点
帖子
117
精华
0
在线时间
32 小时
注册时间
2007-6-5
最后登录
2019-3-24

楼主
chou 在职认证  发表于 2009-5-5 16:13:00 |只看作者 |坛友微信交流群|倒序 |AI写论文

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

求职就业群
赵安豆老师微信:zhaoandou666

经管之家联合CDA

送您一个全额奖学金名额~ !

感谢您参与论坛问题回答

经管之家送您两个论坛币!

+2 论坛币
我的版本是2.8.0,如何升到更高版本的R?fda需要至少2.8.1以上的版本。谢谢大家
二维码

扫码加我 拉你入群

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

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

关键词:FDA 如何

沙发
itux 发表于 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)。
这样就好了。
有私人目录的话还是参考上面的过程,具体的就不说了。

使用道具

藤椅
chou 在职认证  发表于 2009-5-11 13:26:00 |只看作者 |坛友微信交流群

谢谢指导

使用道具

板凳
黄剑焜 发表于 2015-2-2 23:54:25 |只看作者 |坛友微信交流群
果然有用,十分感谢

使用道具

报纸
niheaven 发表于 2015-4-23 14:01:20 |只看作者 |坛友微信交流群
用户目录的这个真的有用,我说为何升级后原来的用户库找不到了……

使用道具

地板
coolsun 发表于 2015-4-24 21:29:16 |只看作者 |坛友微信交流群
installr package

使用道具

7
moretc 学生认证  发表于 2015-7-5 21:58:47 |只看作者 |坛友微信交流群
能发我吗,1225445386@qq.com
百度云是moretc

使用道具

您需要登录后才可以回帖 登录 | 我要注册

本版微信群
加好友,备注cda
拉您进交流群

京ICP备16021002-2号 京B2-20170662号 京公网安备 11010802022788号 论坛法律顾问:王进律师 知识产权保护声明   免责及隐私声明

GMT+8, 2024-4-28 21:22