About reading external files
Posted: Tue Mar 12, 2019 5:18 am
Hello
I am developing a package that uses stan for Bayesian analysis. Now there is a problem that stan needs to read the xxx.stan model file from outside for MCMC sampling.
I found that when I execute jmvtools:: install (), the model files are not packaged.
I now manually put the model file into the working directory of jamovi.
Jamovi-0.9.5.17-win64\bin
But I found that the working directory is not always here, so sometimes I can't find the model file (for example, the working directory is not there when I open the .omv file directly).
Any good suggestions?
Thank you
I am developing a package that uses stan for Bayesian analysis. Now there is a problem that stan needs to read the xxx.stan model file from outside for MCMC sampling.
I found that when I execute jmvtools:: install (), the model files are not packaged.
I now manually put the model file into the working directory of jamovi.
Jamovi-0.9.5.17-win64\bin
But I found that the working directory is not always here, so sometimes I can't find the model file (for example, the working directory is not there when I open the .omv file directly).
Any good suggestions?
Thank you