Hi Dirk and Kevin,
Thanks very much for your responses!
It seems Rcpp is an intermediate step between C++ and R.
I will take a look at the examples that you mentioned.
Regards,
Yuanchao
On Mon, Feb 25, 2013 at 1:38 PM, Dirk Eddelbuettel wrote:
>
> Hi Yuanchao,
>
> On 25 February 2013 at 11:4
Hi Yuanchao,
On 25 February 2013 at 11:47, Yuanchao BO wrote:
| I have some questions about Rcpp. I have a complicated R code.
Rcpp does not change or simplify your R code. If anything it may make it
more complicated as you now have R and C++.
But it may also make it a lot faster, or allow you
Hi Yuanchao,
Rcpp is a tool for transferring R objects between R and C++ code:
essentially, you can write functions / modules in C++ that can operate
on, generate, and modify R objects, which are then callable from
within R. So yes, you're going to have to write some C++ code to make
use of Rcpp.
Hi all,
I am a third year PhD student.
I have some questions about Rcpp. I have a complicated R code. Can I run
the code in C++ by using Rcpp? Do I need to write extra codes to integrate
R into C++?
I read some of the Rcpp tutorials and I am under an impression that most of
the Rcpp code is C++