On 03/11/2013 02:54, Lizkitty wrote:> Hi everyone,
>
> I am trying to install kernlab package, but failed many times by now on
> CentOS 6 operating system.
>
> Here is the error message:
>
> trying URL
'http://ftp.ussg.iu.edu/CRAN/src/contrib/kernlab_0.9-18.tar.gz'
> Content type 'application/x-gzip' length 1069148 bytes (1.0 Mb)
> opened URL
> =================================================> downloaded 1.0 Mb
>
> * installing *source* package kernlab ...
> ** package kernlab successfully unpacked and MD5 sums checked
> ** libs
> g++
> .
> .
> .
And the actual error message was here.
Please read the posting guide. As this is a C error, you should be
posting to R-devel, and we cannot help you without the actual error
message.
> make: *** [brweight.o] Error 1
> ERROR: compilation failed for package kernlab
> * removing ~/n/home09/wang/R/x86_64-unknown-linux-gnu-library/3.0/kernlab
>
> The downloaded source packages are in
> ~/scratch/tmp/RtmphA5FF9/downloaded_packages
> Warning message:
> In install.packages("kernlab") :
> installation of package kernlab had non-zero exit status
>
>
> I found out online that many others also failed installing kernlab, but no
> explicit solutions for this problem.
Really? Who are these 'many others'? The CRAN check page
http://cran.r-project.org/web/checks/check_results_kernlab.html shows
success on several platforms.
> What I have tried so far are:
> 1) change cran mirrors
> 2) using command line directly: R CMD INSTALL kernlab_0.9-18.tar.gz, after
> downloading the package
> 3) reset working directory
> Unfortunately, none of these solved my problem...
>
> Any suggestions are highly appreciated!
>
>
>
>
>
> --
> View this message in context:
http://r.789695.n4.nabble.com/Failed-to-install-kernlab-package-tp4679626.html
> Sent from the R help mailing list archive at Nabble.com.
>
> ______________________________________________
> 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.
>
--
Brian D. Ripley, ripley at stats.ox.ac.uk
Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/
University of Oxford, Tel: +44 1865 272861 (self)
1 South Parks Road, +44 1865 272866 (PA)
Oxford OX1 3TG, UK Fax: +44 1865 272595