Hola,

Supongo que te estará preguntando si quieres instalar desde las fuentes porque hay una versión más nueva que la que hay en binario (supongo que usas Windows).

Entonces, o respondes que NO a esa pregunta, o te instalas las Rtools .

Espero que te sirva, un saludo,
Emilio


El 4 sept 2023, a las 21:23, J.M. Santiago <jms...@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
jms...@picos.com
https://sites.google.com/site/santiagojosemaria/
<0a969aa8.gif>
_______________________________________________
R-help-es mailing list
R-help-es@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-help-es
_______________________________________________
R-help-es mailing list
R-help-es@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-help-es

Responder a