Ajay Askoolum
2012-Jan-16 19:45 UTC
[R] R for Windows: Is there a function/package that enables Win32 API Calls?
I am looking for a means to call Win32 API calls from R for Windows. Is that possible? Thanks. [[alternative HTML version deleted]]
Tal Galili
2012-Jan-16 20:20 UTC
[R] R for Windows: Is there a function/package that enables Win32 API Calls?
Wouldn't that be possbile to do through the ?system function? ----------------Contact Details:------------------------------------------------------- Contact me: Tal.Galili@gmail.com | 972-52-7275845 Read me: www.talgalili.com (Hebrew) | www.biostatistics.co.il (Hebrew) | www.r-statistics.com (English) ---------------------------------------------------------------------------------------------- On Mon, Jan 16, 2012 at 9:45 PM, Ajay Askoolum <aa2e72e@yahoo.co.uk> wrote:> I am looking for a means to call Win32 API calls from R for Windows. Is > that possible? > > Thanks. > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide > http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. >[[alternative HTML version deleted]]
Duncan Murdoch
2012-Jan-16 21:30 UTC
[R] R for Windows: Is there a function/package that enables Win32 API Calls?
On 12-01-16 2:45 PM, Ajay Askoolum wrote:> I am looking for a means to call Win32 API calls from R for Windows. Is that possible?Just write the call in C, and call your C code from R, using .C() or .Call() (depending on what you need to pass to it). Generally .C() is easier, but .Call() is faster and more flexible. Duncan Murdoch