简体   繁体   中英

Problems loading package in 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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM