From aprasad@fs.fed.us  Thu Sep 21 16:46:42 2000
From: aprasad@fs.fed.us (aprasad@fs.fed.us)
Date: Thu, 21 Sep 2000 17:46:42 +0200 (MET DST)
Subject: [Rd] width in options() (PR#666)
Message-ID: <200009211546.RAA12787@pubhealth.ku.dk>

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


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
trying
to sink() an R object that has 50 variables with a width of say 1000 characters
and
a length of say 1000 lines, the output I get gets split at 200 characters so
that it
has 5000 lines!
Eg.,
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
use
this dataset. So, scripts that depend on the entire file structure to come
intact
will produce errors.

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

Thanks



-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


[Rd] width in options() (PR#666)
aprasad@fs.fed.us