On 7/23/12 8:36 PM, Jiqiang Guo wrote:
> RStan is done except for polishing up, bug fixes if found, and probably more documentation unless new functionality is
> needed.
Great news.
What's the status of the function/package doc
and install instructions? We can test them on Andrew.
> But there are a couple of issues.
> 1. I am looking the the effective sample size calculation now. We need something that works not slow and supports one
> chain.
I'm sure we can fix this. It's probably be
something a profiler will pick up right away.
I'll get back to it after finishing the manual
revision if Daniel doesn't fix it.
I'll post another message about one chain ESS.
> 2. In stan/gm/ast_def.cpp and probably some other place,
> we have code that writes to standard error output. R CMD check would report a warning (but not pointing out the exact
> place) for this.
I find grep -R works really well for normal code.
If there are lots of macros it's pretty useless.
I thought I'd gotten rid of them all, but apparently
not. I'll do that ASAP. We will still have some
command-line programs that write to stdout and stderr.
I'll do that right now.
> In addition, I am thinking of including boost inside RStan now as first I do not think it is easy for users of Windows
> and Mac (including Andrew)
> to install something called boost into the system's header folder.
Difficulty aside, I don't think we want to insist on putting
code in someone's system's header folder! I know, I know
Ben is going to tell me that's how people roll on Linux, but
this kind of global config has led to nothing but compatibility
heartache in my experience.
> Second at least on Linux, I could monitor all the
> file IO,
> for example, for make test-all, so that I could get a list of all boost header files that are opened. We might be able
> to downsize
> boost header files from 100M to around 20M.
Yikes -- I hadn't even realized it unpacked to that
much data. Being code, it compresses nicely.
> I am not sure this is a good idea and if I have not thought about something
> important.
I don't think any of the header includes will depend on which
model gets used. But you'll be surprised just how much of
Boost gets included.
- Bob