[R-es] problemas al instalar "dplyr" - problems installing "dplyr"
J.M. Santiago
jm@@nt @end|ng |rom p|co@@com
Lun Sep 4 22:17:06 CEST 2023
Muchas gracias por la solución. Me ha funcionado. Tenía instalada una
versión un poco "vieja" de Rtools y eso puede haber influido.
Saludos,
José María
---
Dr. José María Santiago Sáez (PhD)
Madrid - España/Spain
+34 646 165 291
jmsant using picos.com
https://sites.google.com/site/santiagojosemaria/
El 04.09.2023 21:42, Carlos Ortega escribió:
> Hola José,
>
> Veo que tienes Windows, por el path que aparece en el error...
> En este caso tienes que hacer esto:
>
> * No sé si en versiones anteriores instalaste las RTools.
> * Si no es así, conviene que lo hagas "dplyr" busca un compilador para instalarse y no lo encuentra. Esto es lo que justamente te ofrece las RTools.
> * Como estás usando la versión 4.3, tienes que instalarla desde aquí: https://cran.r-project.org/bin/windows/Rtools/rtools43/rtools.html
>
> Gracias!
> Carlos.
>
> El lun, 4 sept 2023 a las 21:30, J.M. Santiago (<jmsant using picos.com>) escribió:
>
>> Hola a todos:
>>
>> He instalado las últimas versiones de R y R-studio y no consigo instalar el paquete "dplyr". Al intentarlo me da el siguiente mensaje.
>>
>> Por favor. si alguien tiene idea de cómo resolver este problema, por favor, necesito ayuda.
>>
>> Muchas gracias,
>>
>> José M.
>>
>> Hi,
>>
>> I have installed the last versions of R and R-studio but I can´t install the "dplyr" package. When I try, I get the following message.
>>
>> Please, if somebody can help me I will be very gratefull.
>>
>> Thank you very much.
>>
>> José M.
>>
>> Installing package into 'C:/Users/jmsan/AppData/Local/R/win-library/4.3'
>> (as 'lib' is unspecified)
>>
>> There is a binary version available but the source version is later:
>> binary source needs_compilation
>> dplyr 1.1.2 1.1.3 TRUE
>>
>> installing the source package 'dplyr'
>>
>> trying URL 'https://cran.rstudio.com/src/contrib/dplyr_1.1.3.tar.gz'
>> Content type 'application/x-gzip' length 1083635 bytes (1.0 MB)
>> downloaded 1.0 MB
>>
>> * installing *source* package 'dplyr' ...
>> ** package 'dplyr' successfully unpacked and MD5 sums checked
>> ** using staged installation
>> ** libs
>> g++ -std=gnu++17 -I"C:/PROGRA~1/R/R-43~1.1/include" -DNDEBUG -I"c:/rtools43/x86_64-w64-mingw32.static.posix/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c chop.cpp -o chop.o
>> sh: line 1: g++: command not found
>> make: *** [C:/PROGRA~1/R/R-43~1.1/etc/x64/Makeconf:272: chop.o] Error 127
>> ERROR: compilation failed for package 'dplyr'
>> * removing 'C:/Users/jmsan/AppData/Local/R/win-library/4.3/dplyr'
>> Warning in install.packages :
>> installation of package 'dplyr' had non-zero exit status
>>
>> ---
>>
>> Dr. José María Santiago Sáez (PhD)
>> Madrid - España/Spain
>> +34 646 165 291
>> jmsant using picos.com
>> https://sites.google.com/site/santiagojosemaria/
>> _______________________________________________
>> R-help-es mailing list
>> R-help-es using r-project.org
>> https://stat.ethz.ch/mailman/listinfo/r-help-es
>
> --
> Saludos,
> Carlos Ortega
> www.qualityexcellence.es [1]
Links:
------
[1] http://www.qualityexcellence.es
------------ próxima parte ------------
Se ha borrado un adjunto en formato HTML...
URL: <https://stat.ethz.ch/pipermail/r-help-es/attachments/20230904/0a9817b8/attachment-0001.html>
------------ próxima parte ------------
A non-text attachment was scrubbed...
Name: 0a969aa8.gif
Type: image/gif
Size: 20350 bytes
Desc: no disponible
URL: <https://stat.ethz.ch/pipermail/r-help-es/attachments/20230904/0a9817b8/attachment-0002.gif>
------------ próxima parte ------------
A non-text attachment was scrubbed...
Name: 0a969aa8.gif
Type: image/gif
Size: 20350 bytes
Desc: no disponible
URL: <https://stat.ethz.ch/pipermail/r-help-es/attachments/20230904/0a9817b8/attachment-0003.gif>
Más información sobre la lista de distribución R-help-es