Open grzanka opened 4 years ago
Tried:
> install.packages("Rtools")
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/Legion/Documents/R/win-library/3.6’
(as ‘lib’ is unspecified)
Warning in install.packages :
package ‘Rtools’ is not available (for R version 3.6.2)
After installing Rtools from page https://cran.r-project.org/bin/windows/Rtools/ there is still an issue:
> install.packages('libamtrack', repos='http://R-Forge.R-project.org')
Installing package into ‘C:/Users/Legion/Documents/R/win-library/3.6’
(as ‘lib’ is unspecified)
Package which is only available in source form, and may need
compilation of C/C++/Fortran: ‘libamtrack’
installing the source package ‘libamtrack’
próbowanie adresu URL 'http://R-Forge.R-project.org/src/contrib/libamtrack_0.6.4.tar.gz'
Content type 'application/x-gzip' length 1880918 bytes (1.8 MB)
downloaded 1.8 MB
* installing *source* package 'libamtrack' ...
** using staged installation
**********************************************
WARNING: this package has a configure script
It probably needs manual configuration
**********************************************
** libs
*** arch - i386
C:/Rtools/mingw_32/bin/gcc -I"C:/PROGRA~1/R/R-36~1.2/include" -DNDEBUG -I/include -DNDEBUG -O3 -Wall -std=gnu99 -mtune=generic -c AT.c -o AT.o
C:/Rtools/mingw_32/bin/gcc -I"C:/PROGRA~1/R/R-36~1.2/include" -DNDEBUG -I/include -DNDEBUG -O3 -Wall -std=gnu99 -mtune=generic -c AT_Algorithms_CPP.c -o AT_Algorithms_CPP.o
In file included from AT_Algorithms_CPP.h:39:0,
from AT_Algorithms_CPP.c:31:
AT_RDD.h:33:33: fatal error: gsl/gsl_integration.h: No such file or directory
#include <gsl/gsl_integration.h>
^
compilation terminated.
make: *** [C:/PROGRA~1/R/R-36~1.2/etc/i386/Makeconf:208: AT_Algorithms_CPP.o] Error 1
ERROR: compilation failed for package 'libamtrack'
* removing 'C:/Users/Legion/Documents/R/win-library/3.6/libamtrack'
Warning in install.packages :
installation of package ‘libamtrack’ had non-zero exit status
The downloaded source packages are in
‘C:\Users\Legion\AppData\Local\Temp\RtmpY7qZGe\downloaded_packages’
It would be worth to check if binaries packages can be made and distributed
Fresh windows with R Studio and R installed: