Hi guys,
This is the first time i have tried to install R, RStudio and Rtools40, but i am getting an error that I can't fix.
This is the error that shows up:
- installing source package 'caret' ...
** package 'caret' successfully unpacked and MD5 sums checked
** using staged installation
** libs
*** arch - i386
"C:/rtools40/mingw32/bin/"gcc -I"C:/PROGRA~1/R/R-41~1.1/include" -DNDEBUG -O2 -Wall -std=gnu99 -mfpmath=sse -msse2 -mstackrealign -c caret.c -o caret.o
0 [main] make (10728) C:\rtools40\usr\bin\make.exe: *** fatal error - cygheap base mismatch detected - 0x15C2408/0x14F2408.
This problem is probably due to using incompatible versions of the cygwin DLL.
Search for cygwin1.dll using the Windows Start->Find/Search facility
and delete all but the most recent version. The most recent version should
reside in x:\cygwin\bin, where 'x' is the drive on which you have
installed the cygwin distribution. Rebooting is also suggested if you
are unable to find another cygwin DLL.
0 [main] make 809 dofork: child -1 - forked process 10728 died unexpectedly, retry 0, exit code 0xC0000142, errno 11
make: fork: Resource temporarily unavailable
ERROR: compilation failed for package 'caret'
- removing 'C:/Users/fruto/Documents/R/win-library/4.1/caret'
- restoring previous 'C:/Users/fruto/Documents/R/win-library/4.1/caret'
The downloaded source packages are in
‘C:\Users\fruto\AppData\Local\Temp\RtmpSi3vbp\downloaded_packages’
Warning message:
In install.packages(libs_para_instalar) :
installation of package ‘caret’ had non-zero exit status
-I already checked if there is more than one cygwin1.dll and there is only one.
-I googled and found a few old fixes for similar erros but non of them worked.
I am not an advance user and this is my first time trying to start a coding course, so please have that in mind when you reply
Am i doing something wrong?
Thank you.