Não é possível instalar o pacote “dplyr” em R (Preso durante a compilação)

0

Eu encontrei o problema de R ficar parado durante a instalação de pacotes.

-DBOOST_NO_INT64_T -DBOOST_NO_INTEGRAL_INT64_T -DBOOST_NO_LONG_LONG -fpic  -g -O2 -fstack-protector >--param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -g  -c distinct.cpp -o distinct.o

g++ -I/usr/share/R/include -DNDEBUG -I../inst/include -DCOMPILING_DPLYR  -I"/usr/lib/R/site-library/Rcpp/include" -I"/usr/lib/R/site-library/BH/include"  -DBOOST_NO_INT64_T -DBOOST_NO_INTEGRAL_INT64_T -DBOOST_NO_LONG_LONG -fpic  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security >-D_FORTIFY_SOURCE=2 -g  -c dplyr.cpp -o dplyr.o

^C/usr/lib/R/etc/Makeconf:141: recipe for target 'dplyr.o' failed
make: *** [dplyr.o] Interrupt
ERROR: compilation failed for package ‘dplyr’
* removing ‘/usr/lib/R/site-library/dplyr’

The downloaded source packages are in

‘/tmp/Rtmp72KGCW/downloaded_packages’


Warning message:


In install.packages("dplyr") :

  installation of package ‘dplyr’ had non-zero exit status

Como posso instalar pacotes com / para o R?

Ubuntu 16.04 LTS em um servidor de nuvem

    
por Christopher 14.03.2017 / 09:56

1 resposta

1

Se você estiver usando uma instância do AWS t2.micro, o problema é que ela não tem memória suficiente. Você pode atualizar o tipo de instância sob ações no Console de Gerenciamento do EC2.

    
por Z.Linberg 10.04.2017 / 07:45