[Rd] segmentation fault: formula() with long variable names (PR#3680)

jerome at hivnet.ubc.ca jerome at hivnet.ubc.ca
Thu Aug 7 21:32:50 MEST 2003

R version: 1.7.1
OS: Red Hat Linux 7.2

In this example, I would expect an error for the overly long variable 
name. This is always reproducable for me.

> formula(paste("y~",paste(rep("x",50000),collapse="")))
Segmentation fault

Jerome Asselin


Jerome Asselin (Jérôme), Statistical Analyst
British Columbia Centre for Excellence in HIV/AIDS
St. Paul's Hospital, 608 - 1081 Burrard Street
Vancouver, British Columbia, CANADA V6Z 1Y6
Email: jerome at hivnet.ubc.ca
Phone: 604 806-9112   Fax: 604 806-9044

More information about the R-devel mailing list