Error when installing packages

Hello,

I can't install some R packages anymore.
Sometimes I get this error:

In R CMD INSTALL
Warning in install.packages :
installation of package [some pakage] had non-zero exit status

and sometimes I get this one:

Erro: Failed to install [some pakage] from GitHub:
System command 'Rcmd.exe' failed, exit status: -1, stdout + stderr empty

This occurs with many packages, but a recent one I'm trying to install is GGally:

with install.packages("GGally")
I get:
In R CMD INSTALL
Warning in install.packages :
installation of package ‘GGally’ had non-zero exit status

and with:
devtools:: install_github("ggobi/ggally")
I get: Erro: Failed to install 'GGally' from GitHub:
System command 'Rcmd.exe' failed, exit status: -1, stdout + stderr empty

if I chose not to upgrade nothing, and the CMD error if I chose to install the dependencies.

The thing is: all the packages I'm having trouble with worked before, on the same R version; they stopped working after I installed the package dada2.
Could the problem be with windows path variables (I had some problems with python)?

sessionInfo()
R version 3.5.1 (2018-07-02)
Platform: i386-w64-mingw32/i386 (32-bit)
Running under: Windows 10 x64 (build 18362)

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.