Message-ID: <20793.55255.287191.67533@max.nulle.part>
Date: 2013-03-08T12:21:43Z
From: Dirk Eddelbuettel
Subject: [Rcpp-devel] Compilation ERROR
In-Reply-To: <CAHf4VKwS13AMKYz_2-C0LA+p+iY6c0qhHNHqgZ+33=wvSY=M3w@mail.gmail.com>
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