Skip to content
Prev 12365 / 398502 Next

too many arguments in foreign function call

On Mon, 16 Jul 2001 19:23:52 +0100 (GMT Daylight Time), you wrote in
message <Pine.WNT.4.31.0107161916001.1056-100000 at tern.stats>:
The difficulty with using .External is that it only works with C, not
with other languages, because you need the R header definitions.  I
think there is a fairly large group of programmers like myself who
aren't very comfortable programming in C.  The .C interface isn't tied
to the R header files the way .External is, so it's not too hard to
call other languages with it.  I use it with Delphi and Kylix, for
instance.

It's a nice quirk that ".C" is the interface to use for general
external code, and ".External" for C code.

Duncan Murdoch
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._