Displaying 3 results from an estimated 3 matches for "nrtg".
Did you mean:
mrtg
2010 Feb 11
2
LinkingTo and C++
...g-native-routines
but it seems only applicable to c(++) functions and not classes ...
What am I missing ? Should/can linkingto be extended in a way that
accomodates c++
Romain
--
Romain Francois
Professional R Enthusiast
+33(0) 6 28 91 30 30
http://romainfrancois.blog.free.fr
|- http://tr.im/NrTG : Rcpp 0.7.5
|- http://tr.im/MPYc : RProtoBuf: protocol buffers for R
`- http://tr.im/KfKn : Rcpp 0.7.2
2010 Feb 14
2
Portability of a C function
Hi the list,
In a package P1, I write a function f1 in C, potentially an internal
function (not to be called from R).
In a package P2, I write a function f2 in C. The f2 function needs to
use f1 from P1. Is it possible ?
--- 8< ---- In file P1.c ---------
double f1(x,y){
....
}
--- 8< ---- In file P2.c ---------
void f2(x,y,z){
double result;
....
result = f1(x,y);
....
}
2010 Feb 14
1
How S3method() is implemented and called? And when to use it?
R-exts.pdf discribes S3method a little bit. But I want to understand
more on how it is called, implemented and when to use it.
I don't find it in an R session. But I see S3method() in some NAMESPACE files.
> S3method
Error: object 'S3method' not found
> ?S3method
No documentation for 'S3method' in specified packages and libraries:
you could try '??S3method'
I