I have a large df to read.
Rstudio freeze up for ages and then just crashes from lack of memory when I use read_excel
When using fread
I keep getting the following error messages:
Warning messages:
1: In fread(“data/dat.xlsx”):
Found and resolved improper quoting in first 100 rows. If the fields are not quoted (e.g. field separator does not appear within any field), try quote=”” to avoid this warning.
2: In fread(“data/dat.xlsx”) :
Detected 1 column names but the data has 2 columns (i.e. invalid file). Added 1 extra default column name for the first column which is guessed to be row names or an index. Use setnames() afterwards if this guess is not correct, or fix the file write command that created the file to create a valid file.
3: In fread(“data/dat.xlsx”) :
Stopped early on line 32. Expected 2 fields but found 1. Consider fill=TRUE and comment.char=. First discarded non-empty line: <<¼XäðÈÌg&Û—>>>