the packages are not updated.

Good morning,
For several days I have tried to update the installed packages, and I have always been receiving the following alert; and the packages are not updated.
Of all the packages shown here, the one that I've been trying to update the longest is Matrix1.3-2.
How to proceed to achieve the update?

install.packages(c("coin", "crayon", "dplyr", "libcoin", "Matrix", "multcomp", "nlme"))

  There are binary versions available but the source versions are later:
          binary  source needs_compilation
coin       1.4-0   1.4-1              TRUE
crayon     1.4.0   1.4.1             FALSE
dplyr      1.0.3   1.0.4              TRUE
libcoin    1.0-7   1.0-8              TRUE
Matrix    1.2-18   1.3-2              TRUE
multcomp  1.4-15  1.4-16             FALSE
nlme     3.1-151 3.1-152              TRUE

installing the source packages ‘coin’, ‘crayon’, ‘dplyr’, ‘libcoin’, ‘Matrix’, ‘multcomp’, ‘nlme’

trying URL 'https://cran.rstudio.com/src/contrib/coin_1.4-1.tar.gz'
Content type 'application/x-gzip' length 1243156 bytes (1.2 MB)
downloaded 1.2 MB

trying URL 'https://cran.rstudio.com/src/contrib/crayon_1.4.1.tar.gz'
Content type 'application/x-gzip' length 35769 bytes (34 KB)
downloaded 34 KB

trying URL 'https://cran.rstudio.com/src/contrib/dplyr_1.0.4.tar.gz'
Content type 'application/x-gzip' length 953686 bytes (931 KB)
downloaded 931 KB

trying URL 'https://cran.rstudio.com/src/contrib/libcoin_1.0-8.tar.gz'
Content type 'application/x-gzip' length 991100 bytes (967 KB)
downloaded 967 KB

trying URL 'https://cran.rstudio.com/src/contrib/Matrix_1.3-2.tar.gz'
Content type 'application/x-gzip' length 1974981 bytes (1.9 MB)
downloaded 1.9 MB

trying URL 'https://cran.rstudio.com/src/contrib/multcomp_1.4-16.tar.gz'
Content type 'application/x-gzip' length 607641 bytes (593 KB)
downloaded 593 KB

trying URL 'https://cran.rstudio.com/src/contrib/nlme_3.1-152.tar.gz'
Content type 'application/x-gzip' length 805569 bytes (786 KB)
downloaded 786 KB

'"C:\Users\hermesr\DOCUME~1\R\R-40~1.2/bin/x64/Rterm.exe"' is not recognized as an internal or external command,
operable program or batch file.
Warning in install.packages :
  installation of package ‘crayon’ had non-zero exit status
'"C:\Users\hermesr\DOCUME~1\R\R-40~1.2/bin/x64/Rterm.exe"' is not recognized as an internal or external command,
operable program or batch file.
Warning in install.packages :
  installation of package ‘dplyr’ had non-zero exit status
'"C:\Users\hermesr\DOCUME~1\R\R-40~1.2/bin/x64/Rterm.exe"' is not recognized as an internal or external command,
operable program or batch file.
Warning in install.packages :
  installation of package ‘libcoin’ had non-zero exit status
'"C:\Users\hermesr\DOCUME~1\R\R-40~1.2/bin/x64/Rterm.exe"' is not recognized as an internal or external command,
operable program or batch file.
Warning in install.packages :
  installation of package ‘Matrix’ had non-zero exit status
'"C:\Users\hermesr\DOCUME~1\R\R-40~1.2/bin/x64/Rterm.exe"' is not recognized as an internal or external command,
operable program or batch file.
Warning in install.packages :
  installation of package ‘multcomp’ had non-zero exit status
'"C:\Users\hermesr\DOCUME~1\R\R-40~1.2/bin/x64/Rterm.exe"' is not recognized as an internal or external command,
operable program or batch file.
Warning in install.packages :
  installation of package ‘nlme’ had non-zero exit status
'"C:\Users\hermesr\DOCUME~1\R\R-40~1.2/bin/x64/Rterm.exe"' is not recognized as an internal or external command,
operable program or batch file.
Warning in install.packages :
  installation of package ‘coin’ had non-zero exit status

The downloaded source packages are in
	‘C:\Users\xxxxx\AppData\Local\Temp\Rtmpieqrxf\downloaded_packages’

R version 4.0.2 (2020-06-22) -- "Taking Off Again"
Copyright (C) 2020 The R Foundation for Statistical Computing
Platform: x86_64-w64-mingw32/x64 (64-bit)

RStudio forum

It seems like a bug or a corrupted file in R, try updating to the latest version (4.0.3).

I have updated to R version:
R version 4.0.3 (2020-10-10) - "Bunny-Wunnies Freak Out"
Copyright (C) 2020 The R Foundation for Statistical Computing
Platform: x86_64-w64-mingw32 / x64 (64-bit)

