Skip to content

[Rcpp-devel] RCPP Issue with nonunicode User characters

2 messages · John O'Shea, Dirk Eddelbuettel

#
Hello, forgive me in advance as I am not familiar with R developing or the
more technical side of R usage and programming in general. I have had a
professor of mine request I use the Rcpp package to rewrite a function in
R, but I have been running into issues with any usage of the Rcpp package.
My reddit post and a response can be found here
https://www.reddit.com/r/Rlanguage/comments/e51qn7/error_using_any_function_from_rcpp_package/


The user that replied believes that calling on any function from Rcpp
"chokes" on the temporary file path made using my Windows username, as it
contains both a space and an apostrophe and may be a bug. How do I resolve
this issue?

Thanks so much!
-John O'Shea
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/rcpp-devel/attachments/20191206/8379e914/attachment.html>
#
On 6 December 2019 at 16:13, John O'Shea wrote:
| Hello, forgive me in advance as I am not familiar with R developing or the
| more technical side of R usage and programming in general. I have had a
| professor of mine request I use the Rcpp package to rewrite a function in
| R, but I have been running into issues with any usage of the Rcpp package.
| My reddit post and a response can be found here
| https://www.reddit.com/r/Rlanguage/comments/e51qn7/error_using_any_function_from_rcpp_package/
| 
| 
| The user that replied believes that calling on any function from Rcpp
| "chokes" on the temporary file path made using my Windows username, as it
| contains both a space and an apostrophe and may be a bug. How do I resolve
| this issue?
If you want to be able to build packages from sources, we recommend that
   you choose an installation path not containing spaces.

When I worked on Windows I generally followed that advise. I may sound like a
lot of work to re-install R just to write one function.  Maybe you can work
on https://rstudio.cloud instead.

Good luck,  Dirk