Please see the following example. I can not write '"' to a csv file successfully. Could somebody let me if it is possible to write '"' to a csv file with the default setting of write.csv?
my_home$ Rscript main_quote.R > x=rbind( + "\"A\"" + , "\"B\"" + ) > x [,1] [1,] "\"A\"" [2,] "\"B\"" > > write.csv(x, "main_quote.csv", row.names=F) > my_home$ cat main_quote.csv "V1" """A""" """B""" ______________________________________________ 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.