[R] ROCR package not installing

Mohammed Ouassou mohammed.ouassou at statkart.no
Thu Nov 22 09:02:14 CET 2012


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