Winod Dhamnekar
2021-Dec-17 05:32 UTC
[R] FinCal and ggplot2 packages in r could not be loaded.
Hello R users community, I installed 'FinCal' and 'ggplot2' packages in r and tried to load them, but I couldn't load them. R gave me the following error.>library(FinCal)Error: package or namespace load failed for ?FinCal? in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]): there is no package called ?fansi?> library(ggplot2)Error: package or namespace load failed for ?ggplot2? in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]): there is no package called ?fansi? WMD('R' user) [[alternative HTML version deleted]]
Bert Gunter
2021-Dec-17 15:40 UTC
[R] FinCal and ggplot2 packages in r could not be loaded.
Do what what the error message suggests: install the fansi package! (You may have to switch to a different repository if the one you used doesn't have it) Bert Gunter "The trouble with having an open mind is that people keep coming along and sticking things into it." -- Opus (aka Berkeley Breathed in his "Bloom County" comic strip ) On Fri, Dec 17, 2021 at 7:36 AM Winod Dhamnekar <vinoddhamnekar11 at gmail.com> wrote:> > Hello R users community, > I installed 'FinCal' and 'ggplot2' packages in r and tried to load > them, but I couldn't load them. R gave me the following error. > > >library(FinCal) > Error: package or namespace load failed for ?FinCal? in loadNamespace(j <- > i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]): > there is no package called ?fansi? > > library(ggplot2) > Error: package or namespace load failed for ?ggplot2? in loadNamespace(j <- > i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]): > there is no package called ?fansi? > > WMD('R' user) > > [[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.
Duncan Murdoch
2021-Dec-17 15:47 UTC
[R] FinCal and ggplot2 packages in r could not be loaded.
On 17/12/2021 12:32 a.m., Winod Dhamnekar wrote:> Hello R users community, > I installed 'FinCal' and 'ggplot2' packages in r and tried to load > them, but I couldn't load them. R gave me the following error. > >> library(FinCal) > Error: package or namespace load failed for ?FinCal? in loadNamespace(j <- > i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]): > there is no package called ?fansi? >> library(ggplot2) > Error: package or namespace load failed for ?ggplot2? in loadNamespace(j <- > i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]): > there is no package called ?fansi? >You should show us how you installed them. Normally an install will fail if a required dependency is missing. Duncan Murdoch