Friedrich Leisch Sweave and Beyond: Computations on Text Documents ************************************************* In this presentation we discuss possible future directions for dynamic documents in R. The current implmentation of Sweave allows easy generation of dynamic reports using LaTeX and R, tools like the vignette browser vExplorer from the Bioconductor project provide a simple mechanism for user interaction with such documents. The next generation of Sweave has a full S4 class representation for dynamic documents, allowing much more powerfull and flexible computations on the documents. Files need not be saved in noweb format, an alternative read function handles XML files using a validating parser. This allows for document exchange with other authoring and text processing environments. Code chunks will have a dependency structure corresponding to a directed graph, allowing for conditional processing and reuse of previously stored intermediate results.