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
-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
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
> [ 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
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 "
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
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
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