[R] escape characters for apostrophes in a .csv file

Simon Kiss sjkiss at gmail.com
Wed Apr 23 22:09:34 CEST 2014

I have a .csv file that includes some character strings (open ended survey responses) that includes some apostrophe. Using read.csv() the file reads in just fine, except upon being read in the apostrophes are displayed with the double-slash, i.e. 'I've' becomes 'I\\'ve'.  I'd like to print these responess out for a report.  Is there a way that I can have the apostrophes read in as original or print them out without the escape characters.
Thank you. 
Simon J. Kiss, PhD

More information about the R-help mailing list