jbryer / qualtrics

This package utilizes the Qualtrics API to interface with the Qualtrics survey system.
34 stars 19 forks source link

Possible Encoding Issue in Windows 10 #7

Open shiyaoliu opened 7 years ago

shiyaoliu commented 7 years ago

Hi Mr Ginn,

When I tried to getSurvey from qualtrics with your package, I got the following error. The codes are run under Windows 10 Professional Chinese Simplified version. However, the same code works well under Ubuntu 16.04 LTS. So I guess probably there is an encoding issue here.

Thanks.

Best, Sean

mysurvey.2 <- getSurvey(surveyID = surveys$id[2]) |======================================================================================| 100% Error in read.table(file = file, header = header, sep = sep, quote = quote, : no lines available in input In addition: Warning messages: 1: In readLines(file, skip) : invalid input found on input connection 'C:/Users/SEANSH~1/AppData/Local/Temp/RtmpQlFSfH/China Survey.csv' 2: In readLines(file, skip) : incomplete final line found on 'C:/Users/SEANSH~1/AppData/Local/Temp/RtmpQlFSfH/China Survey.csv'