r2excel icon indicating copy to clipboard operation
r2excel copied to clipboard

Java Issue

Open danrawly opened this issue 6 years ago • 1 comments

I have been trying to install this package to R and have been getting the following error: `devtools::install_github("kassambara/r2excel") Downloading GitHub repo kassambara/r2excel@master from URL https://api.github.com/repos/kassambara/r2excel/zipball/master Installing r2excel "C:/PROGRA~1/R/R-34~1.4/bin/x64/R" --no-site-file --no-environ --no-save --no-restore --quiet CMD INSTALL
"C:/Users/rawlingsD/AppData/Local/Temp/Rtmpikoahr/devtools34bc39bb1506/kassambara-r2excel-4144fc5"
--library="C:/Users/rawlingsD/Documents/R/win-library/3.4" --install-tests

  • installing source package 'r2excel' ... ** R ** preparing package for lazy loading ** help *** installing help indices converting help for package 'r2excel' finding HTML links ... done getOS html
    r2excel-package html
    xlsx.addHeader html
    xlsx.addHyperlink html
    xlsx.addLineBreak html
    xlsx.addParagraph html
    xlsx.addPlot html
    xlsx.addTable html
    xlsx.openFile html
    xlsx.readFile html
    xlsx.writeFile html
    xlsx.writeMultipleData html
    ** building package indices ** testing if installed package can be loaded *** arch - i386 Error: package or namespace load failed for 'rJava': .onLoad failed in loadNamespace() for 'rJava', details: call: inDL(x, as.logical(local), as.logical(now), ...) error: unable to load shared object 'C:/Users/rawlingsD/Documents/R/win-library/3.4/rJava/libs/i386/rJava.dll': LoadLibrary failure: %1 is not a valid Win32 application.

Error : package 'rJava' could not be loaded Error: loading failed Execution halted *** arch - x64 ERROR: loading failed for 'i386'

  • removing 'C:/Users/rawlingsD/Documents/R/win-library/3.4/r2excel' In R CMD INSTALL Installation failed: Command failed (1)`

However, I have rJava being used for package xlsx, so I am unsure what the real issue is, just wanted to flag it to see if you know the way to get around this error?

Thanks in advance

danrawly avatar Mar 27 '18 11:03 danrawly

Yo también tuve este problema. Al parecer es porque la libreria solo funciona para 32 bits y no para 64. Saludos,

jhoreina avatar Mar 13 '19 16:03 jhoreina