There's a comma missing after sep="").

DBxy<-read.csv(paste("C:/users/marta/desktop/DB",filename, sep="") 
sep=",",header=TRUE) should be

DBxy<-read.csv(paste("C:/users/marta/desktop/DB",filename, sep=""), 
sep=",",header=TRUE)
                                                                  ^ 



marta valdes lopez <[email protected]> 
Sent by: [email protected]
05/29/2014 01:02 PM

To
"[email protected]" <[email protected]>, 
cc

Subject
[R] (no subject)






Hello,

Iam  using R 3.1 and i tried to run this script:
setwd("C:/users/marta/desktop/DB")
 library(chron)
  library(xlsx)
 filename<-"univerest_50.csv"
  filename<-"monicap_50.csv"
  filename<-"univer1_50.csv"

  filename<-"univer2_50.csv"
DBxy<-read.csv(paste("C:/users/marta/desktop/DB",filename, sep="") 
sep=",",header=TRUE)

But in the last line I got this error:unexpected symbol in "

I“ve been trying different things like delete some parts..but it didnt 
work, if somebody can help me i would aprecciate.

Thank you in advanceĀ”

  
                 [[alternative HTML version deleted]]

______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide 
http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


        [[alternative HTML version deleted]]

______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to