Undefined constant string

I have a problem with my database. I want to enter the database in R, but this message msgstr "error of unexpected string constant" appears.

I wrote this command: read.csv(prova1,sep";", header=20)

What is the problem? I suppose something is in my database, but I do not know what it is. thanks for the answer

+3
source share
2 answers

Like what was commented out, you made a syntax error, i.e. you forgot = between sep and ; .

+3
source

Try the following:

 thames1<-"thames.csv" thames2<-read.table(thames1, header=TRUE, sep=",") 
0
source

All Articles