Re: [Rcpp-devel] Compiling issue about Rcpp

2014-04-18 Thread Dirk Eddelbuettel
On 18 April 2014 at 16:16, Ian Fellows wrote: | I may have been the reason that the issue arose as my blog post on Rcpp + RInside + Eclipse listed both /include and /include/Rcpp as header directories. I can’t remember if this was needed at some point in history or if I just thought I’d be thor

Re: [Rcpp-devel] Compiling issue about Rcpp

2014-04-18 Thread Ian Fellows
I may have been the reason that the issue arose as my blog post on Rcpp + RInside + Eclipse listed both /include and /include/Rcpp as header directories. I can’t remember if this was needed at some point in history or if I just thought I’d be thorough making sure I didn’t miss any headers. Reg

Re: [Rcpp-devel] Compiling issue about Rcpp

2014-04-18 Thread Dirk Eddelbuettel
On 18 April 2014 at 09:12, Ian Fellows wrote: | Looks like the same problem described here in http://stackoverflow.com/questions/15489065/rcppeclipse-on-mac-os-x/15532241#15532241 due to Rcpp having a file named string.h which can conflict with std. | | Perhaps try using the -idirafter directiv

Re: [Rcpp-devel] Compiling issue about Rcpp

2014-04-18 Thread Ian Fellows
r use > in "Programming with Data" (to quote John's wonderful book title). R and C++ > make a fantastic combination for that, and we are so glad our interface layer > and tool is finding such wide and growing use. > > Dirk > > -- > Dirk Eddelbuettel | e..

Re: [Rcpp-devel] Compiling issue about Rcpp

2014-04-18 Thread Ian Fellows
r use > in "Programming with Data" (to quote John's wonderful book title). R and C++ > make a fantastic combination for that, and we are so glad our interface layer > and tool is finding such wide and growing use. > > Dirk > > -- > Dirk Eddelbuettel | e..

Re: [Rcpp-devel] Compiling issue about Rcpp

2014-04-17 Thread Dirk Eddelbuettel
Wen, On 18 April 2014 at 09:22, Wen YOU wrote: | I am new to Rcpp and might need some of your help, thanks a lot. | I was trying to compile my Rcpp program in eclipse. But I met a lot of errors | when I was trying to do so. Most of the error comes from the String.h. Here is | the command and part

[Rcpp-devel] Compiling issue about Rcpp

2014-04-17 Thread Wen YOU
Hi, all I am new to Rcpp and might need some of your help, thanks a lot. I was trying to compile my Rcpp program in eclipse. But I met a lot of errors when I was trying to do so. Most of the error comes from the String.h. Here is the command and part of error: *g++ -DINSIDE -ID:/R/R-3.1.0/include