On Apr 14, 2013, at 11:37 , christoph_s wrote: > ... > However, executing in the command line > (C:\Progra~1\R\R-2.15.3\bin\Rscript.exe ROC_test.R) gives following errors: > Error in ifelse(is(roc, "smooth.roc"), length(attr(roc, "roc")$cases), : > could not find function "is" > Calls: coords ... coords.roc -> lapply -> FUN -> coords.roc -> ifelse > Execution halted > > Any ideas? Thanks in advance,
is() is in "methods", so try require(methods). -pd -- Peter Dalgaard, Professor, Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark Phone: (+45)38153501 Email: pd....@cbs.dk Priv: pda...@gmail.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.