'CSV import in RStudio
> meta_test2<- read.csv("~/Dropbox/Buck Files/Fertility_new/Metabolomics_meta.csv" , header = TRUE)
Error in type.convert.default(data[[i]], as.is = as.is[i], dec = dec, : invalid multibyte string at 'l ' This error occurs in RStudio on my Mac but works perfectly on Windows10. I am guessing that "read.csv" is coming from different packages but I can't confirm. I also do not know how to find a multibyte string at or where that is in the file. Furthermore, when I change to header=FALSE, it also works on the Mac.
New code that works, but why is it successful while read.csv is not?
readr::read_csv("~/Dropbox/Buck Files/Fertility_new/Metabolomics_meta.csv")
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
