Re: [Rd] Problem with pasteing formulas (PR#8897)

2006-05-24 Thread François Pinard
[Brian Ripley] >Note: > 'as.character' truncates components of language objects to 500 > characters (was about 70 before 1.3.1). >so it is working as documented. Not then a bug. Wrong reasoning. Bugs may well be documented :-) -- François Pinard http://pinard.progiciels-bpi.ca

Re: [Rd] Problem with pasteing formulas (PR#8897)

2006-05-24 Thread ripley
See ?as.character (which paste effectively calls on non-character objects, as ?paste says): Note: 'as.character' truncates components of language objects to 500 characters (was about 70 before 1.3.1). so it is working as documented. Not then a bug. You can (and probably should) us

[Rd] Problem with pasteing formulas (PR#8897)

2006-05-24 Thread john . little
Hi, If I create a formula with say 100 terms and then paste it: xnam <- paste("x", 1:100, sep="") fmla <- as.formula(paste("y ~ ", paste(xnam, collapse= "+"))) paste(fmla) The result seems to cut off everything after the first 500 characters and gives no warning message. I have the most recent