[R] accesing slots of S4 class in C code

2005-08-17 Thread Aniko Szabo
I am trying to use a custom S4 object in my C code and I cannot get the access to its slots working. The following is a toy example, but even this crashes. In R I have: setClass(pd, representation(data=numeric)) x - new(pd, data=1:5) test - function(pd.obj) { res - .C(TestFun,

[R] Macintosh binaries; was: Rcmdr and Macintosh

2003-10-01 Thread Aniko Szabo
I am a Windows user and trying to make life easier for my Mac-using students. After investigating the Mac situation more, it appears that the key to easy use is having precompiled binaries. However the packages I am interested in (Rcmdr and its required package, car) do not have one. I do not

[R] Rcmdr and Macintosh

2003-09-29 Thread Aniko Szabo
: can I expect them to be able to install R, Tcl/Tk and Rcmdr (i.e. does anybody has experinece with it?) Are there any installation tricks/tips/instructions you can help me with? Thanks, Aniko Szabo This e-mail may contain confidential and/or privileged information for the sole use