[R] can't install rugarch and nloptr packages in R 3.01 opensuse linux
zadig_1 at excite.com
Mon Jun 17 21:11:34 CEST 2013
Indeed by following your advice I succeeded to install nloptr.
Thank you very much,
From: "Pascal Oettli" [kridox at ymail.com]
Date: 06/17/2013 05:30 AM
To: "ce" <zadig_1 at excite.com>
CC: "" <r-help at r-project.org>
Subject: Re: [R] can't install rugarch and nloptr packages in R 3.01 opensuse
I was able to install the "nloptr" package by editing the src/Makevars file.
I added the line
mv .libs lib; \
make install; \
ls | grep -v ^include$$ | grep -v ^lib$$ | xargs rm -rf; \
for NLopt compilation.
You probably should contact the package maintainer for more details.
Hope this helps,
On 16/06/13 19:42, ce wrote:
> I can't install rugarch package because installation of nloptr package fails .
> I use opensuse 12.3
> # uname -a
> Linux candide 3.7.10-1.11-desktop #1 SMP PREEMPT Thu May 16 20:27:27 UTC 2013 (adf31bb) x86_64 x86_64 x86_64 GNU/Linux
> my gcc version is 4.8.1
> I compiled and installed R 3.01 . then I tried to install rugarch package but it fails because it can't install depended package nloptr. I try to install nloptr individually with install.packages("nloptr"), i get a lot of deprecated messages and it fails. I attach log file . when I try to compile nlopt software it also gives similar messages.
> Following fails too:
> R version 3.0.1 (2013-05-16) -- "Good Sport"
> Copyright (C) 2013 The R Foundation for Statistical Computing
> Platform: x86_64-unknown-linux-gnu (64-bit)
> R is free software and comes with ABSOLUTELY NO WARRANTY.
> You are welcome to redistribute it under certain conditions.
> Type 'license()' or 'licence()' for distribution details.
> R is a collaborative project with many contributors.
> Type 'contributors()' for more information and
> 'citation()' on how to cite R or R packages in publications.
> Type 'demo()' for some demos, 'help()' for on-line help, or
> 'help.start()' for an HTML browser interface to help.
> Type 'q()' to quit R.
> Warning message:
> package ‘nloptr’ is not available (for R version 3.0.1)
> R-help at r-project.org mailing list
> 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