Can anyone interpret this for me?

I fail to install xfun (and at times other packages) and I cannot interpret these messages. In addition, it says that xfun needs compilation == TRUE.

 There is a binary version available but the source version is later:

installing the source package �xfun�

trying URL 'https://cran.rstudio.com/src/contrib/xfun_0.18.tar.gz'
Content type 'application/x-gzip' length 89916 bytes (87 KB)
downloaded 87 KB

* installing *source* package 'xfun' ...
** package 'xfun' successfully unpacked and MD5 sums checked
** libs

*** arch - i386
c:/Rtools/mingw_32/bin/gcc  -I"C:/PROGRA~1/R/R-35~1.1/include" -DNDEBUG          -O3 -Wall  -std=gnu99 -mtune=generic -c base64.c -o base64.o
sh: c:/Rtools/mingw_32/bin/gcc: No such file or directory
make: *** [C:/PROGRA~1/R/R-35~1.1/etc/i386/Makeconf:208: base64.o] Error 127
ERROR: compilation failed for package 'xfun'
* removing 'C:/Users/<user>/Documents/R/win-library/3.5/xfun'
* restoring previous 'C:/Users/<user>/Documents/R/win-library/3.5/xfun'
In R CMD INSTALL
Warning in install.packages :
  installation of package ‘xfun’ had non-zero exit status

The downloaded source packages are in
	‘C:\Users\<user>\AppData\Local\Temp\Rtmp4sD7mX\downloaded_packages’

You seem to be running an old version of R. If you update to the most recent version, you will probably have fewer problems installing packages.

You are missing the RTools compiler for 32-bit systems, you can download RTools for your R version from here
https://cran.r-project.org/bin/windows/Rtools/history.html

But, as FJCC says, it would be better if you update your R version, precompiled binary packages are only available for the latest R versions.

This topic was automatically closed 21 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.