[R] read table not reading lines containing single quotes

From: Vidhu Choudhary <vidhu.choudhary_at_gmail.com>
Date: Wed, 09 Apr 2008 16:09:57 -0400

* I am using read.table command as follow
kegg<-read.table("c:/IDs.tab",header =TRUE,quote= "'", sep="\t") *  Fragment of file is as follow:
ID Pathway
04916 Melanogenesis
04920 Adipocytokine signaling pathway 04930 Type II diabetes mellitus
04940 Type I diabetes mellitus
04950 Maturity onset diabetes of the young 05010 Alzheimer's disease
05020 Parkinson's disease
05030 Amyotrophic lateral sclerosis (ALS) 05040 Huntington's disease
05050 Dentatorubropallidoluysian atrophy (DRPLA)

*It doesnot read from Alzheimer's disease. Due the single qoutes in it. Can
you please suggest something so that I can read full file.

Thank you

        [[alternative HTML version deleted]]

R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Received on Wed 09 Apr 2008 - 20:12:19 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 - 20:30:40 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive