Also, I've tried adding a path in the .juliarc file. Its not clear to me
what subfolder in cmd stan it should point to, so I tried the following to
no avail:
CMDSTAN_HOME=/home/dfish/cmdstan-2.11.0/stan_2.11.0
CMDSTAN_HOME=/home/dfish/cmdstan-2.11.0/src/cmdstan
CMDSTAN_HOME=/home/dfish/cmdstan-2.11.0/stan_2.11.0
On Thursday, September 1, 2016 at 5:55:50 AM UTC-4, Christopher Fisher
wrote:
>
> I am encountering a problem while trying to interface Stan through Julia.
> Right now I am using Julia .4.6, Stan .3.2, Mamba .9.2 and Ubuntu 16.04. I
> have successfully installed cmd Stan and ran the Bernoulli test model.
> However, when I run Pkg.test("Stan") I get the following error:
>
> Environment variable CMDSTAN_HOME not found.
> Environment variable JULIA_SVG_BROWSER not found.
>
> Based on the Mac instructions, I tried placing the following in the
> .bashrc file
>
> export STAN_HOME=/home/dfish/cmdstan-2.11.0/stan_2.11.0/stan
> export CMDSTAN_HOME=/home/dfish/cmdstan-2.11.0/stan_2.11.0
> export JAGS_HOME=/usr/local/bin/jags
>
> Perhaps not surprisingly, that did not work. Any help would be appreciated.
>
> -Chris
>