Problems loading package in R - r

When I try to load fPortfolio, the following error message occures. Do someone knows how to solve this?
> library("fPortfolio")
Error: package or namespace load failed for ‘fPortfolio’ in loadNamespace(i c(lib.loc, .libPaths()), versionCheck = vI[[i]]): there is no package called ‘XML’

Firstly install XML package:
install.packages("XML")
After that, try again.

Related

Why am I getting while loading' tidyverse' library?

I installed the 'tidyverse' package but when I tried to load the library, I keep getting this error message: "Error: package or namespace load failed for ‘tidyverse’ in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]): there is no package called ‘colorspace’"
Please, help!
I tried to load the package, that worked but loading the library did not.

error in loading package arulesViz in windows 8

when I try to load package arulesViz I am getting following error.
> library('arulesViz')
Loading required package: grid
Error: package or namespace load failed for ‘arulesViz’ in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]):
there is no package called ‘iterators’
>library('iterators')
Error in library("iterators") : there is no package called ‘iterators’
install.packages("arulesViz", dependencies = TRUE)
This wil help resolve the error

error message when adding snippets package to my R library

I'm trying to make use of the R package "snippets." So, I seem to have installed it ok:
> install.packages("snippets", , "http://rforge.net/")
But then, when I go to add it to my library, I get the following error message:
> library(snippets)
Error: package or namespace load failed for ‘snippets’ in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]):
there is no package called ‘png’
I'm lost after that. Anyone know what to do?
Jerry

R: Error when loading package C50

I am receiving the below error when calling the 'C50' package. It has been installed correctly.
Error: package or namespace load failed for ‘C50’ in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]):
there is no package called ‘inum’
I have also ran the following .lib path code prior to installing and calling the library:
.libPaths(c("C:/Users/danhu/OneDrive/Documents/R/win-library/3.4", .libPaths()))
Any thoughts on why this might be happening?
You can install by using a code:
install.packages("C50", repos="http://R-Forge.R-project.org")
library(C50)
visit:https://rdrr.io/rforge/C50/

Error in require(biwavelet)

I have just downloaded biwavelet package but when trying to open it in R version 3.1.2 i get this error message:
> library(biwavelet)
Error in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]) :
there is no package called ‘spam’
Error: package or namespace load failed for ‘biwavelet’
It only happens with this package. Any clues about what is the problem here?
It seems to be missing a dependency somehow. Just run
install.packages("spam")
to install the missing package.

Resources