Issues when Trying to Install Packages in R

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Issues when Trying to Install Packages in R

PaulJr
Dear friends,

I recently installed the following R version:

R version 3.5.0 (2018-04-23) -- "Joy in Playing"
Copyright (C) 2018 The R Foundation for Statistical Computing
Platform: x86_64-w64-mingw32/x64 (64-bit)

However, when  trying to install package lubridate (it also happened when I
tried to install the forecast package), the following error message popped
up:

Error: package or namespace load failed for ‘lubridate’ in loadNamespace(i,
c(lib.loc, .libPaths()), versionCheck = vI[[i]]):
 there is no package called ‘stringi’

Does anyone know how to solve this problem?

Any help will be greatly appreciated,

Best regards,

Paul

        [[alternative HTML version deleted]]

______________________________________________
[hidden email] 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.
Reply | Threaded
Open this post in threaded view
|

Re: Issues when Trying to Install Packages in R

Duncan Murdoch-2
On 11/06/2018 5:15 PM, Paul Bernal wrote:

> Dear friends,
>
> I recently installed the following R version:
>
> R version 3.5.0 (2018-04-23) -- "Joy in Playing"
> Copyright (C) 2018 The R Foundation for Statistical Computing
> Platform: x86_64-w64-mingw32/x64 (64-bit)
>
> However, when  trying to install package lubridate (it also happened when I
> tried to install the forecast package), the following error message popped
> up:
>
> Error: package or namespace load failed for ‘lubridate’ in loadNamespace(i,
> c(lib.loc, .libPaths()), versionCheck = vI[[i]]):
>   there is no package called ‘stringi’
>
> Does anyone know how to solve this problem?
>

You need to install the stringi package first.  Normally that is done
automatically, but sometimes suitable versions are not available, and it
needs to be done manually.

Duncan Murdoch

______________________________________________
[hidden email] 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.
Reply | Threaded
Open this post in threaded view
|

Re: Issues when Trying to Install Packages in R

Hasan Diwan-2
Paul,
install.packages('lubridate', type='source',
repos='https://cran.rstudio.com') # worked for me

You should be able to copy/paste the line into an R session. -- H
--
OpenPGP: https://sks-keyservers.net/pks/lookup?op=get&search=0xFEBAD7FFD041BBA1
If you wish to request my time, please do so using bit.ly/hd1AppointmentRequest.
Si vous voudrais faire connnaisance, allez a bit.ly/hd1AppointmentRequest.

Sent from my mobile device
Envoye de mon portable

______________________________________________
[hidden email] 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.