PROBLEMA CON R4.0 y los paquetes

I have a problem with the last update of R, because when installing it together with R studio, I could never install packages like R comander or Reshape2, because I use the command
install.packages ("reshape2")

pero me bota el error :
WARNING: Rtools is required to build R packages but is not currently installed. Please download and install the appropriate version of Rtools before proceeding:

https://cran.rstudio.com/bin/windows/Rtools/
Installing package into ‘C:/Users/FabiánAlvaradoGuevar/Documents/R/win-library/4.0’
(as ‘lib’ is unspecified)
probando la URL 'https://cran.rstudio.com/bin/windows/contrib/4.0/reshape2_1.4.4.zip'
Content type 'application/zip' length 814461 bytes (795 KB)
downloaded 795 KB

alguien me puede ayudar?

Puedes pegar el mensaje completo? lo que has publicado no muestra ningún mensaje de error por lo que no sabríamos con que ayudarte.

Nota: Por favor, intenta hacer tus preguntas en inglés, ya que es el idioma preferido aquí y al usar español estás excluyendo a la mayoría de personas de la conversación, reduciendo así tus posibilidades de obtener ayuda.

I have R studio 4.0 and my goal is to install packages like R comander, reshape2, xlsx and stringr.

but when trying to install with install.packages ("reshape2") it throws the following error in red:

Installing package into ‘C:/Users/FabiánAlvaradoGuevar/Documents/R/win-library/4.0’
(as ‘lib’ is unspecified)
probando la URL 'https://cran.rstudio.com/bin/windows/contrib/4.0/reshape2_1.4.4.zip'
Content type 'application/zip' length 814461 bytes (795 KB)
downloaded 795 KB

package ‘reshape2’ successfully unpacked and MD5 sums checked

The downloaded binary packages are in
C:\Users\FabiánAlvaradoGuevar\AppData\Local\Temp\Rtmp2lar9l\downloaded_packages

It should be clarified that I have already tried to install by tools and I do not get a result, thanks.

You are not showing any error message, just normal installation messages, can you explain what is your problem with this?

yes, it comes out red. Also, when I go to execute the melt function of the reshape2 package it tells me that it cannot be found.

Another way to know that it was not installed correctly is when I run library (reshape2) and the error is as follows:
Error: package or namespace load failed for ‘reshape2’ in get(Info[i, 1], envir = env):
no fue posible abrir el archivo 'C:/Users/FabiánAlvaradoGuevar/Documents/R/win-library/4.0/Rcpp/R/Rcpp.rdb': No such file or directory

The red color doesn't mean it is an error, the package has been successfully installed.

This is your actual issue, R has problems with non-ASCII characters in your windows user name, either change your username or install into the system level package library instead.

1 Like

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