Error in compileCode
Nobody has claimed this yet.
- Dominant language
- R
- Stars
- 1.1k
- Forks
- 266
- Avg merge
- 2h 56m
- Merged PRs (30d)
- 1
Description
Summary:
Trying to use for the first time rstan::stan. I get compilation error plus some warning
Reproducible Steps:
Not reproducible but simple: stan(file="simple_poisson_regression.stan", data=stan_data)
The class of the data argument is list.
Current Output:
Error message:
Error in compileCode(f, code, language = language, verbose = verbose) :
Compilation ERROR, function(s)/method(s) not created! Warning message:
running command 'make -f "C:/PROGRA1/R/R-341.0/etc/x64/Makeconf" -f "C:/PROGRA1/R/R-341.0/share/make/winshlib.mk" SHLIB_LDFLAGS='$(SHLIB_CXXLDFLAGS)' SHLIB_LD='$(SHLIB_CXXLD)' SHLIB="file2220629d252.dll" WIN=64 TCLBIN=64 OBJECTS="file2220629d252.o"' had status 127
In addition: Warning message:
running command 'C:/PROGRA1/R/R-341.0/bin/x64/R CMD SHLIB file2220629d252.cpp 2> file2220629d252.cpp.err.txt' had status 1
RStan Version:
2.17.3
R Version:
3.4.0 (2017-04-21)
Operating System:
Windows 7 Enterprise
Thanks beforehand for your help!!
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing stan(file="simple_poisson_regression.stan", data=stan_data) with RStan 2.17.3, R 3.4.0, and Windows 7, then inspect the compiler output referenced by compileCode and the generated .err.txt file. Done means identifying a reproducible cause and a documented fix or confirming that the available report is insufficient.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- r
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100