Displaying 1 result from an estimated 1 matches for "showargs1".
Did you mean:
showargs
2006 Aug 29
1
list and pairlist in "Writing R Extensions" (PR#9185)
...ad of a list().
I was trying
.Call("showArgs",list(one=1,two=2,three=3))
for example, and getting many core dumps.
It wasn't until reading "R Language Definition" that I found out
about pairlist(), as needed.
The final example:
showArgs<-function(...) .Call("showArgs1",list(...))
looks like a list can be passed to showArgs, but in fact it is showArgs1, which
doesn't seem to be documented at all!
It could be that using pairlist() in 5.8.2 would fix the problem,
but there should be a reference to the difference between list()
and pairlist()
thanks,
--...