I seem to have the same problem. R stops reading my csv data at the strange character. The proposed solution however did not help in my case. I tried character set definitions iso-8859-1, windows-1252, utf-8 and us-ascii without success. I am using IE 7.
Any other ideas?
Edit: As a workaround, I now use GNU sed to remove the characters. In case someone has the same problem and uses R, here's how I do it (be sure to adapt the paths):
I still think it would be preferable if MediaLab would take care of clean data files.Code:mydataframe <- read.csv(pipe("C:/Programme/GnuWin32/bin/sed.exe -e \"s/\\c@//g\" \"C:/path/to/questionnaire.csv\""), header=TRUE, sep=",", quote="", stringsAsFactors=FALSE, comment.char="", fileEncoding="latin1")




Reply With Quote
