[R] How to Import Data

Philipp Pagel philipp.pagel.lists at t-online.de
Tue Feb 21 15:27:43 CET 2006


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




More information about the R-help mailing list