Re: [Rd] Using Windows API functions in R

From: <volchik2000_at_list.ru>
Date: Fri 26 Jan 2007 - 12:53:08 GMT

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@stats.ox.ac.uk

Best regards,
Yuri Volchik



R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Fri Jan 26 23:56:04 2007

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Fri 26 Jan 2007 - 14:01:15 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-devel. Please read the posting guide before posting to the list.