Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

RStudio installation caret error repair process

2025-01-30 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)06/01 Report--

Version Information:

RStudio-0.99.902

R 3.2.2

Install.packages ('caret', dep = TRUE)

The error message is as follows:

Load the required program package: lattice

Load the required program package: ggplot2

Error: the object 'namespace:stats' has no exit' sigma'

In addition: Warning messages:

1: Cheng Ji package 'caret' is built with R version 3.2.5.

2: Cheng Ji package 'ggplot2' is built with R version 3.3.0.

3: replacing previous import by 'stats::sigma' when loading' pbkrtest'

Error: 'failed to load caret' program package or namespace

Solution:

The version of caret dependency package pbkrtest is too high, which is pbkrtest_0.4-6. Reinstall the lower version of pbkrtest_0.4-5.tar.gz

Caret reloaded successfully.

> library (caret)

Warning message:

The program package 'caret' is built with R version 3.2.5.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Database

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report