Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upquoted csv #3
quoted csv #3
Comments
|
We can avoid that if substitute
to
not sure about side effects yet |
|
Hi Michael, Why would one do that? The CSV files are already provided in
|
|
Hi Michael, there is a side effect. |
if someone exports rds presented like this
write.csv(rds01, 'rds01.csv')and then tries to import it again
method.A(path.in = getwd(), file = 'rds01', ext = 'csv')an error is given that column names are not found:
Error in get.data(path.in = path.in, path.out = path.out, file = file, :
Column names must be given as 'subject', 'period', 'sequence', 'treatment'.
since in fact the column names are quoted
To avoid this the user should use
write.csv(rds01, 'rds01.csv', quote = FALSE)