Re: [R] Using package ROCR

2009-03-13 Thread LIMONIKA
> library(ROCR) > library(randomForest) > plot(results,significant) Error in as.double(x) : cannot coerce type 'S4' to vector of type 'double' After try with all the possibilities, it shows same error in simpleaffy data plot for the results. please someone guide me wiener30 wrote: > > I

Re: [R] Using package ROCR

2009-02-27 Thread Uwe Ligges
For question 1: Can you please report to the package maintainer (well, I am CCing Tobias now) who will certainly be happy to improve the package (particularly the demo behaviour). For question 2 (and your latest message): does not happen for me. Which versions are you using, i.e. have you upda

Re: [R] Using package ROCR

2009-02-27 Thread wiener30
Just an update concerning an error message in using ROCR package. Error in as.double(y) : cannot coerce type 'S4' to vector of type 'double' I have changed the sequence of loading the packages and the problem has gone: library(ROCR) library(randomForest) The loading sequence that caused an

Re: [R] Using package ROCR

2009-02-26 Thread William Doane
Responding to question 1... it seems the demo assumes you already have a plot window open. library(ROCR) plot(1,1) demo(ROCR) seems to work. For question 2, my environment produces the expected results... plot doesn't generate an error: * R 2.8.1 GUI 1.27 Tiger build 32-bit (5301) *

Re: [R] Using package ROCR

2009-02-26 Thread wiener30
Thank you very much for the response! The plot(1,1) helped to resolve the first problem. But I am still getting a second error message when running demo(ROCR) Error in as.double(y) : cannot coerce type 'S4' to vector of type 'double' It seems it has something to do with compatibility of S4 o

[R] Using package ROCR

2009-02-25 Thread wiener30
I am trying to use package ROCR to analyze classification accuracy, unfortunately there are some problems right at the beginning. Question 1) When I try to run demo I am getting the following error message > library(ROCR) > demo(ROCR) > if(dev.cur() <= 1) [TRUNCATED] Error in get(getOption