[R] read table not reading lines containing single quotes
Philipp Pagel
p.pagel at wzw.tum.de
Wed Apr 9 22:23:01 CEST 2008
On Wed, Apr 09, 2008 at 04:09:57PM -0400, Vidhu Choudhary wrote:
> kegg<-read.table("c:/IDs.tab",header =TRUE,quote= "'", sep="\t") *
> *It doesnot read from Alzheimer's disease. Due the single qoutes in it.
You have almost given the answer yourself: you are declaring the single
quote to be a quotation character in your read.table call. Either turn
quoting off entirely (quote="") or restrict it to double quotes (quote
="\"")
cu
Philipp
--
Dr. Philipp Pagel Tel. +49-8161-71 2131
Lehrstuhl für Genomorientierte Bioinformatik Fax. +49-8161-71 2186
Technische Universität München
Wissenschaftszentrum Weihenstephan
85350 Freising, Germany
and
Institut für Bioinformatik und Systembiologie / MIPS
Helmholtz Zentrum München -
Deutsches Forschungszentrum für Gesundheit und Umwelt
Ingolstädter Landstrasse 1
85764 Neuherberg, Germany
http://mips.gsf.de/staff/pagel
More information about the R-help
mailing list