Closed justinchuntingho closed 5 years ago
The codes should be three separated lines, sorry about the formatting.
write.csv(c("foo foo foo foo", "bar bar bar bar"), file = "data.csv", row.names = FALSE)
library(readtext)
readtext("data.csv")
Thanks @justinchuntingho!
For future reference, you can paste code in a code block, using r
for the language identifier.
My readtext was working fine but it failed to read csv after I updated to 3.5.1
Here's a reproducible error:
write.csv(c("foo foo foo foo", "bar bar bar bar"), file = "data.csv", row.names = FALSE) library(readtext) readtext("data.csv")
The error message:
Here's my sessioninfo: