[Rcpp-devel] Compilation ERROR
It fixed the warning. Thanks! After hours of trying, I could install rstan package and start doing analyses finally;) Best, Sedat
On Fri, Mar 8, 2013 at 7:21 AM, Dirk Eddelbuettel <edd at debian.org> wrote:
On 8 March 2013 at 02:18, Sedat Sen wrote: | Sorry it was not en error but warning! I could get the same results as in that | website. | | > # do something with Rcpp to quickly check that it works | > body <- ' | + NumericVector xx(x); | + return wrap( std::accumulate( xx.begin(), xx.end(), 0.0));' | > | > add <- cxxfunction(signature(x = "numeric"), body, plugin = "Rcpp") | cygwin warning: | MS-DOS style path detected: C:/R/etc/x64/Makeconf | Preferred POSIX equivalent is: /cygdrive/c/R/etc/x64/Makeconf | CYGWIN environment variable option "nodosfilewarning" turns off this warning. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | Consult the user's guide for more details about POSIX paths: | http://cygwin.com/cygwin-ug-net/using.html#using-pathnames | > | > x <- 1 | > y <- 2 | > res <- add(c(x, y)) | > res | [1] 3 | | | Do you think this warning is a problem and should be fixed/can be fixed? Yes. Read the text I underlined and set the environment variable it asks for. Dirk -- Dirk Eddelbuettel | edd at debian.org | http://dirk.eddelbuettel.com
*SS * -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.r-forge.r-project.org/pipermail/rcpp-devel/attachments/20130308/3e2677dd/attachment.html>