Re: [R] read table not reading lines containing single quotes

From: Philipp Pagel <>
Date: Wed, 09 Apr 2008 22:23:01 +0200

On Wed, Apr 09, 2008 at 04:09:57PM -0400, Vidhu Choudhary wrote:

> kegg<-read.table("c:/",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 ="\"")



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
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

______________________________________________ mailing list
PLEASE do read the posting guide
and provide commented, minimal, self-contained, reproducible code.
Received on Wed 09 Apr 2008 - 20:25:51 GMT

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 Wed 09 Apr 2008 - 21:30:29 GMT.

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

list of date sections of archive