Reputation: 39
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’
Upvotes: 0
Views: 477
Reputation: 5017
Firstly install XML
package:
install.packages("XML")
After that, try again.
Upvotes: 2