[Rd] width in options() (PR#666)

aprasad@fs.fed.us aprasad@fs.fed.us
Thu, 21 Sep 2000 17:46:42 +0200 (MET DST)

Full_Name: Anantha Prasad
Version: 1.1.1
OS: Linux
Submission from: (NULL) (

When I try to use 
> options(width=201)
Error in options(...) : invalid width parameter
It looks like 200 is the max. limit. THis is a huge limitation...for if I am
to sink() an R object that has 50 variables with a width of say 1000 characters
a length of say 1000 lines, the output I get gets split at 200 characters so
that it
has 5000 lines!
Say an R object x with 1000 lines and 50 variables (1000 characters of width)
> sink("tst.dat")
> x
> sink()
Now, tst.dat has the output split at 200 characters making it very difficult to
this dataset. So, scripts that depend on the entire file structure to come
will produce errors.

This limitation is not there in S-PLUS where you can set the width to any
Hope this is fixed soon as many scripts I use depend on me setting width to


r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch