Hello again

thanks for this. What I should have asked is, should one always report
repeatable seg faults (even if functions are called with inappropriate arguments)?


[the emacs bug report FAQ says "yes" but I don't think there is a similar policy for R].

best


rksh



On Tue, 14 Oct 2003, Robin Hankin wrote:

Hello everybody.

I've been experimenting with mapply(). Does anyone else have problems with:

R> mapply(rep,times=1:4, MoreArgs=42)

(I get a seg fault).


Yes, thanks for reporting this.


You should get an error message instead: the correct syntax would be
mapply(rep, times=1:4, MoreArgs=list(42))

It looks as though just coercing to a list would probably be sufficient.

-thomas

______________________________________________ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help

Reply via email to