[Rcpp-devel] Compilation ERROR
sedatsen06 at gmail.com
Fri Mar 8 17:42:07 CET 2013
It fixed the warning. Thanks! After hours of trying, I could install rstan
package and start doing analyses finally;)
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
> | 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
> |  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
> Dirk Eddelbuettel | edd at debian.org | http://dirk.eddelbuettel.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Rcpp-devel