parse error in terms (PR#184)
Mon, 3 May 1999 19:55:07 +0200 (MET DST)

On Mon, 3 May 1999 wrote:

> If I use (0.64.0 in intel RH5.2)
> abcdefg <- list()
> abcdefg$abcdefg$abcdefg <- matrix(rpois(20,5),ncol=5)
> terms(~(abcdefg$abcdefg$abcdefg[,1]==1)|(abcdefg$abcdefg$abcdefg[,3]==1)|
> 	(abcdefg$abcdefg$abcdefg[,5]==1))
> I get a parse error. This seems to be connected to the length of the
> names or of the expression, as I do not get an error if the list and
> its elements are called a: a$a$a

This is fixed for 0.64.1.  terms.formula() used deparse with a line length
 of 60 characters. It now uses the maximum allowable length (currently 500

The survival5 test suite comes with a real example of why 60 characters is
not long enough.


r-devel mailing list -- Read
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: