[R] ROCR package not installing

Philip Robinson philip.c.robinson at gmail.com
Thu Nov 22 10:12:27 CET 2012


Hi Mohammed,

This didn't work either:

Error in setMethod("plot", signature(x = "performance", y = "missing"),  :
  no existing definition for function "plot"
Error : unable to load R code in package 'ROCR'
ERROR: lazy loading failed for package ‘ROCR’
* removing ‘/home/probinson/R/x86_64-pc-linux-gnu-library/2.10/ROCR’

The downloaded packages are in
        ‘/tmp/Rtmpn1DjHt/downloaded_packages’
Warning message:
In install.packages("ROCR", dep = T) :
  installation of package 'ROCR' had non-zero exit status

thanks
Philip

-----Original Message-----
From: Mohammed Ouassou [mailto:mohammed.ouassou at statkart.no] 
Sent: Thursday, 22 November 2012 6:02 PM
To: Philip Robinson
Cc: r-help at r-project.org
Subject: Re: [R] ROCR package not installing

try:
   install.packages("ROCR",dep=T)

M.O

On to., 2012-11-22 at 16:02 +1000, Philip Robinson wrote:
> I have tried installing the package (ROCR) with this command:
> 
>  
> 
> Install.packages(ROCR)
> 
>  
> 
> And with this command on the command line
> 
>  
> 
> R CMD INSTALL ROCR_1.0-4.tar.gz
> 
>  
> 
> But both times I get exactly the same error shown below, I don't 
> understand what is wrong, is this an error in the package code?
> 
>  
> 
> Thank you
> 
> Philip
> 
>  
> 
> probinson at bioinform08:/tmp/RtmpO0rFbx/downloaded_packages$ R CMD 
> INSTALL ROCR_1.0-4.tar.gz
> 
> * installing to library
> 
> '/home/probinson/R/x86_64-pc-linux-gnu-library/2.10'
> 
> * installing *source* package 'ROCR' ...
> 
> ** R
> 
> ** data
> 
> ** demo
> 
> ** preparing package for lazy loading
> 
> Loading required package: gtools
> 
> Loading required package: gdata
> 
> gdata: read.xls support for 'XLS' (Excel 97-2004) files ENABLED.
> 
>  
> 
> gdata: read.xls support for 'XLSX' (Excel 2007+) files ENABLED.
> 
>  
> 
> Attaching package: 'gdata'
> 
>  
> 
> 
> 
>               The following object(s) are masked from package:utils :
> 
>  
> 
>               object.size
> 
>  
> 
> Loading required package: caTools
> 
> Loading required package: bitops
> 
> Loading required package: grid
> 
> Loading required package: KernSmooth
> 
> KernSmooth 2.23 loaded
> 
> Copyright M. P. Wand 1997-2009
> 
>  
> 
> Attaching package: 'gplots'
> 
>  
> 
> 
> 
>               The following object(s) are masked from package:stats :
> 
>  
> 
>               lowess
> 
>  
> 
> Error in setMethod("plot", signature(x = "performance", y = "missing"),  : 
> 
>   no existing definition for function "plot"
> 
> Error : unable to load R code in package 'ROCR'
> 
> ERROR: lazy loading failed for package 'ROCR'
> 
> * removing '/home/probinson/R/x86_64-pc-linux-gnu-library/2.10/ROCR'
> 
> probinson at bioinform08:/tmp/RtmpO0rFbx/downloaded_packages$
> 
>  
> 
> 
> 
> 
> 
> 
> 
> 
> 	[[alternative HTML version deleted]]
> 
> ______________________________________________
> R-help at 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.




More information about the R-help mailing list