Rstan is not working anymore on my computer. Something changed in the path between Rtools and R, I suppose, but I don’t know what. Has someone a suggestion. Thanks in advance.
Error in compileCode(f, code, language = language, verbose = verbose) :
Compilation ERROR, function(s)/method(s) not created! 0 [main] make (4992) C:\Rtools\bin\make.exe: *** fatal error - cygheap base mismatch detected - 0x2F27408/0x2D37408.
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 10172 fork: child -1 - forked process 4992 died unexpectedly, retry 0, exit code 0xC0000142, 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/winshlib.mk” -f “C:/Users/HarrieJonkman/Documents/.R/Makevars” SHLIB_LDFLAGS=’$(SHLIB_CXXLDFLAGS)’ SHLIB_LD=’$(SHLIB_CXXLD)’ SHLIB=“file3a04736e5b61.dll” WIN=64 TCLBIN=64 OBJECTS=“file3a04736e5b61.o”’ had status 2
In addition: Warning message:
running command ‘C:/PROGRA~1/R/R-34~1.3/bin/x64/R CMD SHLIB file3a04736e5b61.cpp 2> file3a04736e5b61.cpp.err.txt’ had status 1
Error in map2stan(alist(log_gdp ~ dnorm(mu, sigma), mu <- a + bR * rugged + :
Something went wrong, when calling Stan. Check any debug messages for clues, detective.
Compilation ERROR, function(s)/method(s) not created! 0 [main] make (4992) C:\Rtools\bin\make.exe: *** fatal error - cygheap base mismatch detected - 0x2F27408/0x2D37408.
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 10172 fork: child -1 - forked process 4992 died unexpectedly, retry 0, exit code 0xC0000142, 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/winshlib.mk” -f "C:/Users/HarrieJ