Skip to content

update.formula has 512 char buffer?

3 messages · Chris, Bert Gunter, Duncan Murdoch

#
Your code seems to be screwed up. There are no (small) size
limitations on formulas (afaik).

The following worked fine for me:

x <- paste("x",1:100,sep="",collapse = " + ")
part1 <- paste("y",x,sep=" ~ ")
part2 <- paste("f",1:50, sep="",collapse = " + ")
fml <- formula(paste(part1,part2,sep=" | "))

Cheers,
Bert

On Tue, Feb 28, 2012 at 11:11 AM, Chris Hane
<christopher.a.hane at gmail.com> wrote:

  
    
#
On 28/02/2012 2:46 PM, Bert Gunter wrote:
I think the problem is in R, not in what Chris did.  It seems to be in 
update.formula, or terms.formula, or some related function.

I'll try to track it down.

Duncan