安装R包时出错" SqlRender"

时间:2015-06-15 09:35:58

标签: r

我是R-Programming的新手,我正在尝试运行" install_github(" ohdsi / SqlRender")"在Windows 7上,64位,带有jdk 7(64位)和R版本3.1.2和R-GUI(64位)。

我收到以下错误:

> library("devtools")
Warning message: 
package ‘devtools’ was built under R version 3.1.3 
> install_github("ohdsi/SqlRender")
Downloading github repo ohdsi/SqlRender@master
Installing SqlRender
"C:/PROGRA~1/R/R-31~1.2/bin/x64/R" --no-site-file --no-environ --no-save --    no-restore CMD INSTALL  \
"C:/Users/PPingali/AppData/Local/Temp/RtmpMtqVJl/devtools1318104472eb/OHDSI- SqlRender-cc551a2"  \
  --library="C:/Users/PPingali/Documents/R/win-library/3.1" --install-tests 

* installing *source* package 'SqlRender' ...
** R
** inst
** tests
** preparing package for lazy loading
** help
*** installing help indices
** building package indices
** installing vignettes
** testing if installed package can be loaded
*** arch - i386
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/PPingali/Documents/R/win- library/3.1/rJava/libs/i386/rJava.dll':
  LoadLibrary failure:  %1 is not a valid Win32 application.

Error: loading failed
Execution halted
*** arch - x64
ERROR: loading failed for 'i386'
* removing 'C:/Users/PPingali/Documents/R/win-library/3.1/SqlRender'
Error: Command failed (1)

请帮我解决这个问题...... 在此先感谢.....

............................................... .....................

rJava包安装得很完美...... 当我跑      库(rJava) 没有给我错误.....

0 个答案:

没有答案