StatWeave -- Beta version

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 at  You may see individual files using a web browser, or using the subversion software (e.g., svn, TurtleSVN, etc.) to download it.  

[ICO]NameLast modifiedSizeDescription

[   ]BUGS2016-10-18 15:13 644 Known bugs
[TXT]CHANGELOG2016-10-18 15:12 5.6KList of recent changes
[TXT]COPYING2008-06-30 15:20 18KGnu General Public License
[DIR]OLD/2009-02-23 12:31 - Old version
[   ]StatWeave-manual.pdf2012-01-30 13:03 354KUser's manual
[TXT]Stata note - 23 June 09.html2009-06-23 14:36 1.7K 
[DIR]contrib/2012-07-16 12:25 - Constributed code
[   ]statweave.jar2016-10-15 20:02 150KJAR file for StatWeave (also its installer)
[DIR]tests/2009-02-23 17:15 - Source files for testing



Russell V. Lenth
Dept. of Statistics
University of Iowa


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 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.