[R] how to operate a S4 objecti

2010-02-03 Thread Hongbin Zhang
I have a R object which has a value (see below, e.g., the "0.8341875") I like to extract to put into a simple form, e.g., an array. how could I do that? below is the code: > library(ROCR) > data(ROCR.simple) > pred <- prediction( ROCR.simple$predictions, ROCR.simple$labels) > auc <- performance

[R] lapack error on Redhat Linux Fedora 11

2009-12-24 Thread Hongbin Zhang
Hi, The following errors occurs when I run the nlme's example: -- Error in chol.default((value + t(value))/2) : lapack routines cannot be loaded In addition: Warning message: In chol.default((value + t(value))/2) : unable to lo