tomwenseleers / export

R package for streamlined export of graphs and data tables.
192 stars 35 forks source link

Trouble intalling the export package #9

Closed noatrs closed 5 years ago

noatrs commented 6 years ago

Hi, I've been using the export package in the past, and found it to be very useful. I'm now trying to download it to a new computer, with no success. No matter how I try, I keep getting errors, and the process fails. I would very much appreciate any help on this matter.

Noa

ZedLeb commented 6 years ago

Hi there I've just managed to install the package using devtools::install_github('tomwenseleers/export',local=F)

I noticed that the install filename is different from the one mentioned in the SO answer ('export2office')

https://stackoverflow.com/questions/31212659/r-function-to-export-currently-active-r-plot-to-powerpoint-word-libreoffice

Does that help.

Great wee package by the way - I'm having fun here :)

noatrs commented 6 years ago

Hi,

Thank you very much for your answer. I tried this, but it still fails (see error below). I wonder how come it did work for you though...

All the best,

Noa

devtools::install_github('tomwenseleers/export',local=F, force=TRUE) Downloading GitHub repo tomwenseleers/export@master from URL https://api.github.com/repos/tomwenseleers/export/zipball/master Installing export "C:/PROGRA~1/R/R-34~1.2/bin/x64/R" --no-site-file --no-environ --no-save --no-restore --quiet CMD build \

"C:\Users\user\AppData\Local\Temp\Rtmpg1oGWf\devtools15344497622b\tomwenseleers-export-e1aaccb" --no-resave-data \ --no-manual --no-build-vignettes

"C:/PROGRA~1/R/R-34~1.2/bin/x64/R" --no-site-file --no-environ --no-save --no-restore --quiet CMD INSTALL \ "C:/Users/user/AppData/Local/Temp/Rtmpg1oGWf/export_0.2.1.tar.gz" \ --library="C:/Users/user/Documents/R/win-library/3.4" --install-tests

On Tue, Jan 9, 2018 at 12:54 PM, ZedLeb notifications@github.com wrote:

Hi there I've just managed to install the package using devtools::install_github('tomwenseleers/export',local=F)

I noticed that the install filename is different from the one mentioned in the SO answer ('export2office')

https://stackoverflow.com/questions/31212659/r-function- to-export-currently-active-r-plot-to-powerpoint-word-libreoffice http://url

Does that help.

Great wee package by the way - I'm having fun here :)

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/tomwenseleers/export/issues/9#issuecomment-356263591, or mute the thread https://github.com/notifications/unsubscribe-auth/ARIiHKx52_9rh4tMa6SgS-K6L_zdsXZEks5tI1NvgaJpZM4RVp8u .

-- Noa Truskanov,

Postdoctoral Researcher Institute of Biology, University of Neuchâtel Switzerland

tomwenseleers commented 6 years ago

Ha but this is just a problem with your JAVA installation - you need to download and install JAVA 64 bits first from http://www.oracle.com/technetwork/java/javase/downloads/jre9-downloads-3848532.html If you cannot install the package rJava then installing export will also not work...

noatrs commented 6 years ago

Thank you very much, I thought that Java was properly installed, but there seem to have been a problem with it It now works fine.

Noa

On Wed, Jan 10, 2018 at 4:28 PM, Tom Wenseleers notifications@github.com wrote:

Ha but this is just a problem with your JAVA installation - you need to download and install JAVA 64 bits first from http://www.oracle.com/ technetwork/java/javase/downloads/jre9-downloads-3848532.html If you cannot install the package rJava then installing export will also not work...

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/tomwenseleers/export/issues/9#issuecomment-356636277, or mute the thread https://github.com/notifications/unsubscribe-auth/ARIiHDItIhewgwGe7d09HZHP4IDdcXy7ks5tJNcRgaJpZM4RVp8u .

SamAGolden commented 6 years ago

Hi Tom,

I am having a similar problem as above. I have installed JAVA 64 and all dependencies, but am still getting the following error on installation. Sessioninfo() also shown at bottom. Please let me know if you have any idea what I may be doing wrong.

Thanks, Sam

devtools::install_github("tomwenseleers/export") Downloading GitHub repo tomwenseleers/export@master from URL https://api.github.com/repos/tomwenseleers/export/zipball/master Installing export "C:/R/R-35~1.0/bin/x64/R" --no-site-file --no-environ --no-save --no-restore --quiet CMD INSTALL \ "C:/Users/SAM/AppData/Local/Temp/RtmpAbxOA1/devtools3a3467f36a00/tomwenseleers-export-e1aaccb" --library="C:/R/R-3.5.0/library" \ --install-tests

Rd warning: C:/Users/SAM/AppData/Local/Temp/RtmpAbxOA1/devtools3a3467f36a00/tomwenseleers-export-e1aaccb/man/rgl2bitmap.Rd:32: missing link 'rgl2vector' Rd warning: C:/Users/SAM/AppData/Local/Temp/RtmpAbxOA1/devtools3a3467f36a00/tomwenseleers-export-e1aaccb/man/rgl2bitmap.Rd:32: missing link 'rgl2svg' Rd warning: C:/Users/SAM/AppData/Local/Temp/RtmpAbxOA1/devtools3a3467f36a00/tomwenseleers-export-e1aaccb/man/rgl2bitmap.Rd:32: missing link 'rgl2pdf' Rd warning: C:/Users/SAM/AppData/Local/Temp/RtmpAbxOA1/devtools3a3467f36a00/tomwenseleers-export-e1aaccb/man/rgl2bitmap.Rd:33: missing link 'rgl2eps' Rd warning: C:/Users/SAM/AppData/Local/Temp/RtmpAbxOA1/devtools3a3467f36a00/tomwenseleers-export-e1aaccb/man/rgl2bitmap.Rd:33: missing link 'rgl2tex' table2ppt html
table2tex html
building package indices testing if installed package can be loaded arch - i386 Error: package or namespace load failed for 'export': .onLoad failed in loadNamespace() for 'rJava', details: call: fun(libname, pkgname) error: JAVA_HOME cannot be determined from the Registry Error: loading failed Execution halted arch - x64 Warning: replacing previous import 'ReporteRs::renderFlexTable' by 'rtable::renderFlexTable' when loading 'export' ERROR: loading failed for 'i386'

sessioninfo():

sessionInfo() R version 3.5.0 (2018-04-23) Platform: x86_64-w64-mingw32/x64 (64-bit) Running under: Windows >= 8 x64 (build 9200)

Matrix products: default

locale: [1] LC_COLLATE=English_United States.1252 LC_CTYPE=English_United States.1252 LC_MONETARY=English_United States.1252 [4] LC_NUMERIC=C LC_TIME=English_United States.1252

attached base packages: [1] stats graphics grDevices utils datasets methods base

other attached packages: [1] devtools_1.13.5

loaded via a namespace (and not attached): [1] httr_1.3.1 compiler_3.5.0 R6_2.2.2 tools_3.5.0 withr_2.1.2 curl_3.2 yaml_2.1.19 memoise_1.1.0 git2r_0.21.0
[10] digest_0.6.15

tomwenseleers commented 5 years ago

Could you test if https://www.dropbox.com/s/6ikfcq2xobcuezu/export_0.2.2.zip?dl=1 installs any better for you? (source code here: https://www.dropbox.com/s/9re7kjtnjj6tjqd/export_0.2.2.tar.gz?dl=1). It's now using the officer package, so is no longer reliant on JAVA...