Bernoulli example after install

42 views
Skip to first unread message

Scott Raynaud

unread,
Feb 22, 2017, 1:29:53 PM2/22/17
to Stan users mailing list
I think this is related to my install, so I'll put it here.  This is  a bit of an adventure since I'm trying to install under Windows Server 2012.  The install and build seemed to go ok.  I got down to testing the Bernoulli model in the user's guide.  It seemed to compile ok, but when I tried to run the program it told me that it was mistyped or misplaced (see attachment).  Not sure what's going on here.  I'm in the right directory and I think I spelled everything right.  Any feedback would be appreciated.
Bernoulli1.docx

Daniel Lee

unread,
Feb 22, 2017, 2:03:39 PM2/22/17
to stan-...@googlegroups.com
Switch the file argument to "file=bernoulli.data.R". 

On Feb 22, 2017, at 1:29 PM, Scott Raynaud <scott....@gmail.com> wrote:

I think this is related to my install, so I'll put it here.  This is  a bit of an adventure since I'm trying to install under Windows Server 2012.  The install and build seemed to go ok.  I got down to testing the Bernoulli model in the user's guide.  It seemed to compile ok, but when I tried to run the program it told me that it was mistyped or misplaced (see attachment).  Not sure what's going on here.  I'm in the right directory and I think I spelled everything right.  Any feedback would be appreciated.

--
You received this message because you are subscribed to the Google Groups "Stan users mailing list" group.
To unsubscribe from this group and stop receiving emails from it, send an email to stan-users+...@googlegroups.com.
To post to this group, send email to stan-...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
<Bernoulli1.docx>

Scott Raynaud

unread,
Feb 22, 2017, 4:14:11 PM2/22/17
to Stan users mailing list
Perfect.  I ran the example and it matched what's in the user's guide.  This is a good sign.  However, I cannot get stansummary to run (see attachment).  What do you think is going on here?  The folder bin is present and stansummary.exe is in the folder.
Stansummary1.docx

Daniel Lee

unread,
Feb 22, 2017, 6:46:13 PM2/22/17
to stan-...@googlegroups.com
Hi Scott,

You have an extraneous backslash before the command. Instead of "\bin\stansummary.exe" it should be "bin\stansummary.exe"

For future reference, mind just pasting the image into the email or on Google groups? I think it still allows images. Just having an extra step of finding something to open a docx is inconvenient. 


Daniel
<Stansummary1.docx>

Scott Raynaud

unread,
Feb 23, 2017, 10:48:25 AM2/23/17
to Stan users mailing list
I tried your suggestion but it said it could not find the csv file.  It's in the folder with the bernoulli example.  Did I do this right?


Auto Generated Inline Image 1
Auto Generated Inline Image 2

Bob Carpenter

unread,
Feb 23, 2017, 1:44:22 PM2/23/17
to stan-...@googlegroups.com
You need a full or relative path to the output.csv file from
wherever you call the command. If those terms don't make
sense, I'd suggest learning about that first and then giving
it a try.

- Bob

> On Feb 23, 2017, at 10:48 AM, Scott Raynaud <scott....@gmail.com> wrote:
>
> I tried your suggestion but it said it could not find the csv file. It's in the folder with the bernoulli example. Did I do this right?
>
> <Auto Generated Inline Image 1.png>
>
> <Auto Generated Inline Image 2.png>
> <Auto Generated Inline Image 1.png><Auto Generated Inline Image 2.png>

Scott Raynaud

unread,
Feb 23, 2017, 2:48:15 PM2/23/17
to Stan users mailing list
Yes, that worked.  Was following the documentation that did not mention a path.  Thanks for your help.
Reply all
Reply to author
Forward
0 new messages