本文介绍了R,车包无法加载的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是R的新人,加载车库时遇到麻烦。我使用Windows 8.1(64位),我在32位R环境中工作。我下载的图书馆很好,但是当我尝试使用 library(car)加载 car get是:

除了 quantreg 之外,此消息提出要求其他几个库。我下载了其他一些图书馆,希望能够开车,但并不停止要求更多的图书馆。



有没有人有同样的问题?这也发生在我认识的一些人身上,使用不同的操作系统,大多是Windows,也是Linux。

解决方案

您安装 car 。我假设您尝试使用不会自动安装依赖关系的Rstudio进行安装。



和应该可以帮助您自动安装它们。



尝试使用命令 install.packages(car,dependencies = TRUE)重新安装



此外,您以后可以检查查看依赖,导入,建议等。


I'm new with R, and I'm having some trouble loading the car library. I use Windows 8.1 (64 bit) and i'm working in 32 bit R environment. I downloaded the library just fine, but when i try to load the car library using library(car) the message i get is:

This message came up asking for several other libraries besides quantreg. I downloaded some of those other libraries in the hope that it would be enough to run car, but it doesn't stop asking for more libraries.

Has anyone had the same issue? This also happened to some people I know, using different operating systems, mostly Windows, but also Linux.

解决方案

It seems that you did not install the dependencies automatically when you installed car. I'm assuming that you tried installing with Rstudio, which does not automatically install dependencies.

This SO post and this one should help you to install them automatically.

Try reinstalling with the command install.packages("car",dependencies=TRUE).

Additionally, in the future you can check the CRAN page to see the depends, imports, suggests, etc.

这篇关于R,车包无法加载的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-05 07:27