On Apr 28, 2015, at 12:43 PM, Rui Barradas wrote:
> Hello,
>
> The error message is quite clear, you must also install package
'quadprog'.
The 'quadprog' pkg is not listed as a dependency or even as
'suggested' and there is no mention of 'quadprog' in the NEWS
file, nor does a search of the 'demos' code for a call to load
"quadprog" produce a hit, and there is no mention of quadprog in the
NAMESPACE file, so the message while "clear" can still be considered
"quite unexpected".
--
David.>
> 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.
>>
>
> ______________________________________________
> 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.
David Winsemius
Alameda, CA, USA