statastan
statastan copied to clipboard
Allow users to run examples in stan-dev/example-models from Stata's Viewer
I've added a bunch of Stata help files mapping the folder structure of https://github.com/stan-dev/example-models/ so that the user could now navigate (and I hope eventually run) the various examples in the Stata Viewer, in which any files can be viewed and downloaded if not already from the master repo, and any subdirectory has a link to its own help file. This is done recursively, with the "root" help file at fork/example-models.sthlp. (The fork is here: https://github.com/felixleungsc/statastan.)
Would be nice if the examples can also be run from within the Viewer with a click! And I think it might be just an extra line to call stan...
We're going to be reorganizing this into demo models with data to run. But whatever works now should work into the future.
- Bob
On May 23, 2016, at 11:29 AM, Felix Leung [email protected] wrote:
I've added a bunch of Stata help files mapping the folder structure of https://github.com/stan-dev/example-models/ so that the user could now navigate (and I hope eventually run) the various examples in the Stata Viewer, in which any files can be viewed and downloaded if not already from the master repo, and any subdirectory has a link to its own help file. This is done recursively, with the "root" help file at fork/example-models.sthlp. (The fork is here: https://github.com/felixleungsc/statastan.)
Would be nice if the examples can also be run from within the Viewer with a click! And I think it might be just an extra line to call stan...
— You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub
Thanks for the heads up. I wrote a little script that takes a directory location and makes it browsable from within Stata, and then ran the script on a local clone of stan-dev/example-models. So any changes to that repo or a new folder on its own, I'd just run the script again so stata users always see the latest examples.
On Tue, 24 May 2016 at 04:40, Bob Carpenter [email protected] wrote:
We're going to be reorganizing this into demo models with data to run. But whatever works now should work into the future.
- Bob
On May 23, 2016, at 11:29 AM, Felix Leung [email protected] wrote:
I've added a bunch of Stata help files mapping the folder structure of https://github.com/stan-dev/example-models/ so that the user could now navigate (and I hope eventually run) the various examples in the Stata Viewer, in which any files can be viewed and downloaded if not already from the master repo, and any subdirectory has a link to its own help file. This is done recursively, with the "root" help file at fork/example-models.sthlp. (The fork is here: https://github.com/felixleungsc/statastan.)
Would be nice if the examples can also be run from within the Viewer with a click! And I think it might be just an extra line to call stan...
— You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub
— You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub https://github.com/stan-dev/statastan/issues/14#issuecomment-221052070
That's great.
On May 23, 2016, at 8:00 PM, Felix Leung [email protected] wrote:
Thanks for the heads up. I wrote a little script that takes a directory location and makes it browsable from within Stata, and then ran the script on a local clone of stan-dev/example-models. So any changes to that repo or a new folder on its own, I'd just run the script again so stata users always see the latest examples.
On Tue, 24 May 2016 at 04:40, Bob Carpenter [email protected] wrote:
We're going to be reorganizing this into demo models with data to run. But whatever works now should work into the future.
- Bob
On May 23, 2016, at 11:29 AM, Felix Leung [email protected] wrote:
I've added a bunch of Stata help files mapping the folder structure of https://github.com/stan-dev/example-models/ so that the user could now navigate (and I hope eventually run) the various examples in the Stata Viewer, in which any files can be viewed and downloaded if not already from the master repo, and any subdirectory has a link to its own help file. This is done recursively, with the "root" help file at fork/example-models.sthlp. (The fork is here: https://github.com/felixleungsc/statastan.)
Would be nice if the examples can also be run from within the Viewer with a click! And I think it might be just an extra line to call stan...
— You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub
— You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub https://github.com/stan-dev/statastan/issues/14#issuecomment-221052070
— You are receiving this because you commented. Reply to this email directly or view it on GitHub
Very cool. I'll merge this in later today.