Hi, I am newbie to R so pardon me if this is not the forum for asking this
question.
I am getting the error "unexpected input in "evalq({" in the Boost Tutorial
example section 13.3 of Graham William's, "Data Mining with Rattle and R.
Below is the line as I have entered it and version information.
To me it looks like I have copied the command verbatim from the book. What can
I try to resolve the problem?
> evalq({
data <- weather
nobs <- nrow(weather)
vars <- -grep('^(Data|Location|RISK_)', names(data))
form <- formula(RainTomorrow ~ .)
target <- all.vars(form)[1]
set.seed(42)
train <- sample(nobs, 0.7*nobs)
}, weatherDS)
Error: unexpected input in "evalq({"
Mac OS X version 10.8.5
platform i386-apple-darwin9.8.0
arch i386
os darwin9.8.0
system i386, darwin9.8.0
status
major 2
minor 14.2
year 2012
month 02
day 29
svn rev 58522
language R
version.string R version 2.14.2 (2012-02-29)
[[alternative HTML version deleted]]
_______________________________________________
R-SIG-Mac mailing list
[email protected]
https://stat.ethz.ch/mailman/listinfo/r-sig-mac