[Rd] error location

From: Peter Stencel <peter.stencel_at_uni-bielefeld.de>
Date: Fri 29 Sep 2006 - 13:15:38 GMT


Dear all,

I've written a (quite long) function in R. While running it I get the following error message:

 Error in "[<-"(`*tmp*`, 1, 13, value =
NULL) :
        number of items to replace is not a multiple of replacement length

   operation failed in: function () !!!    evaluation not successful!!!

How to interpret this error message? (There aren't any expressions that I'm using in my function.)

How can I locate the error? Is it possible to do it with the command debug("functionname")?

I'm new to R and I hope that someone can give me a piece of advice on finding errors. Thanks in advance.

Regards,
Peter



R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Fri Sep 29 23:17:52 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Fri 29 Sep 2006 - 14:30:10 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-devel. Please read the posting guide before posting to the list.