Problem importing R export data

More
1 year 7 months ago #180019 by spalan
I have enabled the R export plugin and exported the syntax and data files for my survey. However, when I try to import the data using
source("SYNTAXFILE.R", encoding = "UTF-8")

I get an error message saying

Error in source("survey_622524_R_syntax_file.R", encoding = "UTF-8") :
survey_622524_R_syntax_file.R:2879:9: unexpected symbol
2878: names(data)[586] <- "Goodbye"
2879: Unknown type


And indeed, when I open the syntax file, the last two lines in it are:
names(data)[586] <- "Goodbye"
Unknown type

The problem is obviously caused by the last line, since R does not know how to interpret "Unknown type".

Am I doing something wrong or is there a problem in the plugin's export?

Best,
Stefan.
The topic has been locked.
LimeSurvey Partners
More
1 year 7 months ago #180029 by DenisChenu
LimeSurvey version and build number
LSS file (or LSA if possible) to check the issue
And maybe a manual.limesurvey.org/Check_data_integrity can fix the issue.

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development . I don't answer to private message.
The topic has been locked.
More
1 year 7 months ago #180030 by spalan
I am sorry - I am using the LimeSurvey instance hosted on limesurvey.org. This is version 3.15.8. I have now attached the .lss file:

File Attachment:

File Name: limesurvey...2524.lss
File Size:553 KB
Attachments:
The topic has been locked.
More
1 year 7 months ago #180037 by DenisChenu
If you use limesurvey instance hosted : i think it's best to contact support www.limesurvey.org/customer-support/contact-us

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development . I don't answer to private message.
The following user(s) said Thank You: spalan
The topic has been locked.
More
1 year 7 months ago #180039 by spalan
Thanks for the advice - I have opened a ticket now!

Best,
Stefan.
The topic has been locked.

Start now!

Just create your account and start using Limesurvey today.

Register now