[R] Reg. Error: could not find function "lsei" in limSolve library
David Winsemius
dwinsemius at comcast.net
Fri Oct 28 00:43:01 CEST 2016
> On Oct 27, 2016, at 7:12 AM, arunkumar.govindaraju at hsbc.co.in wrote:
>
> Hi,
>
> I tried to load package from local zip folder in R logic and it worked.
>
>> utils:::menuInstallLocal()
> package ‘limSolve’ successfully unpacked and MD5 sums checked
>
> when tried to load.. it says,
>
>> local({pkg <- select.list(sort(.packages(all.available =
> TRUE)),graphics=TRUE)
> + if(nchar(pkg)) library(pkg, character.only=TRUE)})
> Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck
> = vI[[j]]) :
> there is no package called ‘lpSolve’
> In addition: Warning message:
> package ‘limSolve’ was built under R version 3.2.5
> Error: package or namespace load failed for ‘limSolve’
I do not see the error you are referencing about in your subject line.
The error message you are posting says that if you do not have the R package dependencies for a package in your library directories, it fails to install. (Read the error messages completely.)
And do read the Posting Guide.
>
> But my R version is 3.1.2, so can someone tell me, how to load the
> package? thx
If your desired package will not install or load after installation in an outdated version of R, then you need to install a copy from the Archives.
--
Best;
David.
>
> Regards,
> Arun
>
>
> ************************************************************
> The Hongkong and Shanghai Banking Corporation Limited
> whose registered address is 1 Queen's Road Central, Hong Kong
> ************************************************************
>
>
>
> -----------------------------------------
> *******************************************************************
> This e-mail is confidential. It may also be legally privileged.
> If you are not the addressee you may not copy, forward, disclose
> or use any part of it. If you have received this message in error,
> please delete it and all copies from your system and notify the
> sender immediately by return e-mail.
>
> Internet communications cannot be guaranteed to be timely,
> secure, error or virus-free. The sender does not accept liability
> for any errors or omissions.
> *******************************************************************
> "SAVE PAPER - THINK BEFORE YOU PRINT!"
>
> [[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.
David Winsemius
Alameda, CA, USA
More information about the R-help
mailing list