相关疑难解决方法(0)

使用Win7 64位上的rJava包和R

我正在尝试rJava在Win 7 64位的计算机上安装.我跑的时候

install.packages("rJava")
Run Code Online (Sandbox Code Playgroud)

一切似乎都很好:

Installing package(s) into ‘C:/Users/djq/Documents/R/win-library/2.13’
(as ‘lib’ is unspecified)
trying URL 'http://software.rc.fas.harvard.edu/mirrors/R/bin/windows/contrib/2.13/rJava_0.9-1.zip'
Content type 'application/zip' length 654936 bytes (639 Kb)
opened URL
downloaded 639 Kb

package 'rJava' successfully unpacked and MD5 sums checked

The downloaded packages are in
    C:\TEMP\RtmpW2eAUw\downloaded_packages
Run Code Online (Sandbox Code Playgroud)

但是当我尝试加载库时,library(rJava)我收到以下错误:

Error : .onLoad failed in loadNamespace() for 'rJava', details:
  call: inDL(x, as.logical(local), as.logical(now), ...)
  error: unable to load shared object 'C:/Users/me/Documents/R/win-library/2.13/rJava/libs/x64/rJava.dll':
  LoadLibrary failure:  %1 is not a valid Win32 application.

Error: package/namespace …
Run Code Online (Sandbox Code Playgroud)

r rjava

146
推荐指数
5
解决办法
16万
查看次数

如何在64位Windows计算机上安装rJava以与64位R一起使用?

我安装了iplots和rjava包.当我这个库(iplots),我得到以下错误.我的电脑上安装了JDK.

Loading required package: rJava
Error : .onLoad failed in loadNamespace() for 'rJava', details:
call: fun(libname, pkgname)
error: JAVA_HOME cannot be determined from the Registry
Run Code Online (Sandbox Code Playgroud)

错误:无法加载包'rJava'

r iplots

21
推荐指数
1
解决办法
3万
查看次数

不使用xlsx软件包将csv转换为excel

我想将csv文件转换为excel。

从Internet上的搜索中,我发现最好的建议是使用库(xlsx)并使用write.xlsx(..)将数据框写入excel文件。

但是,当我尝试加载并使用xlsx库并使用它时,会收到以下消息:

Loading required package: rJava
Error : .onLoad failed in loadNamespace() for 'rJava', details:
  call: inDL(x, as.logical(local), as.logical(now), ...)
  error: unable to load shared object 'C:/Users/Ban/Documents/R/win-library/3.1/rJava/libs/x64/rJava.dll':
  LoadLibrary failure:  Could not find the specified mode. unit.
Run Code Online (Sandbox Code Playgroud)

还有其他方法可以将csv转换为excel,还是有人遇到过以前的问题?

r

5
推荐指数
2
解决办法
3590
查看次数

标签 统计

r ×3

iplots ×1

rjava ×1