<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transational//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=UTF-8">
</HEAD>
<BODY>R is not recognized as an internal command<br><br><br>
---- Message d'origine ----<br>
>De : "Peter Aberline" <Peter.Aberline@rms.com><br>
>À : "pasparis@noos.fr" <pasparis@noos.fr>;<br>
>       "edd@debian.org" <edd@debian.org><br>
>Objet : RE: RE: Re: RE: [Rcpp-devel] RInside on windows<br>
>Date : 19/02/2012 16:30:45 CET<br>
>Copie à : "rcpp-devel@r-forge.wu-wien.ac.at" <rcpp-devel@r-forge.wu-wien.ac.at><br>
><br>
>Looks like the RCPPFLAGS variable is null for some reason.<br>
> <br>
> What do you get if you type:<br>
> R CMD config --cppflags<br>
> <br>
> Into a terminal console?<br>
> <br>
> <br>
> <br>
> ________________________________________<br>
> From: pasparis@noos.fr [pasparis@noos.fr]<br>
> Sent: 19 February 2012 15:25<br>
> To: Peter Aberline; edd@debian.org<br>
> Cc: rcpp-devel@r-forge.wu-wien.ac.at<br>
> Subject: Re: RE: Re: RE: [Rcpp-devel] RInside on windows<br>
> <br>
> the exact errors series are:<br>
> CMake Error at CMakeLists.txt:14 (string):<br>
> <br>
> string sub-command SUBSTRING requires four arguments.<br>
> <br>
> CMake Error at CMakeLists.txt:19 (string):<br>
> <br>
> string sub-command LENGTH requires two arguments.<br>
> <br>
> CMake Error at CMakeLists.txt:34 (string):<br>
> <br>
> string sub-command SUBSTRING requires four arguments.<br>
> <br>
> CMake Error at CMakeLists.txt:50 (string):<br>
> <br>
> string sub-command SUBSTRING requires four arguments.<br>
> <br>
> <br>
> row 14:<br>
> <br>
> string(SUBSTRING ${RCPPFLAGS} ${NUM_TRUNC_CHARS} -1 RCPPFLAGS)<br>
> <br>
> <br>
> <br>
> <br>
> <br>
> ---- Message d'origine ----<br>
> >De : "Peter Aberline" <Peter.Aberline@rms.com><br>
> >À : "pasparis@noos.fr" <pasparis@noos.fr>;<br>
> > "edd@debian.org" <edd@debian.org><br>
> >Objet : RE: Re: RE: [Rcpp-devel] RInside on windows<br>
> >Date : 19/02/2012 15:56:06 CET<br>
> >Copie à : "rcpp-devel@r-forge.wu-wien.ac.at" <rcpp-devel@r-forge.wu-wien.ac<br>
> .at><br>
> ><br>
> >I'm using Cmake 2.8.5 on Ubuntu 11.10 and it works fine for me.<br>
> ><br>
> > Which cmakelists file are you using, and what is on line 14?<br>
> ><br>
> ><br>
> ><br>
> > ________________________________________<br>
> > From: pasparis@noos.fr [pasparis@noos.fr]<br>
> > Sent: 19 February 2012 14:54<br>
> > To: Peter Aberline; edd@debian.org<br>
> > Cc: rcpp-devel@r-forge.wu-wien.ac.at<br>
> > Subject: Re: Re: RE: [Rcpp-devel] RInside on windows<br>
> ><br>
> > I use CMake 2.8.7,<br>
> > it seems to be the latest, it it possible a conflict between the version<br>
> > supplied in the RInside folder and this version?<br>
> ><br>
> > ---- Message d'origine ----<br>
> > De : "Peter Aberline"<br>
> > À : "'pasparis@noos.fr'" ;<br>
> > "'edd@debian.org'"<br>
> > Objet : Re: RE: [Rcpp-devel] RInside on windows<br>
> > Date : 19/02/2012 15:41:27 CET<br>
> > Copie à : "'rcpp-devel@r-forge.wu-wien.ac.at'"<br>
> ><br>
> > Make sure you are using the latest version of cmake. The files use a <br>
> cmake<br>
> > string function only in recent versions of cmake.<br>
> ><br>
> > * Sent from my mobile device.<br>
> ><br>
> > From: pasparis@noos.fr [mailto:pasparis@noos.fr]<br>
> > Sent: Sunday, February 19, 2012 02:30 PM<br>
> > To: Peter Aberline; edd@debian.org <edd@debian.org><br>
> > Cc: rcpp-devel@r-forge.wu-wien.ac.at <rcpp-devel@r-forge.wu-wien.ac.at><br>
> > Subject: Re: RE: [Rcpp-devel] RInside on windows<br>
> ><br>
> > Hello Peter<br>
> > I tried to generate the file from the CMakeLists file supplied,I use the<br>
> > cmake-gui but I get the following error:<br>
> > I created a folder in which I put a main.cpp and the CMakeLists and then <br>
> run<br>
> > the generate from the cmake-gui<br>
> > and I get:<br>
> ><br>
> > CMake Error at CMakeLists.txt:14 (string):<br>
> ><br>
> > string sub-command SUBSTRING requires four arguments.<br>
> ><br>
> > Is there something else to do?(I am new on cmake)<br>
> > thanks<br>
> > pascal<br>
> ><br>
> > ---- Message d'origine ----<br>
> > De : "Peter Aberline"<br>
> > À : "pasparis@noos.fr" ;<br>
> > "Dirk Eddelbuettel"<br>
> > Objet : RE: [Rcpp-devel] RInside on windows<br>
> > Date : 14/02/2012 20:52:36 CET<br>
> > Copie à : "rcpp-devel@r-forge.wu-wien.ac.at"<br>
> ><br>
> > You can generate .cbp files using the CMakelists.txt files which now ship<br>
> > with the RInside examples.<br>
> ><br>
> > cmake –G “CodeBlocks - Unix Makefiles” <path to CMakeLists.txt><br>
> ><br>
> ><br>
> ><br>
> > From: rcpp-devel-bounces@r-forge.wu-wien.ac.at <br>
> [mailto:rcpp-devel-bounces@r-f<br>
> > orge.wu-wien.ac.at] On Behalf Of pasparis@noos.fr<br>
> > Sent: 14 February 2012 19:51<br>
> > To: Dirk Eddelbuettel<br>
> > Cc: rcpp-devel@r-forge.wu-wien.ac.at<br>
> > Subject: Re: [Rcpp-devel] RInside on windows<br>
> ><br>
> > Dirk,<br>
> ><br>
> > yes but I start to use codeblocks since sunday, and<br>
> > "it does not, by default, use makefiles it has its own .cbp files which <br>
> do<br>
> > the same thing automatically"<br>
> ><br>
> > it's very easy to use, I did it for boost with no problem, that's why I<br>
> > wanted to know the include files and the lib<br>
> > for rcpp,rinside<br>
> ><br>
> > it's possible to use a makefile with codeblock, I am going to try how to <br>
> do<br>
> > that,<br>
> > thanks<br>
> > pascal<br>
> ><br>
> ><br>
> ><br>
> ><br>
> > ---- Message d'origine ----<br>
> > >De : "Dirk Eddelbuettel" <edd@debian.org><br>
> > >À : pasparis@noos.fr<br>
> > >Objet : Re: [Rcpp-devel] RInside on windows<br>
> > >Date : 14/02/2012 19:57:21 CET<br>
> > >Copie à : rcpp-devel@r-forge.wu-wien.ac.at<br>
> > ><br>
> > ><br>
> > > Patrick,<br>
> > ><br>
> > > On 14 February 2012 at 19:27, pasparis@noos.fr wrote:<br>
> > > | this is one of my problem, I am new since this week-end on <br>
> codeblocks,<br>
> > I<br>
> > > use<br>
> > > | its builder and from what I thought you link with the static <br>
> libraries<br>
> > > | 'libRcpp.a,libRInside.a and the none availaible libR.a, and you put <br>
> the<br>
> > > three<br>
> > > | dll files in your bin directory; thats why I was looking for libR.a.<br>
> > > | even if I set libR.dll for the linker settings/link libraries, I get<br>
> > some<br>
> > > | messages:<br>
> > > |<br>
> > > | libRcpp.a undefined reference to '_Unwind_Resume'<br>
> > > |<br>
> > > | I put the include folder of Rcpp,R_ext and RInside, with additional <br>
> .h<br>
> > > files :<br>
> > > | R,Rconfig,Rcpp,Rcppcommon,Rdefines,Rembedded,Rinternals,Rmath,Rversion,<br>
> S,<br>
> > ga<br>
> > > ,graphapp,iconv,libintl,zconf,<br>
> > > | and zlib<br>
> > > |<br>
> > > | I downloaded the R version 2.14.1 and the Rcpp,Rinside packages<br>
> > > yesterday,<br>
> > > |<br>
> > > | what bother me is that I did that on linux with no problem, put the<br>
> > > include,<br>
> > > | set the linker to the three libraries and run, I need to work on<br>
> > windows,<br>
> > > and<br>
> > > | there is this problem<br>
> > > |<br>
> > > | what do you put as library for the linker? which includes files?<br>
> > ><br>
> > > Use the supplied Makefile.win unless you /really/ know what you are<br>
> > doing.<br>
> > ><br>
> > > Dirk<br>
> > ><br>
> > > --<br>
> > > "Outside of a dog, a book is a man's best friend. Inside of a dog, it <br>
> is<br>
> > > too<br>
> > > dark to read." -- Groucho Marx<br>
> > ><br>
> ><br>
> > ________________________________<br>
> > This message and any attachments contain information that may be RMS Inc.<br>
> > confidential and/or privileged. If you are not the intended recipient (or<br>
> > authorized to receive for the intended recipient), and have received this<br>
> > message in error, any use, disclosure or distribution is strictly<br>
> > prohibited. If you have received this message in error, please notify the<br>
> > sender immediately by replying to the e-mail and permanently deleting the<br>
> > message from your computer and/or storage system.<br>
> ><br>
> > ________________________________<br>
> > This message and any attachments contain information that may be RMS Inc.<br>
> > confidential and/or privileged. If you are not the intended recipient (or<br>
> > authorized to receive for the intended recipient), and have received this<br>
> > message in error, any use, disclosure or distribution is strictly<br>
> > prohibited. If you have received this message in error, please notify the<br>
> > sender immediately by replying to the e-mail and permanently deleting the<br>
> > message from your computer and/or storage system.<br>
> ><br>
> > This message and any attachments contain information that may be RMS Inc.<br>
> > confidential and/or privileged. If you are not the intended recipient (or<br>
> > authorized to receive for the intended recipient), and have received this<br>
> > message in error, any use, disclosure or distribution is strictly<br>
> > prohibited. If you have received this message in error, please notify the<br>
> > sender immediately by replying to the e-mail and permanently deleting the<br>
> > message from your computer and/or storage system.<br>
> ><br>
> ><br>
> <br>
> This message and any attachments contain information that may be RMS Inc. <br>
> confidential and/or privileged.  If you are not the intended recipient (or <br>
> authorized to receive for the intended recipient), and have received this <br>
> message in error, any use, disclosure or distribution is strictly <br>
> prohibited.   If you have received this message in error, please notify the <br>
> sender immediately by replying to the e-mail and permanently deleting the <br>
> message from your computer and/or storage system.<br>
> <br>
> </BODY></HTML>