Re: [R] How to Import Data

From: Philipp Pagel <philipp.pagel.lists_at_t-online.de>
Date: Wed 22 Feb 2006 - 01:27:43 EST

On Tue, Feb 21, 2006 at 08:52:04AM -0500, Carl Klarner wrote:

> x111 <-read.table(file='x111.csv',
> sep="",header=T,
> quote="",comment.char="",as.is=T)

to make things easier for you you could do

x111 <-read.table( file.choose(), ... )

Also: Why are you setting sep="" ? Your filename suggests that you have some kind of separator in your file...

cu

        Philipp

-- 
Dr. Philipp Pagel                            Tel.  +49-8161-71 2131
Dept. of Genome Oriented Bioinformatics      Fax.  +49-8161-71 2186
Technical University of Munich
Science Center Weihenstephan
85350 Freising, Germany

 and

Institute for Bioinformatics / MIPS          Tel.  +49-89-3187 3675
GSF - National Research Center               Fax.  +49-89-3187 3585
      for Environment and Health
Ingolstädter Landstrasse 1
85764 Neuherberg, Germany
http://mips.gsf.de/staff/pagel

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Received on Wed Feb 22 01:35:05 2006

This archive was generated by hypermail 2.1.8 : Wed 22 Feb 2006 - 09:27:43 EST