Import xpd to R file
I have some issues about import xpd file to R data file which is fine in csv extension. I have been tried many solutions but none of it works.
`Expyriment 0.9.0 (Python 2.7.14)
** Expyriment Data Preprocessor **
found 1 subject_data sets
found 7 variables: ['subject', 'blok', 'emotion_id', 'keypres', 'respon_ok', 'RT', 'accuracy']
write file: c:\users\user\appdata\local\temp\tmprkpkeo (105 cells in 15 rows)
Traceback (most recent call last):
File "C:\Users\USER\Documents\data_processing.py", line 12, in
File "C:\Python27\lib\site-packages\expyriment\misc\data_preprocessing.py", line 198, in write_concatenated_data
File "C:\Python27\lib\site-packages\expyriment\misc\data_preprocessing.py", line 1066, in write_concatenated_data_to_R_data_frame
File "C:\Python27\lib\site-packages\rpy2\robjects__init__.py", line 320, in call
p = _rparse(text=StrSexpVector((string,)))
RRuntimeError: Error: '\u' used without hex digits in character string starting ""c:\u`
and this my data preprocessing syntax
`from expyriment.misc import data_preprocessing
folder = "C:/Users/USER/Documents/data"
I tried to change the backslash "\" with "/" and escape with "\" and change os.chdir for write file
Also, I've already installed the rpy2, but still doesn't work.