On 29 March 2013 at 19:24, John Robson wrote: | The example: | http://dirk.eddelbuettel.com/blog/2011/11/30/#rinside_and_wt | | >From the code: | https://github.com/JohnRobson/Wt-Tests/blob/master/RInside/wtdensity.cpp | | After running, the site appears OK: http://imagebin.org/252132 | | But immediately a segmentation error is throw: | http://paste.ubuntu.com/5659723/ | | Line 171 Cause this error. | | 171 R_.parseEvalQ(cmd); // evaluate command -- generates new density plot | | What I need to do to fix this error?
For starters, please learn to write meaningful bug reports. Yours is concise (a plus) but I don't have time to chase around different websites. On my _stock Ubuntu 12.10_ I just rebuilt RInside (both 0.2.10 and the SVN version 0.2.10.1 I have here), and run make inside examples/wt -- and it works just fine in both cases. Try http://dirk.eddelbuettel.com:8088 to play with it. You need to tell us (at a minimum) what OS and release, what Rcpp version, what RInside version, possibly what Wt version etc pp. I reckon that the code is fine, but that something is amiss from your build. Dirk -- Dirk Eddelbuettel | e...@debian.org | http://dirk.eddelbuettel.com _______________________________________________ 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