Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, statalist.org is already up and running.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
"Marder, Andrew" <email@example.com>
Tue, 10 Jul 2012 13:35:00 -0400
Dear Stata List,
I have also enjoyed the knitr package for R and needed to write a quick tutorial on how to use Stata. I wrote a bare bones program to evaluate and embed the results of Stata code into a markdown file. Here are the results:
Here is the function I used to create the above markdown file:
And here is the input to that function:
This is feature poor compared to R's knitr, but I think it demonstrates how useful this approach can be.
All the best, Andrew
From: "Airey, David C" <firstname.lastname@example.org>
Subject: st: markdown
Date: Thu, 14 Jun 2012 11:34:25 -0500
I was just playing around with Rstudio (I use Stata and R) and its new markdown capability (dependent on knitr and other packages). The point I wanted to make is that it is now *easy* to produce very nice HTML reports, without knowing LaTeX. This is one feature that Stata seems relatively behind with--dynamic reporting.
Over the years we have seen various solutions, some quite intricate, and we know the -file- command can create any markup output, but that is not easy as one click "knitting" in RStudio. I have used the very nice texdoc command in Stata. It has been brought up before that Stata Corp might make it easier to use light markup languages for report generation (markdown, reST).
* For searches and help try: