[Rcpp-devel] Error when trying to your piSugar example
Dirk Eddelbuettel
edd at debian.org
Sun Jan 13 03:13:13 CET 2013
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 spaces, and other special characters, on
| Linux too, so in that sense this is not just a Windows issue.
That's mostly a red herring. On Linux it is /usr/bin/ or /usr/local/bin/ or
some variant involving /top. The path that breaks is the one where R tries
to include headers from libraries, not a (personal) user directory -- and
even those are below /home or /Users/ or ... Not /ho me/.
It is dumb what they do on Windows, and easy to avoid.
Effectively end of story for me here as __R Core__ also says not to install
in a path with spaces. Many of use got burned once, or twice, learned the
lesson and moved on. I have no real time to spend on this.
If __you__ want to make fixing this your own goal, be my guest but test it
real well before you come back here with suggested patches that may break use
for others.
Cheers, Dirk
--
Dirk Eddelbuettel | edd at debian.org | http://dirk.eddelbuettel.com
More information about the Rcpp-devel
mailing list