Hi Dirk, thank for your support. I'm using: Linux 3.2.0-4-686-pae #1 SMP Debian 3.2.39-2 i686 GNU/Linux Debian 7.0 wheezy G++: 4.7.2 STL: 4.7.2 BOOST: 104900 Wt: 3.2.3 R version 2.15.1 (2012-06-22) Platform: i486-pc-linux-gnu (32-bit) RInside_0.2.10 Rcpp_0.10.3
Rcpp for Qt works perfectly, but as I said, for Wt, after running, the system throw an segmentation error. If I comment line 171 [R_.parseEvalQ(cmd);]; I not get crash after running, but not generate image. On 03/29/2013 07:41 PM, Dirk Eddelbuettel wrote: > > 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 > -- John Robson _______________________________________________ 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