包或名称空间失败

时间:2020-04-09 14:30:52

标签: r

我正在尝试安装'microdadosBrasil'软件包,但存在一些问题。在install.packages(“ remotes”)之后 remotes :: install_github(“ lucasmation / microdadosBrasil”) 该程序要求我更新de版本,并在此报告错误:

It is recommended to update all of them.
Which would you like to update?

1: All                           
2: CRAN packages only            
3: None                          
4: Rcpp (1.0.4 -> 1.0.4.6) [CRAN]

Enter one or more numbers, or an empty line to skip updates:
1
...
** building package indices
** installing vignettes
** testing if installed package can be loaded from temporary location
*** arch - i386
Error: package or namespace load failed for 'microdadosBrasil' in library.dynam(lib, package, package.lib):
 DLL 'datatable' not found: maybe not installed for this architecture?
Erro: loading failed
Execução interrompida
*** arch - x64
ERROR: loading failed for 'i386'
* removing 'C:/Users/Usuario/OneDrive/Documentos/R/win-library/3.6/microdadosBrasil'
Erro: Failed to install 'microdadosBrasil' from GitHub:
  (convertido do aviso) installation of package ‘C:/Users/Usuario/AppData/Local/Temp/RtmpOO4bHT/file3a0479d3ee9/microdadosBrasil_0.0.0.9000.tar.gz’ had non-zero exit status

1 个答案:

答案 0 :(得分:0)

我有几次遇到这个错误。通常,使用手动安装R绊到的软件包足以克服这一点。

因此,我将尝试install.packages('i386'),如果您在该软件包中遇到错误,则可能会很有帮助。通常,它们与基础语言解释器或您需要安装的某种应用程序相关。

如果看到依赖项上的错误,请继续进行深入研究,直到找到失败的根本原因。一旦安装了该软件包,基础语言或应用程序,便可以进行备份,一切都将成为现实。