Rtools: compiling error

Hello everybody. Thanks for considering this problem of mine: I am using Rstudio with R version 3.6.3 on Windows 7, 64 bit. I installed Rtools35, and Rstudio sees the "make " system variable:


but testing Rtools, I receive the following error:

install.packages("jsonlite", type = "source")
Installing package into ‘C:/Users/nessuno/Documents/R/win-library/3.6’
(as ‘lib’ is unspecified)
provo con l'URL 'https://cran.rstudio.com/src/contrib/jsonlite_1.7.0.tar.gz'
Content type 'application/x-gzip' length 1057524 bytes (1.0 MB)
downloaded 1.0 MB

  • installing source package 'jsonlite' ...
    ** package 'jsonlite' successfully unpacked and MD5 sums checked
    ** using staged installation
    ** libs
    C:/Program Files/Rtools/mingw_64/bin/gcc -I"C:/PROGRA~1/R/R-36~1.3/include" -DNDEBUG -Iyajl/api -D__USE_MINGW_ANSI_STDIO -O2 -Wall -std=gnu99 -mtune=core2 -c base64.c -o base64.o
    sh: C:/Program: No such file or directory
    make: *** [C:/PROGRA~1/R/R-36~1.3/etc/x64/Makeconf:208: base64.o] Error 127
    ERROR: compilation failed for package 'jsonlite'
  • removing 'C:/Users/nessuno/Documents/R/win-library/3.6/jsonlite'
  • restoring previous 'C:/Users/nessuno/Documents/R/win-library/3.6/jsonlite'
    Warning in install.packages :
    installation of package ‘jsonlite’ had non-zero exit status

The downloaded source packages are in

In your opinion, why Rstudio says: "C:/Program: No such file or directory" ? What is the problem?
Thanks in advance

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