Compilation error with Rcpp e Rtools

Greetings everyone,

Currently, I am attempting to compile a .rcpp file urgently needed; however, it returns an error. I have tried the following possibilities without success:

  1. Check System Requirements
  2. Update R and RTools:
  3. Restart R Session:
  4. Install from Binary:
  5. Check Compiler Path:
  6. Install Dependencies:
  7. Create environment variables and interact with Rtools

The code is as follows:

local arquive

setwd("C:/Users/51900/Dropbox/mestrado_adi/codigos/RRBGARCH")

load

library(Rcpp)
Rcpp::sourceCpp("Estimation.cpp")

And the error:

Rcpp::sourceCpp("Estimation.cpp")
0 [main] make 101 dofork: child -1 - forked process 17128 died unexpectedly, retry 0, exit code 0xC0000142, errno 11
make: *** [C:/R/R-43~1.3/share/make/winshlib.mk:39: compilers] Error 127
Error in if (nzchar(cxx)) { : argumento tiene longitud cero
Calls: -> .shlib_internal
Además: Warning message:
In system(paste(MAKE, p1(paste("-f", shQuote(makefiles))), "compilers"), :
comando ejecutado 'make -f "C:/R/R-43~1.3/etc/x64/Makeconf" -f "C:/R/R-43~1.3/share/make/winshlib.mk" compilers' tiene estatus 2
Ejecución interrumpida
Error in Rcpp::sourceCpp("Estimation.cpp") :
Error 1 occurred building shared library.

This error indicates an issue during the compilation process, with an unexpected termination of the child process. If you have any insights or suggestions, please let me know.

Thank you!

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