[Rd] Getting param names of primitives

miguel manese jjonphl at gmail.com
Wed Jul 11 06:41:39 CEST 2007


In the latest R this does not work anymore

args <- formals(log)

because log is primitive. Is there any other way to get the argument
list? I just need the name of the parameter to display some error
message about it. I have looked at args() but I can't find anything to
extract the argument names from it.

M. Manese

More information about the R-devel mailing list