[Rcpp-devel] Enough (Was: RInside on windows)

2012-02-19 Thread Dirk Eddelbuettel
Pascal, May I suggest that this discussion be moved off-list? Your questions have nothing to do with Rcpp or RInside. They solely related to using Rtools etc on Windows, and that is covered elsewhere. Please do come back when you have it figured out. There are plenty of manuals that cover "how

Re: [Rcpp-devel] RInside on windows

2012-02-19 Thread pasparis
what do you mean by :"You should get a file path back, and be returned to your DOS prompt." Message d'origine >De : "Peter Aberline" >À : "[email protected]" ; > "[email protected]" >Objet : RE: RE: Re: [Rcpp-devel] RInside on windows >Date : 19/02/2012 18:38:22 CET >Copie à

Re: [Rcpp-devel] RInside on windows

2012-02-19 Thread Peter Aberline
For some reason this command is not working. I don't know why but until you get it to work, the build won't work. You should get a file path back, and be returned to your DOS prompt. Cmake, and for that matter, than standard makefile based make, makes use of the output of this command in the bui

Re: [Rcpp-devel] RInside on windows

2012-02-19 Thread pasparis
the command "r cmd config --cppflags"gives the following messagecmd __ignored__config __ignored__warning unknown option --cppflagsand then R version 2.14.1 several rowsandq() for quit> Message d'origine >De : "Peter Aberline" >À : "[email protected]" ; > "[email protected]

Re: [Rcpp-devel] RInside on windows

2012-02-19 Thread Peter Aberline
What output does it give you? It should give you a single line output and return you to the DOS command prompt. From: [email protected] [[email protected]] Sent: 19 February 2012 17:12 To: Peter Aberline; [email protected] Cc: [email protected]

Re: [Rcpp-devel] RInside on windows

2012-02-19 Thread pasparis
 now it's only two errors (before 4) and the r cmd config --cppflags works I enter into R with it Message d'origine >De : "Peter Aberline" >À : "[email protected]" ; > "Patrick Burns" >Objet : Re: [Rcpp-devel] RInside on windows >Date : 19/02/2012 18:01:48 CET >Copie à : "rcpp-de

Re: [Rcpp-devel] RInside on windows

2012-02-19 Thread Peter Aberline
This is still the same error you were getting before. This indicates that the R CMD config --cppflags command is still not working. Have you got that to work yet? From: [email protected] [[email protected]] Sent: 19 February 2012 16:33 To: Patrick Burns; Pe

Re: [Rcpp-devel] RInside on windows

2012-02-19 Thread pasparis
Hello Patrick,having set the path removed 2 errors, there was no R_HOME variable I put one but there is still the two errors from CMake (2.8.7);I reboot the machine;clean the project folder from what was generated before;user variableR_HOME : c:\Program Files\R\R-2.14.1system variablePath : C:\Pr

Re: [Rcpp-devel] RInside on windows

2012-02-19 Thread Patrick Burns
I suspect that R_HOME is not set. On 19/02/2012 15:41, Peter Aberline wrote: Well that's you're problem then. Until you can get that to work, the build will not work. Do you have R, Rcpp and RInside installed? From: [email protected] [[email protected]]

Re: [Rcpp-devel] RInside on windows

2012-02-19 Thread Peter Aberline
Well that's you're problem then. Until you can get that to work, the build will not work. Do you have R, Rcpp and RInside installed? From: [email protected] [[email protected]] Sent: 19 February 2012 15:38 To: Peter Aberline; [email protected] Cc: rcpp-de...@

Re: [Rcpp-devel] RInside on windows

2012-02-19 Thread pasparis
R is not recognized as an internal command Message d'origine >De : "Peter Aberline" >À : "[email protected]" ; > "[email protected]" >Objet : RE: RE: Re: RE: [Rcpp-devel] RInside on windows >Date : 19/02/2012 16:30:45 CET >Copie à : "[email protected]" > >Looks like

Re: [Rcpp-devel] RInside on windows

2012-02-19 Thread Peter Aberline
Looks like the RCPPFLAGS variable is null for some reason. What do you get if you type: R CMD config --cppflags Into a terminal console? From: [email protected] [[email protected]] Sent: 19 February 2012 15:25 To: Peter Aberline; [email protected] Cc: rcpp-

Re: [Rcpp-devel] RInside on windows

2012-02-19 Thread pasparis
the exact errors series are:CMake Error at CMakeLists.txt:14 (string): string sub-command SUBSTRING requires four arguments. CMake Error at CMakeLists.txt:19 (string): string sub-command LENGTH requires two arguments. CMake Error at CMakeLists.txt:34 (string): string sub-command SUBSTRI

Re: [Rcpp-devel] RInside on windows

2012-02-19 Thread Peter Aberline
I'm using Cmake 2.8.5 on Ubuntu 11.10 and it works fine for me. Which cmakelists file are you using, and what is on line 14? From: [email protected] [[email protected]] Sent: 19 February 2012 14:54 To: Peter Aberline; [email protected] Cc: rcpp-de...@r-forge

Re: [Rcpp-devel] RInside on windows

2012-02-19 Thread pasparis
I use CMake 2.8.7, it seems to be the latest, it it possible a conflict between the version supplied in the RInside folder and this version?  Message d'origine De : "Peter Aberline" À : "'[email protected]'" ;    "'[email protected]'" Objet : Re: RE: [Rcpp-devel] RInside on windows Date

Re: [Rcpp-devel] RInside on windows

2012-02-19 Thread Peter Aberline
Make sure you are using the latest version of cmake. The files use a cmake string function only in recent versions of cmake. * Sent from my mobile device. From: [email protected] [mailto:[email protected]] Sent: Sunday, February 19, 2012 02:30 PM To: Peter Aberline; [email protected] Cc: rcpp-de...

Re: [Rcpp-devel] RInside on windows

2012-02-19 Thread pasparis
Hello PeterI tried to generate the file from the CMakeLists file supplied,I use the cmake-gui but I get the following error:I created a folder in which I put a main.cpp and the CMakeLists and then run the generate from the cmake-guiand I get:CMake Error at CMakeLists.txt:14 (string): string sub