And the problem remains, the packages shown here are not updated. even though the command, install.packages, this time showed more progress!

install.packages(c("coin", "dplyr", "libcoin", "Matrix", "nlme"))

  There are binary versions available but the source versions are later:
         binary  source needs_compilation
coin      1.4-0   1.4-1              TRUE
dplyr     1.0.3   1.0.4              TRUE
libcoin   1.0-7   1.0-8              TRUE
Matrix   1.2-18   1.3-2              TRUE
nlme    3.1-151 3.1-152              TRUE

installing the source packages ‘coin’, ‘dplyr’, ‘libcoin’, ‘Matrix’, ‘nlme’

                                                 ... ....
* installing *source* package 'dplyr' ...
** package 'dplyr' successfully unpacked and MD5 sums checked
** using staged installation
** libs

*** arch - i386
"C:/rtools40/mingw32/bin/"g++ -std=gnu++11  -I"C:/Users/XXXXX/DOCUME~1/R/R-40~1.3/include" -DNDEBUG          -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign -c chop.cpp -o chop.o
C:\Users\XXXXX\AppData\Local\Temp\ccvJIBLm.s: Assembler messages:
C:\Users\XXXXX\AppData\Local\Temp\ccvJIBLm.s:9: Error: invalid instruction suffix for `push'
C:\Users\XXXXX\AppData\Local\Temp\ccvJIBLm.s:40: Error: invalid instruction suffix for `pop'
C:\Users\XXXXX\AppData\Local\Temp\ccvJIBLm.s:52: Error: invalid instruction suffix for `push'
C:\Users\XXXXX\AppData\Local\Temp\ccvJIBLm.s:55: Error: invalid instruction suffix for `push'
C:\Users\XXXXX\AppData\Local\Temp\ccvJIBLm.s:57: Error: register save offset not a multiple of 8
C:\Users\XXXXX\AppData\Local\Temp\ccvJIBLm.s:58: Error: invalid instruction suffix for `push'
C:\Users\XXXXX\AppData\Local\Temp\ccvJIBLm.s:61: Error: invalid instruction suffix for `push'
C:\Users\XXXXX\AppData\Local\Temp\ccvJIBLm.s:63: Error: register save offset not a multiple of 8
C:\Users\XXXXX\AppData\Local\Temp\ccvJIBLm.s:170: Error: invalid instruction suffix for `pop'
C:\Users\XXXXX\AppData\Local\Temp\ccvJIBLm.s:173: Error: invalid instruction suffix for `pop'
C:\Users\XXXXX\AppData\Local\Temp\ccvJIBLm.s:176: Error: invalid instruction suffix for `pop'
C:\Users\XXXXX\AppData\Local\Temp\ccvJIBLm.s:179: Error: invalid instruction suffix for `pop'
C:\Users\XXXXX\AppData\Local\Temp\ccvJIBLm.s:191: Error: invalid instruction suffix for `push'
C:\Users\XXXXX\AppData\Local\Temp\ccvJIBLm.s:194: Error: invalid instruction suffix for `push'
C:\Users\XXXXX\AppData\Local\Temp\ccvJIBLm.s:196: Error: register save offset not a multiple of 8
C:\Users\XXXXX\AppData\Local\Temp\ccvJIBLm.s:197: Error: invalid instruction suffix for `push'
C:\Users\XXXXX\AppData\Local\Temp\ccvJIBLm.s:200: Error: invalid instruction suffix for `push'
C:\Users\XXXXX\AppData\Local\Temp\ccvJIBLm.s:202: Error: register save offset not a multiple of 8
C:\Users\XXXXX\AppData\Local\Temp\ccvJIBLm.s:272: Error: invalid instruction suffix for

That is a different issue than before, you have also installed the 32-bit version of R but it seems you don't have the 32-bit version of Rtools40 correctly installed or configured.

The R installation installed both versions, as can be seen in the figure.
R installed

What should I look for in the configuration?

You can select not to install the 32 bit version and also uninstall it if you want. And the same goes for RTools40.

What commands should I type to uninstall R i386 4.0.3 only

That console has nothing to do with uninstalling programs in Windows, I don't even know if it is possible to uninstall it from a system terminal, but even if it is, that would make things harder than they need to be, a simpler option is just to uninstall R 32-bit as you would uninstall any other program on Windows.


PD: Sorry about the Spanish screenshot.

The problem I present is that the R installation is unique, they are not separated by win64 or win32.
This implies that I must completely uninstall R and During the reinstallation mark only win64?

I would say give it a try, it doesn't take much time anyways.

After uninstalling R4.0.3 and reinstalling it, all packages were updated correctly!

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

If you have a query related to it or one of the replies, start a new topic and refer back with a link.