[R] Install package "ROpenOffice"

Earl Brown ekbrown at k-state.edu
Thu Feb 14 18:29:17 CET 2013


Has anyone had trouble installing the package "ROpenOffice" from omegahat:

http://www.omegahat.org/ROpenOffice/

I downloaded the .tar.gz file to my local hard drive and tried to install it with the following code, but got an error message:

> install.packages("/Users/earlbrown/Desktop/ROpenOffice_0.4-0.tar.gz", repos = NULL, type = "source")
Installing package(s) into ‘/Users/earlbrown/Library/R/2.15/library’
(as ‘lib’ is unspecified)
* installing *source* package ‘ROpenOffice’ ...
** R
** inst
** preparing package for lazy loading
** help
*** installing help indices
** building package indices
** testing if installed package can be loaded
*** arch - i386
Error : package ‘Rcompression’ is not installed for 'arch=i386'
Error: loading failed
Execution halted
*** arch - x86_64
ERROR: loading failed for ‘i386’
* removing ‘/Users/earlbrown/Library/R/2.15/library/ROpenOffice’
Warning message:
In install.packages("/Users/earlbrown/Desktop/ROpenOffice_0.4-0.tar.gz",  :
  installation of package ‘/Users/earlbrown/Desktop/ROpenOffice_0.4-0.tar.gz’ had non-zero exit status

So, I tried to install the package "Rcompression" first, but got another error message:

> install.packages("Rcompression")
Installing package(s) into ‘/Users/earlbrown/Library/R/2.15/library’
(as ‘lib’ is unspecified)
Warning message:
package ‘Rcompression’ is not available (for R version 2.15.2)

Any ideas? 

Here's my info:

> sessionInfo()
R version 2.15.2 (2012-10-26)
Platform: x86_64-apple-darwin9.8.0/x86_64 (64-bit)

locale:
[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8

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

other attached packages:
[1] XML_3.95-0

loaded via a namespace (and not attached):
[1] tools_2.15.2

Thanks. Earl Brown

-----
Earl K. Brown, PhD
Assistant Professor of Spanish Linguistics
Advisor, TEFL MA Program
Department of Modern Languages
Kansas State University



More information about the R-help mailing list