Problem importing R export data

More
6 months 1 week 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.

Please Log in or Create an account to join the conversation.

More
6 months 1 week 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 .
An error happen ? Before make a new topic : remind the Debug mode .

Please Log in or Create an account to join the conversation.

More
6 months 1 week 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:

Please Log in or Create an account to join the conversation.

More
6 months 1 week 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 .
An error happen ? Before make a new topic : remind the Debug mode .
The following user(s) said Thank You: spalan

Please Log in or Create an account to join the conversation.

More
6 months 1 week ago #180039 by spalan
Thanks for the advice - I have opened a ticket now!

Best,
Stefan.

Please Log in or Create an account to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now
Join our Newsletter!