Re: [R] write.table vs. read.table and the argument "fill"

From: Carl Witthoft <>
Date: Sun, 08 May 2011 09:11:05 -0400

Well, it could be a list variable.

foo<- 1:7

I suppose I could do something like

write.table(oof) #ignore the warnings

and then ignore or delete the redundant items in the output file.

On 5/8/11 1:51 AM, Joshua Wiley wrote:
> Hi Carl,
> What would the "equivalent" argument for write.table do? Or perhaps
> to rephrase my question what type of R object do you have in mind to
> write that is a "ragged array"?
> Josh
> On Sat, May 7, 2011 at 7:38 AM, Carl Witthoft<> wrote:
>> Just wondering how come read.table lets you specify fill=TRUE for ragged
>> arrays, but so far as I can tell, no equivalent for write.table?
>> Not a big deal, since I'm perfectly comfortable w/ write and scan and the
>> other file I/O goodies. "A foolish inconsistency..." and all that.
>> mailing list PLEASE do read the posting guide and provide commented, minimal, self-contained, reproducible code. Received on Sun 08 May 2011 - 13:14:58 GMT

This quarter's messages: by month, or sorted: [ by date ] [ by thread ] [ by subject ] [ by author ]

All messages

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Sun 08 May 2011 - 14:30:05 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.

list of date sections of archive