[Rd] Help with lang4

Seth Falcon seth at userprimary.net
Thu Oct 29 15:14:00 CET 2009


On 10/29/09 7:00 AM, Abhijit Bera wrote:
> Hi
>
> I seem to have run into a situation where I have more than 3 arguments to
> pass to a function from C.
>
> the following functions help me build an expression for evaluation:
>
> lang
> lang2
> lang3
> lang4
>
> What should one do if there are more arguments than lang4 can handle?

If you take a look at the source code for those functions, something may 
suggest itself.  R function calls at the C level are composed like in 
lisp: a pair-list starting with the function cons'ed with the args.

+ seth



More information about the R-devel mailing list