<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Basics of Sweave and Pweave</title>
	<atom:link href="http://www.johndcook.com/blog/2012/12/20/basics-of-sweave-and-pweave/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.johndcook.com/blog/2012/12/20/basics-of-sweave-and-pweave/</link>
	<description>John D. Cook</description>
	<lastBuildDate>Sun, 19 May 2013 20:04:12 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
	<item>
		<title>By: mark J</title>
		<link>http://www.johndcook.com/blog/2012/12/20/basics-of-sweave-and-pweave/comment-page-1/#comment-54130</link>
		<dc:creator>mark J</dc:creator>
		<pubDate>Sat, 13 Apr 2013 01:50:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.johndcook.com/blog/?p=12623#comment-54130</guid>
		<description><![CDATA[Hi John,
I find that I need to do:
Recalling the variable $a$ set above: $a = \Sexpr{a}$.

in order to get the Sweave example to work. That is, I need to include the backslash prefix to \Sexpr. While this is probably obvious to most, I am only just starting to learn LateX and so it is easy to get tripped up.
Cheers
Mark]]></description>
		<content:encoded><![CDATA[<p>Hi John,<br />
I find that I need to do:<br />
Recalling the variable $a$ set above: $a = \Sexpr{a}$.</p>
<p>in order to get the Sweave example to work. That is, I need to include the backslash prefix to \Sexpr. While this is probably obvious to most, I am only just starting to learn LateX and so it is easy to get tripped up.<br />
Cheers<br />
Mark</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: G. Poore</title>
		<link>http://www.johndcook.com/blog/2012/12/20/basics-of-sweave-and-pweave/comment-page-1/#comment-3924</link>
		<dc:creator>G. Poore</dc:creator>
		<pubDate>Wed, 23 Jan 2013 03:07:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.johndcook.com/blog/?p=12623#comment-3924</guid>
		<description><![CDATA[You might be interested in my &lt;a href=&quot;https://github.com/gpoore/pythontex&quot; rel=&quot;nofollow&quot;&gt;PythonTeX&lt;/a&gt; package for LaTeX.  It is similar to Pweave, but the document you write is actually a valid .tex document, so editing and compiling can be a bit more convenient.  PythonTeX saves or caches all output, allows user-defined sessions that automatically run in parallel, synchronizes error line numbers with the .tex document, and can be set to automatically check for modified external dependencies such as data files.  It also provides syntax highlighting of typeset code via Pygments.]]></description>
		<content:encoded><![CDATA[<p>You might be interested in my <a href="https://github.com/gpoore/pythontex" rel="nofollow">PythonTeX</a> package for LaTeX.  It is similar to Pweave, but the document you write is actually a valid .tex document, so editing and compiling can be a bit more convenient.  PythonTeX saves or caches all output, allows user-defined sessions that automatically run in parallel, synchronizes error line numbers with the .tex document, and can be set to automatically check for modified external dependencies such as data files.  It also provides syntax highlighting of typeset code via Pygments.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Beetle B.</title>
		<link>http://www.johndcook.com/blog/2012/12/20/basics-of-sweave-and-pweave/comment-page-1/#comment-3923</link>
		<dc:creator>Beetle B.</dc:creator>
		<pubDate>Sun, 13 Jan 2013 06:29:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.johndcook.com/blog/?p=12623#comment-3923</guid>
		<description><![CDATA[I&#039;ll second the use of Org Babel in Emacs. I do all my LaTeX editing through Org Mode anyway...]]></description>
		<content:encoded><![CDATA[<p>I&#8217;ll second the use of Org Babel in Emacs. I do all my LaTeX editing through Org Mode anyway&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel Soto</title>
		<link>http://www.johndcook.com/blog/2012/12/20/basics-of-sweave-and-pweave/comment-page-1/#comment-3922</link>
		<dc:creator>Daniel Soto</dc:creator>
		<pubDate>Sun, 23 Dec 2012 01:15:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.johndcook.com/blog/?p=12623#comment-3922</guid>
		<description><![CDATA[There is a utility, nbconvert, that will create LaTeX from an ipython notebook.  It should be straightforward to add a Pweave export capability.]]></description>
		<content:encoded><![CDATA[<p>There is a utility, nbconvert, that will create LaTeX from an ipython notebook.  It should be straightforward to add a Pweave export capability.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: BobC</title>
		<link>http://www.johndcook.com/blog/2012/12/20/basics-of-sweave-and-pweave/comment-page-1/#comment-3921</link>
		<dc:creator>BobC</dc:creator>
		<pubDate>Sat, 22 Dec 2012 05:09:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.johndcook.com/blog/?p=12623#comment-3921</guid>
		<description><![CDATA[For those looking for basic &quot;executable documentation&quot; (or perhaps &quot;publishable calculations&quot;) with a WYSIWYG interface, consider the MathCad-like CompPad plugin for LibreOffice/OpenOffice: http://comppad.sourceforge.net/

It isn&#039;t actively maintained at present, but still provides a great tool for quick projects.]]></description>
		<content:encoded><![CDATA[<p>For those looking for basic &#8220;executable documentation&#8221; (or perhaps &#8220;publishable calculations&#8221;) with a WYSIWYG interface, consider the MathCad-like CompPad plugin for LibreOffice/OpenOffice: <a href="http://comppad.sourceforge.net/" rel="nofollow">http://comppad.sourceforge.net/</a></p>
<p>It isn&#8217;t actively maintained at present, but still provides a great tool for quick projects.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Josh Hemann</title>
		<link>http://www.johndcook.com/blog/2012/12/20/basics-of-sweave-and-pweave/comment-page-1/#comment-3920</link>
		<dc:creator>Josh Hemann</dc:creator>
		<pubDate>Fri, 21 Dec 2012 15:13:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.johndcook.com/blog/?p=12623#comment-3920</guid>
		<description><![CDATA[It&#039;s nice seeing this side-by-side comparison with Sweave (which I have heard about for some time) and Pweave (which I did not know about). @Chris&#039;s comment about the IPython notebook was my initial take, too. John&#039;s distinction about which angle you are coming to technical documentation from is a good one though, and the next time I am writing a longer report with some code, I&#039;ll remember Pweave.]]></description>
		<content:encoded><![CDATA[<p>It&#8217;s nice seeing this side-by-side comparison with Sweave (which I have heard about for some time) and Pweave (which I did not know about). @Chris&#8217;s comment about the IPython notebook was my initial take, too. John&#8217;s distinction about which angle you are coming to technical documentation from is a good one though, and the next time I am writing a longer report with some code, I&#8217;ll remember Pweave.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peter</title>
		<link>http://www.johndcook.com/blog/2012/12/20/basics-of-sweave-and-pweave/comment-page-1/#comment-3919</link>
		<dc:creator>Peter</dc:creator>
		<pubDate>Fri, 21 Dec 2012 06:52:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.johndcook.com/blog/?p=12623#comment-3919</guid>
		<description><![CDATA[Many thanks John.  I  trust you&#039;ll have a Merry Christmas and a Happy New Year.]]></description>
		<content:encoded><![CDATA[<p>Many thanks John.  I  trust you&#8217;ll have a Merry Christmas and a Happy New Year.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John</title>
		<link>http://www.johndcook.com/blog/2012/12/20/basics-of-sweave-and-pweave/comment-page-1/#comment-3918</link>
		<dc:creator>John</dc:creator>
		<pubDate>Fri, 21 Dec 2012 00:06:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.johndcook.com/blog/?p=12623#comment-3918</guid>
		<description><![CDATA[Yes. Pweave is like Knuth&#039;s Weave, and Ptangle is like Knuth&#039;s Tangle.]]></description>
		<content:encoded><![CDATA[<p>Yes. Pweave is like Knuth&#8217;s Weave, and Ptangle is like Knuth&#8217;s Tangle.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peter</title>
		<link>http://www.johndcook.com/blog/2012/12/20/basics-of-sweave-and-pweave/comment-page-1/#comment-3917</link>
		<dc:creator>Peter</dc:creator>
		<pubDate>Thu, 20 Dec 2012 23:42:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.johndcook.com/blog/?p=12623#comment-3917</guid>
		<description><![CDATA[At the risk of asking a silly question, is there a Python equivalent of Knuth&#039;s Tangle and Weave?]]></description>
		<content:encoded><![CDATA[<p>At the risk of asking a silly question, is there a Python equivalent of Knuth&#8217;s Tangle and Weave?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John</title>
		<link>http://www.johndcook.com/blog/2012/12/20/basics-of-sweave-and-pweave/comment-page-1/#comment-3916</link>
		<dc:creator>John</dc:creator>
		<pubDate>Thu, 20 Dec 2012 16:47:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.johndcook.com/blog/?p=12623#comment-3916</guid>
		<description><![CDATA[The way I see it is you can be somewhere along a continuum between code with a little documentation and documentation with a little code.

If you&#039;re coming from the code end and want to add documentation, IPython is the way to go. But if you&#039;re coming from the document end, wanting to make a document a little more dynamic, Pweave may be preferable.

I ran into this when I wrote up a LaTeX report the other day that contained a few simple calculations. I had to change some data, and I changed &lt;em&gt;most&lt;/em&gt; of the computed values that needed to change as a result, but missed some. Then I wished I&#039;d used Pweave.]]></description>
		<content:encoded><![CDATA[<p>The way I see it is you can be somewhere along a continuum between code with a little documentation and documentation with a little code.</p>
<p>If you&#8217;re coming from the code end and want to add documentation, IPython is the way to go. But if you&#8217;re coming from the document end, wanting to make a document a little more dynamic, Pweave may be preferable.</p>
<p>I ran into this when I wrote up a LaTeX report the other day that contained a few simple calculations. I had to change some data, and I changed <em>most</em> of the computed values that needed to change as a result, but missed some. Then I wished I&#8217;d used Pweave.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris</title>
		<link>http://www.johndcook.com/blog/2012/12/20/basics-of-sweave-and-pweave/comment-page-1/#comment-3915</link>
		<dc:creator>Chris</dc:creator>
		<pubDate>Thu, 20 Dec 2012 16:08:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.johndcook.com/blog/?p=12623#comment-3915</guid>
		<description><![CDATA[The iPython notebook somewhat obviates the need for this in many cases. Markdown is so much nicer to work with day-to-day than LaTeX.]]></description>
		<content:encoded><![CDATA[<p>The iPython notebook somewhat obviates the need for this in many cases. Markdown is so much nicer to work with day-to-day than LaTeX.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John</title>
		<link>http://www.johndcook.com/blog/2012/12/20/basics-of-sweave-and-pweave/comment-page-1/#comment-3914</link>
		<dc:creator>John</dc:creator>
		<pubDate>Thu, 20 Dec 2012 16:04:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.johndcook.com/blog/?p=12623#comment-3914</guid>
		<description><![CDATA[Thanks for letting me know. Fixed that.]]></description>
		<content:encoded><![CDATA[<p>Thanks for letting me know. Fixed that.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matias</title>
		<link>http://www.johndcook.com/blog/2012/12/20/basics-of-sweave-and-pweave/comment-page-1/#comment-3913</link>
		<dc:creator>Matias</dc:creator>
		<pubDate>Thu, 20 Dec 2012 15:43:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.johndcook.com/blog/?p=12623#comment-3913</guid>
		<description><![CDATA[Nice!! Thanks for the post.
Small remark: you left a &quot;Calling R inline&quot; in the Pweave part.]]></description>
		<content:encoded><![CDATA[<p>Nice!! Thanks for the post.<br />
Small remark: you left a &#8220;Calling R inline&#8221; in the Pweave part.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bootvis</title>
		<link>http://www.johndcook.com/blog/2012/12/20/basics-of-sweave-and-pweave/comment-page-1/#comment-3912</link>
		<dc:creator>Bootvis</dc:creator>
		<pubDate>Thu, 20 Dec 2012 15:37:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.johndcook.com/blog/?p=12623#comment-3912</guid>
		<description><![CDATA[Org users can use the excellent Org Babel (http://orgmode.org/worg/org-contrib/babel/)]]></description>
		<content:encoded><![CDATA[<p>Org users can use the excellent Org Babel (<a href="http://orgmode.org/worg/org-contrib/babel/" rel="nofollow">http://orgmode.org/worg/org-contrib/babel/</a>)</p>
]]></content:encoded>
	</item>
</channel>
</rss>
