Error when reading csv file

Trying to run the following code

Bycatch = read.csv("~/Documents/Marine Biology/R/CPUEforseaturtles.csv", header = T)

Having trouble with this error message:

Error in type.convert.default(data[[i]], =[i], dec = dec, :
invalid multibyte string at '<96>1.2<38>'

is something missing from the code?

Hi, and welcome.

It's hard to guess without knowing more about CPUEforseaturtles.csv, which is why a reproducible example, called a reprex is so important.

The error message suggests the type of encoding problem addressed on a stackoverflow post

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.