write table without quotation marks in column names....
On 13-05-30 4:28 AM, Pascal Oettli wrote:
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.
Those last two sentences seem contradictory at first, but they are not. The "both cases" in the second last one refers to the cases quote=TRUE and having it set to a numeric vector. Duncan
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.
______________________________________________ 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.