[Rd] Using Windows API functions in R

ровен Акьатои volchik2000 at list.ru
Fri Jan 26 13:53:08 CET 2007

Thanks Professor,

will try to create a wrapper needed to call WIN API functions.

> You cannot make use of WINAPI calls from .C (or otherwise in R): it is set
> up for _cdecl calls only.
> You will need to write some wrapper C code.
> >> And now i'm at loss how to represent the data structure needed for
> >> correct call to that function, may be somebody could help me with
> >> this?
> You cannot create C structures using .C, only a few basic array types. 
> See ?".C" .  Since you need wrapper code, you can create the structures 
> needed there.
> -- 
> Brian D. Ripley,                  ripley at stats.ox.ac.uk

Best regards,
Yuri Volchik

More information about the R-devel mailing list