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 <marti_flamenkiya@hotmail.com>
Sent by: r-help-bounces@r-project.org
05/29/2014 01:02 PM
To
"r-help@r-project.org" <r-help@r-project.org>,
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]]
______________________________________________
R-help@r-project.org 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]]