[Rd] for help on building a R package with several R function and a bunch of c, c++

From: <alex46015_at_yahoo.com>
Date: Fri, 05 Mar 2010 13:15:37 -0800 (PST)


Hope I can get quick help from here, I have a bunch of c, c++ included main function and makefile. It works well on both UNIX and windows. I tried to build R package which include this C++ program and several other R functions. These R function here are independent of c++ code. I prefer to define one R function to call this c++ program (main function).

I know how to build R package with just R function, but I don't know how to handle those c++ c code after I copied those code in ./src, I am reading manual "Writing R Extensions" , but I did n't catch the key point . Do you know any easy way to do it? ,

Thank you in advance!

Alex



R-devel_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Fri 05 Mar 2010 - 21:19:05 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Sat 06 Mar 2010 - 02:40:58 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-devel. Please read the posting guide before posting to the list.

list of date sections of archive