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 functions here are independent of c++ code. I prefer to
Yes! that is what I am looking for. When I post my question, I said I cannot
catch the key point in Writing R Extensions.
Follow your suggestion, I almost have reached my goal although I passed the R
CMD check mypackage. Before I install it (I need ask UNIX adminstrator to do
it), I check
I fixed the problem, it is related to my C++ code when I change main function
to gneral function.
You gave a great help! Thank you! Simon.
have a good night!
Alex
__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
Thank you for your help. So far what I did on my notebook as follows. My OS
is windows7.
Â
I downloaded Rcpp windows version, and load library(Rcpp) then.
Â
1, Change main funnction to f1.cpp, remove makefile.
2 ,run Rcpp.package.skeleton(name=test,list=c(rec1.R,rect2.R))
3, edit  /man, /R,
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
I think the first question should be how to build a R function to call a bunch
of C ,C++ which include one main program, and a makefile. My goal to build a R
package will be next step.
I read Rcpp , I am not sure if RcppResultSet can solve my problem or other
function. Once I make sure it