suiji / Arborist

Scalable decision tree training and inference.
Other
82 stars 14 forks source link

Issue in loading RcppPredBlockFrame #2

Closed mani3720 closed 8 years ago

mani3720 commented 8 years ago

Dear Suiji,

I am trying to use Rborist.default.R function from the ArboristR folder in github, I am getting the follwoing error while running the code: _Error in .Call("RcppPredBlockFrame", x, numIdx, facIdx, facCard, signature) : C symbol name "RcppPredBlockFrame" not in load table. _

FYI - I have loaded these two packages Rcpp and RcppArmadillo before running the Rborist.default.R code.

Background: I was using the Rborist package in CRAN for a large dataset in MRO (Microsoft Revolution open), while the Rborist function was executing well, the predict function had a error similiar to this (http://stackoverflow.com/questions/32695522/random-forest-rborist-with-large-dataset-in-r). So from the answer in the Stackoverflow i am trying to use functions in Arborist.R to run on my data.

Please help me. Thanks in advance.

suiji commented 8 years ago

Dear (?),

Thank you for pointing out the problem. I will have a look.

Regards, Mark Seligman

On 03/01/2016 05:29 PM, mani3720 wrote:

Dear Suiji,

I am trying to use Rborist.default.R function from the ArboristR folder in github, I am getting the follwoing error while running the code: /Error in .Call("RcppPredBlockFrame", x, numIdx, facIdx, facCard, signature) : C symbol name "RcppPredBlockFrame" not in load table. /

FYI - I have loaded these two packages Rcpp and RcppArmadillo before running the Rborist.default.R code.

Background: I was using the Rborist package in CRAN for a large dataset in MRO (Microsoft Revolution open), while the Rborist function was executing well, the predict function had a error similiar to this (http://stackoverflow.com/questions/32695522/random-forest-rborist-with-large-dataset-in-r). So from the answer in the Stackoverflow i am trying to use functions in Arborist.R to run on my data.

Please help me. Thanks in advance.

— Reply to this email directly or view it on GitHub https://github.com/suiji/Arborist/issues/2.

suiji commented 8 years ago

Dear mani3720,

I am unable to reproduce the problem so far. In fact, RcppPredBlockFrame() is called whenever the training (or prediction) set is a data frame, so a failure to load should be reproducible in many of the existing test cases.

How are you installing the package?

mani3720 commented 8 years ago

Dear Suiji, I am just copying the function code from the git hub and running the code in R, i am not sure this the correct way, please suggest me if there is a better way to use the AboristR codes.

Thanks in advance.

suiji commented 8 years ago

The directory "ArboristBridgeR/Package" contains file "CRAN.sh". This is a bash-shell script which yields a compressed tar-ball. The tar-ball can be submitted to R's package-installation procedure, e.g.: R CMD INSTALL [tar-ball name]

suiji commented 8 years ago

Closing this issue, as it appears to be due to a nonstandard installation. Please feel free to re-open if there is more to be done.