[R] error in running optimx

Rui Barradas ruipbarradas at sapo.pt
Tue Apr 28 21:43:55 CEST 2015


Hello,

The error message is quite clear, you must also install package 'quadprog'.

Hope this helps,

Rui Barradas

Em 28-04-2015 20:32, Olufemi Bolarinwa escreveu:
> Hello,I tried installing optimx and got a confirmation that it was installed. However, anytime I call for it, I received the following error message
>> library("optimx", lib.loc="~/R/win-library/3.1")Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]) :   there is no package called ‘quadprog’In addition: Warning message:package ‘optimx’ was built under R version 3.1.3 Error: package or namespace load failed for ‘optimx’
> When I go ahead to run my code, I have the following error message:
> Error: could not find function "optimx"
>
> How do I go about solving this issue.
> Thanks.Olufemi
>
>
> 	[[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
> 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