[R] how to manually enter an double quote as data feed?
bonnieyuan
bby2103 at columbia.edu
Tue Dec 13 23:03:51 CET 2011
I'm doing a text mining project where I have to manually enter a double quote
as an element inside a vector.
I tried
char[10]='"'#where i enclosed the double quote in a pair of single quotes.
But the result is [1] "\"". Somehow a back slash is added automatically.
I also tried to enclose the double quote in a pair of double quotes. That
didn't work either.
I'm using Mac and latest release of R.
Thank you!
Bonnie Yuan
--
View this message in context: http://r.789695.n4.nabble.com/how-to-manually-enter-an-double-quote-as-data-feed-tp4192283p4192283.html
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help
mailing list