Installation of r2excel package
1
0
Entering edit mode
thkapell ▴ 10
@tkapell-14647
Last seen 21 months ago
Helmholtz Center Munich, Germany

Hi,

I m trying to install r2excel from the kassambara github, but I get the following error. Can anyone help?

Installing package into ‘C:/Users/Theo/Documents/R/win-library/3.5’
(as ‘lib’ is unspecified)
* installing *source* package 'r2excel' ...
** R
** byte-compile and prepare 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 'xlsx':
 .onLoad failed in loadNamespace() for 'rJava', details:
  call: fun(libname, pkgname)
  error: JAVA_HOME cannot be determined from the Registry
Error : package 'xlsx' could not be loaded
Error: loading failed
Execution halted
*** arch - x64
ERROR: loading failed for 'i386'
* removing 'C:/Users/Theo/Documents/R/win-library/3.5/r2excel'
In R CMD INSTALL
Error in i.p(...) : 
  (converted from warning) installation of package ‘C:/Users/Theo/AppData/Local/Temp/RtmpUJbkJy/file2dcc12f112b0/r2excel_1.0.0.tar.gz’ had non-zero exit status
github packages • 2.1k views
ADD COMMENT
0
Entering edit mode
@gordon-smyth
Last seen 3 hours ago
WEHI, Melbourne, Australia

r2excel doesn't have anything to do with Bioconductor, so this isn't the right forum to ask about it. It would appear though that r2excel depends on the xlsx package and you don't have xlsx installed properly yet. xlsx in turn depends on rJava. So, if I were you, I'd go right back to

library(rJava)

and start trouble-shooting from there. Once you get that to work, you can see if

library(xlsx)

works. Only then would you have any chance of installing r2excel.

If you have problems, write to the authors of those packages, or use the github issues forum for those packages.

ADD COMMENT

Login before adding your answer.

Traffic: 772 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6