Re: [Rd] Very Long Expressions

From: Barry Rowlingson <>
Date: Mon 24 Jan 2005 - 21:56:37 EST

McGehee, Robert wrote:

>>a <- eval(parse(text = paste(rep(1, 499), collapse = "+")))

  Another little investigation shows that if you type:


at the > prompt (with over 498 '+1's) both R1.8.1 and R2.0.0 produce an error message, so it would appear to be something specific to the eval() function in R 2.0.x suppressing the error message.

  You can increase the limit by setting options()$expressions - default is 500 here. help(options) says you can go up to 100000, but that doesn't fix the fundamental problem...

  Time for the gurus to sort this one out...

Baz mailing list Received on Mon Jan 24 22:13:00 2005

This archive was generated by hypermail 2.1.8 : Fri 18 Mar 2005 - 09:02:37 EST