0

I am trying to read a csv file in R but when I run read_csv(), I get this weird paint-like symbol for some rows, even though it is displayed correctly in the raw csv file. I have tried reading it through read.csv() and also converting the file to excel and reading it through read_xlsx() but I get the same weird symbol. I am guessing it has something to do with the encoding but I am not sure what to do. Any suggestions?

image of the weird symbol

Ben Bolker
  • 211,554
  • 25
  • 370
  • 453
  • 2
    From your image I would guess that your file is actually a JSON file. I would try to read it with e.g. `jsonlite::fromJSON`. – stefan Apr 12 '22 at 13:41
  • 2
    Does this answer your question? [What does this R symbol mean?](https://stackoverflow.com/questions/71698311/what-does-this-r-symbol-mean) – Andrea M Apr 12 '22 at 13:47

0 Answers0