Witold E Wolski
2013-May-30 08:13 UTC
[R] write table without quotation marks in column names....
Hi write.table likes to quote (") the column and row names. Is there a way to switch it off? Witold [[alternative HTML version deleted]]
Pascal Oettli
2013-May-30 08:28 UTC
[R] write table without quotation marks in column names....
Hi, Did you read the help page? ?write.table Arguments quote a logical value (TRUE or FALSE) or a numeric vector. If TRUE, any character or factor columns will be surrounded by double quotes. If a numeric vector, its elements are taken as the indices of columns to quote. In both cases, row and column names are quoted if they are written. If FALSE, nothing is quoted. Regards, Pascal On 05/30/2013 05:13 PM, Witold E Wolski wrote:> Hi > > write.table > likes to quote (") the column and row names. > > Is there a way to switch it off? > > Witold > > [[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. >
John Kane
2013-May-30 15:25 UTC
[R] write table without quotation marks in column names....
?write.table write.table(cars, quote=FALSE) John Kane Kingston ON Canada> -----Original Message----- > From: wewolski at gmail.com > Sent: Thu, 30 May 2013 10:13:26 +0200 > To: r-help at r-project.org > Subject: [R] write table without quotation marks in column names.... > > Hi > > write.table > likes to quote (") the column and row names. > > Is there a way to switch it off? > > Witold > > [[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.____________________________________________________________ FREE 3D EARTH SCREENSAVER - Watch the Earth right on your desktop!