TransWikia.com

Problemas ao carregar o Rcmdr

Stack Overflow em Português Asked by Amanda on January 4, 2021

Boa noite quando após instalar o pacote Rcmdr, não consigo carregá-lo para usar. Aparece essa mensagem? Alguém sabe me dizer o que posso fazer pfv?

local({pkg <- select.list(sort(.packages(all.available = TRUE)),graphics=TRUE)
+ if(nchar(pkg)) library(pkg, character.only=TRUE)})
Loading required package: splines
Loading required package: RcmdrMisc
Loading required package: car
Loading required package: carData
Error: package or namespace load failed for ‘car’ in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]):
there is no package called ‘data.table’
Error: package ‘car’ could not be loaded

One Answer

Ao instalar um pacote você pode pedir ao R para instar as dependências junto. Por exemplo:

install.packages('Rcmdr', dependencies = TRUE)

deve resolver o problema.

Answered by Flavio Barros on January 4, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP