aloysius-lim / bigrf

Random forests for R for large data sets, optimized with parallel tree-growing and disk-based memory
91 stars 26 forks source link

Problem loading bigrf #7

Closed bbalin12 closed 10 years ago

bbalin12 commented 10 years ago

there's a similar question out there in SO (http://stackoverflow.com/questions/19791405/how-do-i-install-an-older-r-package), but in my instance, bigRF installs, but then I get an error when I try to load it. What's interesting is that the SO post indicates that bigRF only works in previous versions of R, while the error is saying that I need a future version of r (3.1) than the current version (3.0.2).

library(bigrf) Loading required package: bigmemory Loading required package: bigmemory.sri Loading required package: BH bigmemory >= 4.0 is a major revision since 3.1.2; please see packages biganalytics and and bigtabulate and http://www.bigmemory.org for more information. Error in dyn.load(file, DLLpath = DLLpath, ...) : unable to load shared object '/Library/Frameworks/R.framework/Versions/3.0/Resources/library/bigrf/libs/bigrf.so': dlopen(/Library/Frameworks/R.framework/Versions/3.0/Resources/library/bigrf/libs/bigrf.so, 6): Library not loaded: /Library/Frameworks/R.framework/Versions/3.1/Resources/lib/libR.dylib Referenced from: /Library/Frameworks/R.framework/Versions/3.0/Resources/library/bigrf/libs/bigrf.so Reason: Incompatible library version: bigrf.so requires version 3.1.0 or later, but libR.dylib provides version 3.0.0 In addition: Warning message: package ‘bigrf’ was built under R version 3.1.0 Error: package or namespace load failed for ‘bigrf’

aloysius-lim commented 10 years ago

Did you install bigrf from the CRAN package or from the git sources?

bbalin12 commented 10 years ago

The CRAN package. Looks like installing from source works just fine -- so I've done just that.

aloysius-lim commented 10 years ago

Thanks for the feedback. The CRAN version is out of date, but I have had trouble submitting the newest version. Until I can work it out with the CRAN maintainers, installing from source is the way to go.

ajnisbet commented 8 years ago

Now that bigrf is no longer on CRAN and doesn't support windows, it might be helpful to add an installation section to the readme. Would be happy to make a pull request.

aloysius-lim commented 8 years ago

It'll be great if you can create a pull request for this!

Aloysius

On 10 April 2016 at 15:06:54 SGT, Andrew Nisbet notifications@github.com wrote:Now that bigrf is no longer on CRAN and doesn't support windows, it might be helpful to add an installation section to the readme. Would be happy to make a pull request. —You are receiving this because you modified the open/close state.Reply to this email directly or view it on GitHub