On 08/19/2010 11:18 PM, Donald Paul Winston wrote:
I'm experimenting using R as a report writer. I'm told LaTex is the destination for my quest. But ?latex() gives me an error. The package manager does not have it. The package installer can't find it. Where is it? It amazes me that there's not a built in "report" function that can produce the same kinds of reports that every report writer and data analysis software in the whole word can do. (see SAS, Crystal Reports, SPSS, Oracle Reports, Actuate, Hyperion, Cognos, ..etc)
As others have mentioned, LaTeX is a completely separate system with its own book, community, etc. However, it is useful and open source, so implementing yet another reporting system would not be necessary. There are several ways to generate LaTeX code from R objects. See the xtable and Hmisc packages for instance. There is also the Sweave package, that lets you write your R code within a LaTeX document, eliminating all copying and pasting steps, and making the process of updating the same report with new data easy. See some examples at http://www.stat.umn.edu/~charlie/Sweave/ There is also the rreport package from Frank Harrell's group: http://biostat.mc.vanderbilt.edu/wiki/Main/StatReport ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.