> I generated a new Rccp package and changed the hello_world function.
> The attached Rcpp Code stops working if I rename the method
> "rcpp_hello_world" to
> "conditionalProbabilityTables". The error I get is:
> "conditionalProbabilityTables" not available for .Call() for package 
> "PhyloFun"
>
> I swear the only thing I changed was the function name. Hence my question:
> Are there any restrictions I am unaware of?

How are you rebuilding the code? Did you use compileAttributes, or the
short cuts in RStudio or devtools?

If literally the only thing you did was change the C++ code, it won't work.

Hadley

--
Chief Scientist, RStudio
http://had.co.nz/
_______________________________________________
Rcpp-devel mailing list
Rcpp-devel@lists.r-forge.r-project.org
https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel

Reply via email to