Hi, I think you misplaced the quotes. From ?source:
file: a connection or a character string giving the pathname of the file or URL to read from. "" indicates the connection stdin(). Try instead (untested): source("C:/Program Files (x86)/Eclipse/eclipse/ProjectName/SourceFile.R") HTH, Jorge On Thu, Aug 25, 2011 at 2:57 PM, swonder03 <> wrote: > I'm having an issue sourcing an R file from my workbench using StatET in > the > Eclipse IDE. All I'm trying to do is get comfortable with 'source' and run > "source(C:/Program Files (x86)/Eclipse/eclipse/ProjectName/SourceFile.R)". > > When I try to call the path for the file i get the error: "unexpected '/' > in > "source(C:/". I've looked around but can't find any examples of sourcing > from the C drive and can't tell what I'm doing wrong. Any help is greatly > appreciated. > > -- > View this message in context: > http://r.789695.n4.nabble.com/Very-Basic-Source-Question-tp3769129p3769129.html > Sent from the R help mailing list archive at Nabble.com. > > ______________________________________________ > 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]]
______________________________________________ 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.