[R] Compilation Error with Rcpp

Sven D sduve at hotmail.com
Sat Jul 14 17:47:19 CEST 2012


I am trying to reproduce a code example from 
http://www.babelgraph.org/wp/?p=358 babelgraph  when compiling the function
to call the C++ code I get the following error:

Error in compileCode(f, code, language = language, verbose = verbose) : 
  Compilation ERROR, function(s)/method(s) not created! 
In addition: Warning message:
running command 'C:/PROGRA~1/R/R-215~1.0/bin/i386/R CMD SHLIB
file141c7ac23195.cpp 2> file141c7ac23195.cpp.err.txt' had status 1 

Has anyone an idea what this means? Its not clear to me what the error would
be. I doubt its a source code error, but am happy to provide the source if
necessary. My sessioninfo:

R version 2.15.0 (2012-03-30)
Platform: i386-pc-mingw32/i386 (32-bit)

[1] LC_COLLATE=English_United Kingdom.1252  LC_CTYPE=English_United
[3] LC_MONETARY=English_United Kingdom.1252 LC_NUMERIC=C                           
[5] LC_TIME=English_United Kingdom.1252    

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

other attached packages:
[1] inline_0.3.8 Rcpp_0.9.10  plyr_1.7.1  

loaded via a namespace (and not attached):
[1] tools_2.15.0



View this message in context: http://r.789695.n4.nabble.com/Compilation-Error-with-Rcpp-tp4636522.html
Sent from the R help mailing list archive at Nabble.com.

More information about the R-help mailing list