Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

unexpected string constant [closed]

Tags:

r

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

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

What's the problem? I suppose something in my database, but I don't know what it is. Thank you for reply

like image 225
Gianluca Roncalli Avatar asked Dec 01 '25 02:12

Gianluca Roncalli


1 Answers

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

like image 104
Paul Hiemstra Avatar answered Dec 02 '25 17:12

Paul Hiemstra