From peter.stencel at uni-bielefeld.de  Fri Sep 29 15:15:38 2006
From: peter.stencel at uni-bielefeld.de (Peter Stencel)
Date: Fri, 29 Sep 2006 15:15:38 +0200
Subject: [Rd] error location
Message-ID: <ed28ff68ff6.ff6ed28ff68@uni-bielefeld.de>

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




[Rd] error location
Peter Stencel