StatWeave is software whereby you can embed statistical code (e.g.,
SAS, R, Stata, etc.) into a LaTeX or OpenOffice document. After
running StatWeave, the code listing, output, and graphs are added to
the document.
This is still under development; there are some rough edges, but it works
pretty well. You should look at the current list of known BUGS. To try it out., simply download the file statweave.jar, double-click on it, and follow the installation dialogs. The manual gives details. The tests directory contains some simple source files useful for testing your installation.
One possible bug now is that StatWeave may not work with OpenOffice
(3.2 and higher): OpenOffice may detect the fact that StatWeave has
modified an ODT file and thus flag it as corrupted..
A change was made in version 0.91_05, based on a suggestion by Dr. Otmar Bayer, that may have fixed this. If you still have problems, refer to this link for a possible fix (first in German, then in English).
The software is written in Java and runs on all
platforms for which a Java virtual machine (JVM, version 1.5 or
higher) is available. The accompanying files COPYING, CHANGELOG, and BUGS describe licensing and
development issues. To see the date of the most recent update, see
CHANGELOG. The date stamp on these files reflects when it was most
recently packaged.
Old version
If you are a previous user of StatWeave, this version has changed a lot, and your existing configuration file will not work. (Even its name has changed, for Unix systems.) Most importantly, the old .binary keys for languages and file conversions are completely overhauled. Now, only the command is provided in the .binary key, and the rest goes in a corresponding .args
key. I highly recommend just deleting or renaming your old
configuration, and starting over.
Source code
Source code is available in a subversion repository athttps://svn.divms.uiowa.edu/repos/rlenth/StatWeave/trunk/. You may see individual files using a web browser, or using the subversion software (e.g., svn, TurtleSVN, etc.) to download it.
This document is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2, or (at your option)
any later version.
This software is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
or the accompanying file COPYING for more details.
A copy of the GNU General Public License is available via WWW at
http://www.gnu.org/copyleft/gpl.html.
You can also obtain it by writing to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, U.S.A.