[Rcpp-devel] Problem installing even default Rcpp skeleton package

Steve Lianoglou mailinglist.honeypot at gmail.com
Thu May 10 01:40:30 CEST 2012


On Wed, May 9, 2012 at 7:31 PM, Nick Matzke <matzke at berkeley.edu> wrote:
> So, next issue.  My default "RcppSkeleton" package now installs fine and
> library(RcppSkeleton) works fine.
> However, when I run the one function in the package, rcpp_hello_world(), I
> get this problem:
>> rcpp_hello_world()
> Error in .Call("rcpp_hello_world", PACKAGE = "hello_world_Rcpp") :
>  C symbol name "rcpp_hello_world" not in DLL for package "hello_world_Rcpp"

Your package is called "RcppSkeleton", isn't it? If so, that should be
reflected in your PACKAGE argument in .Call, eg:

.Call("rcpp_hello_world", PACKAGE="RcppSkeleton")



Steve Lianoglou
Graduate Student: Computational Systems Biology
 | Memorial Sloan-Kettering Cancer Center
 | Weill Medical College of Cornell University
Contact Info: http://cbio.mskcc.org/~lianos/contact

More information about the Rcpp-devel mailing list