全部版块 我的主页
论坛 数据科学与人工智能 数据分析与数据科学 R语言论坛
20045 14
2017-06-01
为什么windows无法里的R不能用rjava,求大神帮助

载入需要的程辑包:rJava
Error: package or namespace load failed for ‘rJava’:
loadNamespace()里算'rJava'时.onLoad失败了,详细内容:
  调用: fun(libname, pkgname)
  错误: JAVA_HOME cannot be determined from the Registry
Error: 无法载入程辑包‘rJava’

二维码

扫码加我 拉你入群

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

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

全部回复
2017-6-1 23:11:20
你电脑有安装java吗
二维码

扫码加我 拉你入群

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

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

2017-6-1 23:18:01
gongjiangchao 发表于 2017-6-1 23:11
你电脑有安装java吗
安装了呀!
二维码

扫码加我 拉你入群

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

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

2017-6-2 07:54:25
If you open the C:\Program Files\Java, and there is jre7 folder then please run ONE of below code (depend on you system)

Sys.setenv(JAVA_HOME='C:\\Program Files\\Java\\jre7') # for 64-bit version
Sys.setenv(JAVA_HOME='C:\\Program Files (x86)\\Java\\jre7') # for 32-bit version

If there is jre8 folder in the path, then you only need to change "7" to "8" and run. You will resolve it.
二维码

扫码加我 拉你入群

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

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

2017-6-2 10:31:54
suzhzh 发表于 2017-6-2 07:54
If you open the C:\Program Files\Java, and there is jre7 folder then please run ONE of below code (d ...
不懂!能否解释一下
二维码

扫码加我 拉你入群

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

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

2017-6-20 23:20:12
一模一样的问题,看完这个贴终于解决了,感谢
二维码

扫码加我 拉你入群

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

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

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

说点什么

分享

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