Re: [Rcpp-devel] Error when trying to your piSugar example

2013-01-14 Thread Dirk Eddelbuettel
On 14 January 2013 at 13:41, Charles Cara wrote: | Now that I have changed the directory to one without spaces in the path, it | works. Thank you Great! Thanks for trying again, and following up here. And we may even have a new approach which may avoid the issue, thanks to a fresh look at the

Re: [Rcpp-devel] Error when trying to your piSugar example

2013-01-14 Thread Charles Cara
-forge.r-project.org Subject: Re: [Rcpp-devel] Error when trying to your piSugar example Thank you. I will have a go at changing the directory when I upgrade to R-2.15.2 . Charles From: JJ Allaire [mailto:[email protected]] Sent: 11 January 2013 11:33 To: Charles Cara Cc: rcpp

Re: [Rcpp-devel] Error when trying to your piSugar example

2013-01-12 Thread Dirk Eddelbuettel
On 13 January 2013 at 10:42, Darren Cook wrote: | Do you remember why it failed? It does look as simple as putting double | quotes around each item in the g++ command. (Looking at Charles Cara's | example, the "R CMD SHLIB" command has them in there correctly.) | | You can create a directory with

Re: [Rcpp-devel] Error when trying to your piSugar example

2013-01-12 Thread Darren Cook
> [ Little rant: I find it fexing how the R-on-Windows FAQ said for years "do > not install in a path with spaces"... > We tried to tackly this issue once by making the path quote-safe but > failed. Hello Dirk, Do you remember why it failed? It does look as simple as putting double quotes around e

Re: [Rcpp-devel] Error when trying to your piSugar example

2013-01-11 Thread Dirk Eddelbuettel
On 11 January 2013 at 12:10, Charles Cara wrote: | Thank you. I will have a go at changing the directory when I upgrade to | R-2.15.2 . Sounds good. You should be all set after that (and you may have to update Rtools). [ Little rant: I find it fexing how the R-on-Windows FAQ said for years "

Re: [Rcpp-devel] Error when trying to your piSugar example

2013-01-11 Thread Charles Cara
Thank you. I will have a go at changing the directory when I upgrade to R-2.15.2 . Charles From: JJ Allaire [mailto:[email protected]] Sent: 11 January 2013 11:33 To: Charles Cara Cc: [email protected] Subject: Re: [Rcpp-devel] Error when trying to your piSugar

Re: [Rcpp-devel] Error when trying to your piSugar example

2013-01-11 Thread JJ Allaire
Hi Charles, I believe the problem is that the Rcpp package is installed in a directory with spaces in the path (C:/Program Files/R/R-2.15.1/library/) and that this is causing the problem. If you install into a library without spaces in the path everything should work correctly (see: http://stackov

[Rcpp-devel] Error when trying to your piSugar example

2013-01-11 Thread Charles Cara
I have been trying to experiment with Rcpp as it looks like it could be an excellent tool. However, I am unable to get your Finding Pi example ( http://dirk.eddelbuettel.com/blog/2012/11/20/#rcpp_attributes_pi_example ) to work. I have the C++ file and the R script, but sourceCpp fails. When I