On 30 May 2013 at 18:08, ivo welch wrote:
| hi dirk---it is indeed excellent. alas, it doesn't cover my confusion.
I reckon you did not read 'Rcpp attributes' carefully enough. Please do read
it again.
| determines whether one needs to declare attributes vs. Rcpp being smart enough
One has to
hi dirk---it is indeed excellent. alas, it doesn't cover my confusion.
*general*: I now realize my first problem with the print function. I need
to double-escape '\'.
cppFunction('int hello(int i) { printf("hello, world\n"); }')
is wrong. it needs to be
cppFunction('int hello(int i) { pri
On 30 May 2013 at 15:08, ivo welch wrote:
|
| thx, dirk. first, apologies for multiposting earlier. I thought it did not
| allow me to post from my non-registered email address. second, apologies for
| the private email. I wasn't expecting any answers. just wanted to help with
| some feedbac
thx, dirk. first, apologies for multiposting earlier. I thought it did
not allow me to post from my non-registered email address. second,
apologies for the private email. I wasn't expecting any answers. just
wanted to help with some feedback. I will buy your Rcpp book when it comes
out.
I th
Ivo,
Appreciate that you post here. Am a little pressed for time but in a
nutshell, you missed that the new (and very nice) Rcpp Attributes which you
use for sourceCpp do NOT currently mix with Rcpp Modules.
So either concentrate on easily writing accessor function, OR concentrate on
using Modu
dear readers: I am trying to learn how to interface a simple C++ class
into the underbelly of R. I don't plan to use this regularly---just for
one or two applications. I read the introduction and faq vignettes and
hadley's tutorial. alas, I am mixing and matching badly. I also don't
have the
dear readers: I am trying to learn how to interface a simple C++ class
into the underbelly of R. I read the introduction and faq vignettes and
hadley's tutorial. alas, I am mixing and matching badly. I also don't
have the full template programming background, which dates me, and the
examples