From roebuck at mdanderson.org  Thu Jun 15 20:37:28 2006
From: roebuck at mdanderson.org (Paul Roebuck)
Date: Thu, 15 Jun 2006 13:37:28 -0500 (CDT)
Subject: [Rd] separators in data()
In-Reply-To: <971536df0606150445w1a45be29ie91cd35bb905ecd2@mail.gmail.com>
References: <449141A4.6090905@bfro.uni-lj.si>
	<971536df0606150445w1a45be29ie91cd35bb905ecd2@mail.gmail.com>
Message-ID: <Pine.OSF.4.58.0606151331110.187697@wotan.mdacc.tmc.edu>

On Thu, 15 Jun 2006, Gabor Grothendieck wrote:

> Currently, four formats of data files are supported:
>
>    1.  files ending '.R' or '.r' are 'source()'d in, with the R
>        working directory changed temporarily to the directory
>        containing the respective file.
>
>    2.  files ending '.RData' or '.rda' are 'load()'ed.
>
>    3.  files ending '.tab', '.txt' or '.TXT' are read using
>       'read.table(..., header = TRUE)', and hence result in a data
>       frame.
>
>    4.  files ending '.csv' or '.CSV' are read using
>       'read.table(..., header = TRUE, sep = ";")', and also result
>       in a data frame.

As an aside, I have wondered why there is no intrinsic
support for dot-tsv extension (*.tsv) that would trigger
use of read.delim method.

----------------------------------------------------------
SIGSIG -- signature too long (core dumped)



[Rd] separators in data()
Paul Roebuck