Issues installing Rtools on corporate PC



I tried to install Rtools multiple times on my PC, but I can’t get it to work. I did get it to work before my motherboard died, but after a new motherboard and reinstall, I just can’t seem to get the C++ to work, even though I installed RTools without errors. ANd the folders are present in C:. The error I get:

C:/Rtools/mingw_64/bin/g++ -I"C:/PROGRA~1/R/R-34~1.3/include" -DNDEBUG -I"C:/Users/kronet/Documents/R/win-library/3.4/Rcpp/include" -I"C:/Users/kronet/AppData/Local/Temp/Rtmpe84mGL/sourceCpp-x86_64-w64-mingw32-0.12.15" -O3 -Wno-unused-variable -Wno-unused-function -c file342c16ae9e.cpp -o file342c16ae9e.o
4 [main] make 10684 C:\Rtools\bin\make.exe: *** fatal error in forked process - fork: can’t reserve memory for parent stack 0x2A90000 - 0x2C90000, (child has 0x2800000 - 0x2A00000), Win32 error 487
1121 [main] make 10684 cygwin_exception::open_stackdumpfile: Dumping stack trace to make.exe.stackdump
8 [main] make 11720 fork: child -1 - forked process 10684 died unexpectedly, retry 0, exit code 0x100, errno 11
make: vfork: Resource temporarily unavailable
Warning message:
running command ‘make -f “C:/PROGRA~1/R/R-34~1.3/etc/x64/Makeconf” -f “C:/PROGRA~1/R/R-34~1.3/share/make/” -f “C:/Users/kronet/Documents/.R/Makevars” SHLIB_LDFLAGS=’(SHLIB_CXXLDFLAGS)' SHLIB_LD='(SHLIB_CXXLD)’ SHLIB=“sourceCpp_2.dll” WIN=64 TCLBIN=64 OBJECTS=“file342c16ae9e.o”’ had status 2
Error in sourceCpp(code = code, env = env, rebuild = rebuild, cacheDir = cacheDir, :
Error 1 occurred building shared library.


R version 3.4.3 (2017-11-30)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows >= 8 x64 (build 9200)

Matrix products: default

[1] LC_COLLATE=Dutch_Netherlands.1252  LC_CTYPE=Dutch_Netherlands.1252    LC_MONETARY=Dutch_Netherlands.1252
[4] LC_NUMERIC=C                       LC_TIME=Dutch_Netherlands.1252    

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

loaded via a namespace (and not attached):
[1] compiler_3.4.3 tools_3.4.3    Rcpp_0.12.15  

Any help is greatly appreciated.