[Rcpp-devel] Eclipse/statet IDE integration

Dirk Eddelbuettel edd at debian.org
Mon Apr 9 18:33:36 CEST 2012


On 9 April 2012 at 09:16, Ian Fellows wrote:
| 
| On Apr 9, 2012, at 7:41 AM, Dirk Eddelbuettel wrote:
| 
| > 
| > Hi Ian,
| > 
| > On 9 April 2012 at 00:07, Ian Fellows wrote:
| > | Hi All,
| > | 
| > | So way back in the summer I figured out how to integrate Rcpp/RInside into
| > | Eclipses build system allowing for things like code completion / error checking
| > | work. I've been meaning to make some sort of public guide, but have not gotten
| > | around to it until today. I thought that some on the list might be
| > | interested...
| > | 
| > | http://blog.fellstat.com/?p=170
| > 
| > Wow, that looks very nice. And you have some very kind words about Rcpp /
| > RInside sprinkled in there too.
| > 
| > Did you know that Peter Aberline had already been contributing cmake files
| > for RInside?  Peter was aiming for several IDEs (Eclipse, KDevelop,
| > Code::Blocks) with that.  But extending to Rcpp makes a lot of sense.
| > Any thoughts on that?
| 
| No I wasn't aware of it. The only reference I found after a quick search was in the 2012-1-8 RInside news file.  I think that it would have to be incorporated into Eclipse's build system (not executed as an external tool) in order for all the features I mentioned in the post to work. My understanding is that there is an automatic cmake --> eclipse project converter, but I have not tried it. 

At this point Peter wrote CMakeLists.txt files for the different examples:

edd at max:~$ find /usr/local/lib/R/site-library/RInside/examples/ -name CMakeLists.txt
/usr/local/lib/R/site-library/RInside/examples/mpi/cmake/CMakeLists.txt
/usr/local/lib/R/site-library/RInside/examples/wt/cmake/CMakeLists.txt
/usr/local/lib/R/site-library/RInside/examples/standard/cmake/CMakeLists.txt
/usr/local/lib/R/site-library/RInside/examples/qt/cmake/CMakeLists.txt
edd at max:~$ 

Maybe this can be extended, combined, ... in a suitable way?

Dirk

-- 
R/Finance 2012 Conference on May 11 and 12, 2012 at UIC in Chicago, IL
See agenda, registration details and more at http://www.RinFinance.com


More information about the Rcpp-devel mailing list