Closed usptact closed 4 years ago
I am getting the same issue when using conda to create the environment and then running base.r in Rstudio in Windows 10.
Hi @usptact, look here Stan has issues with MacOD Catalina https://github.com/stan-dev/rstan/wiki/Catalina-problems
Hi @jmbrowne26 , Can you give details of the issue not just a single line
Hi @s-mishra this is the error I get when running in the terminal:
Error in compileCode(f, code, language = language, verbose = verbose) :
Compilation ERROR, function(s)/method(s) not created! 2 [main] make 15816 fork: child 8608 - died waiting for dll loa
ding, errno 11
make: fork: Resource temporarily unavailable
Calls: stan_model ...
and when running in the console I get: Error in compileCode(f, code, language = language, verbose = verbose) : Compilation ERROR, function(s)/method(s) not created! file398030ec2db2.cpp:6:36: warning: ISO C99 requires whitespace after the macro name
^
make: *** [C:/Users/J5116~1.BRO/DOCUME~1/R/R-36~1.3/share/make/winshlib.mk:13: file398030ec2db2.dll] Error 127 In addition: Warning message: In system(cmd, intern = !verbose) : running command 'C:/Users/J5116~1.BRO/DOCUME~1/R/R-36~1.3/bin/x64/R CMD SHLIB file398030ec2db2.cpp 2> file398030ec2db2.cpp.err.txt' had status 1 Error in sink(type = "output") : invalid connection
I had a similar issue. I worked around it by launching a Linux VM on AWS EC2 and running Docker there. :(
Describe the bug A clear and concise description of what the bug is.
To Reproduce Steps to reproduce the behavior: $ docker run covid19model
Expected behavior Expected results folder populated and figures generated.
Calls: stan_model ... cxxfunctionplus -> -> cxxfunction -> compileCode
In addition: Warning message:
In system(cmd, intern = !verbose) :
running command '/usr/lib/R/bin/R CMD SHLIB file6f80ddb.cpp 2> file6f80ddb.cpp.err.txt' had status 1
Error in sink(type = "output") : invalid connection
Calls: stan_model -> cxxfunctionplus -> sink
Desktop (please complete the following information):
Additional context N/A