[R] R 64 and R: using 64-bit versions of packages in R (32)

David Winsemius dwinsemius at comcast.net
Sat Oct 24 05:35:04 CEST 2009


On Oct 23, 2009, at 8:13 PM, Richard R. Liu wrote:

> I'm running R 2.9.2 build 5464 on OS X 10.5.8.  Having encountered  
> memory allocation problems, I ran the problematic code in R64, the  
> 64-bit version of the same build.  When I attempt to load openNLP I  
> receive the error message that the 32-bit version that I had been  
> using does not run in R64.

Such questions are more appropriate on the Mac-SIG list.

>
> Assuming there is a 64-bit version, can I install and load it in R64  
> and, when I subsequently switch to R (32-bit), will 64-bit versions  
> of packages run there?  I'm trying to avoid constantly having to  
> manually switch between 32- and 64-bit versions of packages.

I just installed openNLP with dependencies on an R64 system using the  
64 bit GUI Installer. The number of dependincies was fairly extensive  
so it took some tme:

Warning: dependency ‘Rgraphviz’ is not available
also installing the dependencies ‘ellipse’, ‘mboost’, ‘ape’,  
‘flexmix’, ‘rmeta’, ‘kernlab’, ‘multcomp’, ‘HSAUR’, ‘gclus’,  
‘colorspace’, ‘modeltools’, ‘coin’, ‘vcd’, ‘ipred’, ‘cba’, ‘party’,  
‘slam’, ‘filehash’, ‘proxy’, ‘RWeka’, ‘Snowball’, ‘XML’, ‘rJava’,  
‘tm’, ‘openNLPmodels.en’, ‘openNLPmodels.es’

It loads without error.

 > sessionInfo()
R version 2.10.0 RC (2009-10-20 r50178)
x86_64-apple-darwin9.8.0

locale:
[1] en_US/en_US/en_US/C/en_US/en_US

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

other attached packages:
[1] openNLP_0.0-7   survival_2.35-7

loaded via a namespace (and not attached):
[1] rJava_0.7-0  slam_0.1-6   tm_0.5       tools_2.10.0

-- 


David Winsemius, MD
Heritage Laboratories
West Hartford, CT




More information about the R-help mailing list