[R] ROCR crashes for simple recall plot

2012-02-08 Thread Yang Zhang
I'm trying to use ROCR to create a simple cutoff vs recall plot (recall@p) on the example ROCR.simple dataset: library(ROCR) data(ROCR.simple) pred <- prediction(ROCR.simple$predictions, ROCR.simple$labels) perf <- performance(pred, "rec") plot(perf) But R crashes on me on the last line. I'm usi

Re: [R] ROCR crashes for simple recall plot

2012-02-08 Thread R. Michael Weylandt
Works fine for me. sessionInfo()? Michael On Wed, Feb 8, 2012 at 8:00 PM, Yang Zhang wrote: > I'm trying to use ROCR to create a simple cutoff vs recall plot > (recall@p) on the example ROCR.simple dataset: > > library(ROCR) > data(ROCR.simple) > pred <- prediction(ROCR.simple$predictions, ROCR

Re: [R] ROCR crashes for simple recall plot

2012-02-08 Thread David Winsemius
On Feb 8, 2012, at 8:00 PM, Yang Zhang wrote: I'm trying to use ROCR to create a simple cutoff vs recall plot (recall@p) on the example ROCR.simple dataset: library(ROCR) data(ROCR.simple) pred <- prediction(ROCR.simple$predictions, ROCR.simple$labels) perf <- performance(pred, "rec") plot(per

Re: [R] ROCR crashes for simple recall plot

2012-02-08 Thread Yang Zhang
On Wed, Feb 8, 2012 at 6:46 PM, David Winsemius wrote: > > On Feb 8, 2012, at 8:00 PM, Yang Zhang wrote: > >> I'm trying to use ROCR to create a simple cutoff vs recall plot >> (recall@p) on the example ROCR.simple dataset: >> >> library(ROCR) >> data(ROCR.simple) >> pred <- prediction(ROCR.simple