> id_gname<-read.table("/home/cdu/operon/id_name_gh5.txt", sep="\t", quote="", skip=0, header=F, fill=T) > dim(id_gname) [1] 1932 3
Yes, it works after adding quote="" to the read table options. Thanks, Chris! On Tue, May 25, 2010 at 9:34 AM, Chris Stubben <stub...@lanl.gov> wrote: > > Gene names often have single quotes like > > 5'-methylthioadenosine phosphorylase > ATP synthase B' chain > ppGpp 3'-pyrophosphohydrolase > > so maybe try adding quote="" to the read table options. > > Chris Stubben > -- > View this message in context: > http://r.789695.n4.nabble.com/R-eat-my-data-tp2230217p2230303.html > Sent from the R help mailing list archive at Nabble.com. > > ______________________________________________ > R-help@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. > -- Sincerely, Changbin -- Changbin Du DOE Joint Genome Institute Bldg 400 Rm 457 2800 Mitchell Dr Walnut Creet, CA 94598 Phone: 925-927-2856 [[alternative HTML version deleted]] ______________________________________________ R-help@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.