<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>R-statistics blog &#187; wordpress</title>
	<atom:link href="http://www.r-statistics.com/tag/wordpress/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.r-statistics.com</link>
	<description>Writing about statistics with R, and open source stuff (software, data, community)</description>
	<lastBuildDate>Mon, 30 Jan 2012 07:45:09 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>The present and future of the R blogosphere (~7 minute video from useR2011)</title>
		<link>http://www.r-statistics.com/2011/10/the-present-and-future-of-the-r-blogosphere-a-7-minute-lightning-talk-from-user2011/</link>
		<comments>http://www.r-statistics.com/2011/10/the-present-and-future-of-the-r-blogosphere-a-7-minute-lightning-talk-from-user2011/#comments</comments>
		<pubDate>Sun, 30 Oct 2011 16:08:59 +0000</pubDate>
		<dc:creator>Tal Galili</dc:creator>
				<category><![CDATA[R]]></category>
		<category><![CDATA[R and the web]]></category>
		<category><![CDATA[R community]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[Blogs]]></category>
		<category><![CDATA[R bloggers]]></category>
		<category><![CDATA[R blogs]]></category>
		<category><![CDATA[the future of R]]></category>
		<category><![CDATA[the R blogosphere]]></category>
		<category><![CDATA[useR]]></category>
		<category><![CDATA[useR 2011]]></category>
		<category><![CDATA[WordPress.com]]></category>

		<guid isPermaLink="false">http://www.r-statistics.com/?p=818</guid>
		<description><![CDATA[This is (roughly) the lightning talk I gave in useR2011. If you are a reader of R-bloggers.com then this talk is not likely to tell you anything new. However, if you have a friend, college or student who is a new useRs of R, this talk will offer him a decent introduction to what the R [...]]]></description>
			<content:encoded><![CDATA[<div class="socialize-in-content" style="float:right;"><div class="socialize-in-button socialize-in-button-right"><iframe src="http://www.facebook.com/plugins/like.php?href=http://www.r-statistics.com/2011/10/the-present-and-future-of-the-r-blogosphere-a-7-minute-lightning-talk-from-user2011/&amp;layout=box_count&amp;show_faces=false&amp;width=50&amp;action=like&amp;font=arial&amp;colorscheme=light&amp;height=65" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:50px !important; height:65px;" allowTransparency="true"></iframe></div><div class="socialize-in-button socialize-in-button-right"><g:plusone size="tall" href="http://www.r-statistics.com/2011/10/the-present-and-future-of-the-r-blogosphere-a-7-minute-lightning-talk-from-user2011/"></g:plusone></div></div><p>This is (roughly) the lightning talk I gave in <a href="http://www.warwick.ac.uk/statsdept/user-2011/">useR2011</a>.  If you are a reader of <a href="http://www.r-bloggers.com/">R-bloggers.com</a> then this talk is not likely to tell you anything new.  However, if you have a friend, college or student who is a new useRs of R, this talk will offer him a decent introduction to what the R blogosphere is all about.</p>
<p>The talk is a call for people of the R community to participate more in reading, writing and interacting with blogs.</p>
<p>I was encouraged to record this talk per the request of Chel Hee Lee, so it may be used in the recent <a href="http://www.openstatistics.net/?page_id=1035">useR conference in Korea (2011)</a></p>
<p>The talk (briefly) goes through:</p>
<ol>
<li>The widespread influence of the R blogosphere</li>
<li>What R bloggers write about</li>
<li>How to encourage a blogger you enjoy reading to keep writing</li>
<li>How to start your own R blog (just go to <a href="http://wordpress.com/">wordpress.com</a>)</li>
<li>Basic tips about writing a blog</li>
<li>One advice about marketing your R blog (<a href="http://www.r-bloggers.com/add-your-blog/">add it to R-bloggers.com</a>)</li>
<li>And two thoughts about the future of R blogging (more bloggers and readers, and more interactive online visualization)</li>
</ol>
<p><iframe width="480" height="360" src="http://www.youtube.com/embed/I4ZhxqbgWG4" frameborder="0" allowfullscreen></iframe></p>
<p>My apologies for any of the glitches in my English.  For more talks about R, you can visit <a href="http://www.r-bloggers.com/RUG/">the R user groups blog</a>.  I hope more speakers from useR 2011 will consider uploading their talks online.</p>
<p><a href="http://www.r-statistics.com/wp-content/uploads/2011/10/Slide1-korea.gif"><img src="http://www.r-statistics.com/wp-content/uploads/2011/10/Slide1-korea-300x225.gif" alt="" title="Slide1 - korea" width="300" height="225" class="alignnone size-medium wp-image-820" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.r-statistics.com/2011/10/the-present-and-future-of-the-r-blogosphere-a-7-minute-lightning-talk-from-user2011/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>WP-CodeBox:  A better R syntax highlighter plugin for WordPress</title>
		<link>http://www.r-statistics.com/2010/10/wp-codebox-a-better-r-syntax-highlighter-plugin-for-wordpress/</link>
		<comments>http://www.r-statistics.com/2010/10/wp-codebox-a-better-r-syntax-highlighter-plugin-for-wordpress/#comments</comments>
		<pubDate>Mon, 11 Oct 2010 06:53:57 +0000</pubDate>
		<dc:creator>Tal Galili</dc:creator>
				<category><![CDATA[R]]></category>
		<category><![CDATA[R and the web]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[blogging]]></category>
		<category><![CDATA[highlight package]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[R blogger]]></category>
		<category><![CDATA[R bloggers]]></category>
		<category><![CDATA[R blogging]]></category>
		<category><![CDATA[syntax highlight]]></category>
		<category><![CDATA[wordpress plugin]]></category>
		<category><![CDATA[wp-syntax]]></category>

		<guid isPermaLink="false">http://www.r-statistics.com/?p=570</guid>
		<description><![CDATA[Today I was informed of (what I believe is) a better the best WordPress plugin for R syntax highlighting called WP-CodeBox.  This plugin doesn&#8217;t require any hacks to make it work (as opposed to the WP-Syntax plugin, which I wrote about in the past).  WP-CodeBox can be downloaded and installed on a WordPress by searching [...]]]></description>
			<content:encoded><![CDATA[<div class="socialize-in-content" style="float:right;"><div class="socialize-in-button socialize-in-button-right"><iframe src="http://www.facebook.com/plugins/like.php?href=http://www.r-statistics.com/2010/10/wp-codebox-a-better-r-syntax-highlighter-plugin-for-wordpress/&amp;layout=box_count&amp;show_faces=false&amp;width=50&amp;action=like&amp;font=arial&amp;colorscheme=light&amp;height=65" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:50px !important; height:65px;" allowTransparency="true"></iframe></div><div class="socialize-in-button socialize-in-button-right"><g:plusone size="tall" href="http://www.r-statistics.com/2010/10/wp-codebox-a-better-r-syntax-highlighter-plugin-for-wordpress/"></g:plusone></div></div><p>Today I was informed of (what I believe is) <del>a better</del> the best WordPress plugin for R syntax highlighting called <a href="http://wordpress.org/extend/plugins/wp-codebox/">WP-CodeBox</a>.  This plugin doesn&#8217;t require any hacks to make it work (as opposed to the <a href="http://wordpress.org/extend/plugins/wp-syntax/">WP-Syntax</a> plugin, which I wrote about in the past).  <a href="http://wordpress.org/extend/plugins/wp-codebox/">WP-CodeBox</a> can be downloaded and installed on a WordPress by searching for it in the &#8220;Add New&#8221; section in the plugins menu.</p>
<p>WP-CodeBox provides some nice features (some AJAX based) to the display of the code in the post:</p>
<ol>
<li>The code box in the post can now be folded (top right of the code box) so the code can be hidden so to not clutter the post (if the code is too long)</li>
<li>The code box is added with another button  (top left of the code box) which allows the reader to see the code in a new window &#8211; so to easily enable a copy paste of the code.</li>
<li>The options of the plugin allows automatic row numbering of the code, control over &#8220;tab&#8221; length and some other features.</li>
</ol>
<h3>Usage</h3>
<p>After installing (and activating) the plugin, in order to add R code to your post you will need to:<br />
1) Only work in HTML mode (not the Visual mode). Or else, the code you will paste will be messed up.<br />
2) Put your code between the &lt;pre&gt; tag, like this:</p>
<p>(Note: make sure that you rewrite the &#8221; &#8211; so it will work.)</p>
<blockquote><div id="_mcePaste">&lt;pre lang=&#8221;rsplus&#8221; line=&#8221;1&#8243;&gt;</div>
<div id="_mcePaste">&#8230;Your R code here&#8230;</div>
<div id="_mcePaste">&lt;/pre&gt;</div>
</blockquote>
<p>p.s: Lastly, my <strong>thanks </strong>goes to <a href="http://ygc.cwsurf.de/">guangchuang yu</a> who&#8217;s <a href="http://www.r-statistics.com/2010/02/r-syntax-highlight-on-your-blog-a-wordpress-plugin/comment-page-1/#comment-3328">comment on my original post</a>, and he&#8217;s <a href="http://ygc.cwsurf.de/2010/10/11/highlight-r-syntax-in-wordpress/">post on wp-codebox and R</a>, has introduced me to this better plugin.</p>
<p>p.p.s: in case you blog on WordPress.com, there is also a solution for <a href="http://www.r-statistics.com/2010/09/r-syntax-highlighting-for-bloggers-on-wordpress-com/">R syntax highlighting for WordPress.com <a href="http://www.r-statistics.com/2010/09/r-syntax-highlighting-for-bloggers-on-wordpress-com/">bloggers</a></a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.r-statistics.com/2010/10/wp-codebox-a-better-r-syntax-highlighter-plugin-for-wordpress/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>R syntax highlighting for bloggers on WordPress.com</title>
		<link>http://www.r-statistics.com/2010/09/r-syntax-highlighting-for-bloggers-on-wordpress-com/</link>
		<comments>http://www.r-statistics.com/2010/09/r-syntax-highlighting-for-bloggers-on-wordpress-com/#comments</comments>
		<pubDate>Mon, 20 Sep 2010 15:46:52 +0000</pubDate>
		<dc:creator>Tal Galili</dc:creator>
				<category><![CDATA[R]]></category>
		<category><![CDATA[R and the web]]></category>
		<category><![CDATA[R community]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[R brush]]></category>
		<category><![CDATA[syntax highlight]]></category>
		<category><![CDATA[wordpress plugin]]></category>
		<category><![CDATA[WordPress.com]]></category>

		<guid isPermaLink="false">http://www.r-statistics.com/?p=551</guid>
		<description><![CDATA[Announcing the ability to highlight R syntax in WordPress.com blogs, thanks to the recent work of Yihui Xie, Yoav Farhi and Andrew Redd.]]></description>
			<content:encoded><![CDATA[<div class="socialize-in-content" style="float:right;"><div class="socialize-in-button socialize-in-button-right"><iframe src="http://www.facebook.com/plugins/like.php?href=http://www.r-statistics.com/2010/09/r-syntax-highlighting-for-bloggers-on-wordpress-com/&amp;layout=box_count&amp;show_faces=false&amp;width=50&amp;action=like&amp;font=arial&amp;colorscheme=light&amp;height=65" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:50px !important; height:65px;" allowTransparency="true"></iframe></div><div class="socialize-in-button socialize-in-button-right"><g:plusone size="tall" href="http://www.r-statistics.com/2010/09/r-syntax-highlighting-for-bloggers-on-wordpress-com/"></g:plusone></div></div><p>Good news for<a href="http://r-bloggers.com/"> R bloggers</a> who are using <a href="http://wordpress.com/">WordPress.com</a> to host their blog.</p>
<p>This week, the good people running WordPress.com (special thanks goes to <a href="http://blog.yoavfarhi.com/">Yoav Farhi</a>), have added the ability for all the users of the WordPress.com platform to be able to highlight their R code inside posts.</p>
<p>Basically you&#8217;ll need to wrap the code in your post like this:</p>
<pre>
[sourcecode language="r"]
test.function = function(r) {
    return(pi * r^2)
}
test.function(1)
[/sourcecode]
</pre>
<p>(Which will then look like this:<br />
<img src="http://farm5.static.flickr.com/4129/5008201283_e4e81e9e0c.jpg" alt="r syntax highlighted code example" /><br />
)</p>
<p>Further details (and other supported languages) can be read about <a href="http://en.support.wordpress.com/code/posting-source-code/">on this WordPress.com support page</a>.</p>
<p>This new feature was possible thanks to the work of <a href="http://yihui.name/en"><strong>Yihui Xie</strong></a> (who create <a href="http://yihui.name/en/2010/07/my-talk-on-animations-at-user-2010/">the <del datetime="2010-09-20T19:14:44+00:00">famous </del>cool animation package</a> for R), who created a <a href="http://yihui.name/en/2010/09/syntaxhighlighter-brush-for-the-r-language/">R syntax brush for the syntaxhighlighter WordPress plugin</a> (the plugin used by WordPress.com for sytnax highlighting) <clapping hands>.  And thanks should also go to <a href="http://r.andrewredd.us/">Andrew Redd</a>, the creator of <a href="http://r.andrewredd.us/?p=7">NppToR</a> (which connects between notepad++ to R).  He both made some good suggestions, and was game to take on the brush creation in case there would be problems, which thankfully so far there aren&#8217;t any)</p>
<p>p.s: If you are a WordPress.org users (e.g: have a self hosted WordPress blog) and want to enable R syntax highlighting for your blog, I would recommend the use of the <a href="http://www.r-statistics.com/2010/02/r-syntax-highlight-on-your-blog-a-wordpress-plugin/">WP-Syntax plugin (enhanced with GeSHi version 1.0.8.6)</a> which can be <a href="http://www.r-statistics.com/wp-content/uploads/2010/02/wp-syntax-0.9.8-GeShi-1.0.8.6.zip">downloaded here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.r-statistics.com/2010/09/r-syntax-highlighting-for-bloggers-on-wordpress-com/feed/</wfw:commentRss>
		<slash:comments>18</slash:comments>
		</item>
		<item>
		<title>Blogging about R &#8211; presentation and audio</title>
		<link>http://www.r-statistics.com/2010/07/blogging-about-r-presentation-and-audio/</link>
		<comments>http://www.r-statistics.com/2010/07/blogging-about-r-presentation-and-audio/#comments</comments>
		<pubDate>Thu, 29 Jul 2010 01:48:29 +0000</pubDate>
		<dc:creator>Tal Galili</dc:creator>
				<category><![CDATA[R]]></category>
		<category><![CDATA[R community]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[blog]]></category>
		<category><![CDATA[blogging]]></category>
		<category><![CDATA[useR]]></category>
		<category><![CDATA[useR conference]]></category>
		<category><![CDATA[useR2010]]></category>

		<guid isPermaLink="false">http://www.r-statistics.com/?p=499</guid>
		<description><![CDATA[At the useR!2010 conference I had the honor of giving a (~15 minute) talk titled &#8220;Blogging about R&#8221;. The following is the abstract I submited, followed by the slides of the talk and the audio file of a recording I made of the talk (I am sad it got a bit of &#8220;hall echo&#8221;, but [...]]]></description>
			<content:encoded><![CDATA[<div class="socialize-in-content" style="float:right;"><div class="socialize-in-button socialize-in-button-right"><iframe src="http://www.facebook.com/plugins/like.php?href=http://www.r-statistics.com/2010/07/blogging-about-r-presentation-and-audio/&amp;layout=box_count&amp;show_faces=false&amp;width=50&amp;action=like&amp;font=arial&amp;colorscheme=light&amp;height=65" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:50px !important; height:65px;" allowTransparency="true"></iframe></div><div class="socialize-in-button socialize-in-button-right"><g:plusone size="tall" href="http://www.r-statistics.com/2010/07/blogging-about-r-presentation-and-audio/"></g:plusone></div></div><p>At the <a href="http://user2010.org/">useR!2010</a> conference I had the honor of giving a (~15 minute) talk titled &#8220;Blogging about R&#8221;. The following is the abstract I submited, followed by the slides of the talk and the audio file of a recording I made of the talk (I am sad it got a bit of &#8220;hall echo&#8221;, but it&#8217;s still listenable&#8230;)</p>
<p><em>P.S: this post <strong>does not</strong> absolve me from writing up something (with many thanks and links to people) about the useR2010 conference, but I can see it taking a bit longer till I do that.<br />
</em><br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</p>
<h3>Abstract of the talk</h3>
<p>This talk is a basic introduction to blogs: why to blog, how to blog, and the importance of the R blogosphere to the R community.</p>
<p>Because R is an open-source project, the R community members rely (mostly) on each other&#8217;s help for statistical guidance, generating useful code, and general moral support.</p>
<p>Current online tools available for us to help each other include the R mailing lists, the community R-wiki, and the R blogosphere. The emerging R blogosphere is the only source, besides the R journal, that provides our community with articles about R. While these articles are not peer reviewed, they do come in higher volume (and often are of very high quality).</p>
<p>According to the meta-blog <a href="http://www.r-bloggers.com/">R-bloggers.com</a>, the (English) R blogosphere has produced, in January 2010, about 115 &#8220;articles&#8221; about R. There are (currently) a bit over 50 bloggers (now about 100) who write about R, with about 1000 (now ~2200) subscribers who read them daily (through e-mails or RSS). These numbers allow me to believe that there is a genuine interest in our community for more people &#8211; perhaps you? &#8211; to start (and continue) blogging about R.</p>
<p>In this talk I intend to share knowledge about blogging so that more people are able to participate (freely) in the R blogosphere &#8211; both as readers and as writers. The talk will have three main parts:</p>
<ul>
<li>What is a blog</li>
<li>How to blog – using the (free) blogging service WordPress.com (with specific emphasis on R)</li>
<li>How to develop readership &#8211; integration with other social media/networks platforms, SEO, and other best practices</li>
</ul>
<p>* * *<br />
Tal Galili founded <a href="http://www.R-bloggers.com">www.R-bloggers.com</a> and blogs on <a href="http://www.R-statistics.com">www.R-statistics.com</a><br />
* * *</p>
<h3>Audio recording of the talk</h3>
<p><span id="more-499"></span><br />
<a href="http://www.r-statistics.com/wp-content/uploads/2010/07/Tal Galili - Blogging about R - useR2010.ogg">Click here to download the audio file</a></p>
<p>(I apologies for the, sometimes, unclear recording &#8211; and hope you will still find the talk to be of some use to you)</p>
<p><object width="320" height="240" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="src" value="http://www.r-statistics.com/wp-content/uploads/2010/07/Tal Galili - Blogging about R - useR2010.ogg" /><embed width="320" height="240" type="application/x-shockwave-flash" src="http://www.r-statistics.com/wp-content/uploads/2010/07/Tal Galili - Blogging about R - useR2010.ogg" /></object></p>
<h3>Slides</h3>
<p class="gde-text"><a href="http://www.r-statistics.com/wp-content/uploads/2010/07/Blogging%20about%20R.pdf" target="_blank" class="gde-link">Download (PDF, 5.09MB)</a></p>
<iframe src="http://docs.google.com/viewer?url=http%3A%2F%2Fwww.r-statistics.com%2Fwp-content%2Fuploads%2F2010%2F07%2FBlogging%2520about%2520R.pdf&hl=en_US&embedded=true" class="gde-frame" style="width:500px; height:700px; border: none;" scrolling="no"></iframe>


]]></content:encoded>
			<wfw:commentRss>http://www.r-statistics.com/2010/07/blogging-about-r-presentation-and-audio/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Highlight the R syntax on your (WordPress) blog using the wp-syntax plugin</title>
		<link>http://www.r-statistics.com/2010/02/r-syntax-highlight-on-your-blog-a-wordpress-plugin/</link>
		<comments>http://www.r-statistics.com/2010/02/r-syntax-highlight-on-your-blog-a-wordpress-plugin/#comments</comments>
		<pubDate>Fri, 12 Feb 2010 09:48:38 +0000</pubDate>
		<dc:creator>Tal Galili</dc:creator>
				<category><![CDATA[R]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[blogging]]></category>
		<category><![CDATA[emac]]></category>
		<category><![CDATA[emacs]]></category>
		<category><![CDATA[highlight package]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[R blogger]]></category>
		<category><![CDATA[R bloggers]]></category>
		<category><![CDATA[R blogging]]></category>
		<category><![CDATA[syntax highlight]]></category>
		<category><![CDATA[wordpress plugin]]></category>
		<category><![CDATA[wp-syntax]]></category>

		<guid isPermaLink="false">http://www.r-statistics.com/?p=119</guid>
		<description><![CDATA[Update (11.10.10): I found a better solution for R syntax highlighting then the one presented in this post. The plugin is called WP-CodeBox, and I wrote about it on the post &#8211; WP-CodeBox: A better R syntax highlighter plugin for WordPress Download link for WP-Syntax plugin (with GeSHi version 1.0.8.6) In case you have a [...]]]></description>
			<content:encoded><![CDATA[<div class="socialize-in-content" style="float:right;"><div class="socialize-in-button socialize-in-button-right"><iframe src="http://www.facebook.com/plugins/like.php?href=http://www.r-statistics.com/2010/02/r-syntax-highlight-on-your-blog-a-wordpress-plugin/&amp;layout=box_count&amp;show_faces=false&amp;width=50&amp;action=like&amp;font=arial&amp;colorscheme=light&amp;height=65" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:50px !important; height:65px;" allowTransparency="true"></iframe></div><div class="socialize-in-button socialize-in-button-right"><g:plusone size="tall" href="http://www.r-statistics.com/2010/02/r-syntax-highlight-on-your-blog-a-wordpress-plugin/"></g:plusone></div></div><table border="1">
<tr>
<td>
<strong>Update (11.10.10):</strong> I found a better solution for R syntax highlighting then the one presented in this post.  The plugin is called WP-CodeBox, and I wrote about it on the post &#8211; <a href="http://www.r-statistics.com/2010/10/wp-codebox-a-better-r-syntax-highlighter-plugin-for-wordpress/">WP-CodeBox: A better R syntax highlighter plugin for WordPress</a>
</td>
</tr>
</table>
<table border="1">
<tr>
<td>
<strong><a href="http://www.r-statistics.com/wp-content/uploads/2010/02/wp-syntax-0.9.8-GeShi-1.0.8.6.zip">Download link for WP-Syntax plugin (with GeSHi version 1.0.8.6)</a></strong>
</td>
</tr>
</table>
<p>In case you have a <a href="http://wordpress.org/">self hosted WordPress blog</a>, and you wish to show your R code in it, how would you do it?</p>
<p>The simplest solution would be to just paste the code as plain text, which will look like this:</p>
<blockquote><p>x &lt;- rnorm(100, mean = 2, sd = 3)<br />
plot(x, xlab = &#8220;index&#8221;, main = &#8220;Example code&#8221;)</p></blockquote>
<p>But if you would like to help our readers orient themselves inside your code by giving different colors to different commands in the code (a.k.a: syntax highlighting). So it would like something like this:</p>

<div class="wp_codebox"><table><tr id="p1192"><td class="line_numbers"><pre>1
2
</pre></td><td class="code" id="p119code2"><pre class="rsplus" style="font-family:monospace;">x <span style="color: #080;">&lt;-</span> <span style="color: #0000FF; font-weight: bold;">rnorm</span><span style="color: #080;">&#40;</span><span style="color: #ff0000;">100</span>, <span style="color: #0000FF; font-weight: bold;">mean</span> <span style="color: #080;">=</span> <span style="color: #ff0000;">2</span>, <span style="color: #0000FF; font-weight: bold;">sd</span> <span style="color: #080;">=</span> <span style="color: #ff0000;">3</span><span style="color: #080;">&#41;</span> <span style="color: #228B22;"># Creating a vector</span>
<span style="color: #0000FF; font-weight: bold;">plot</span><span style="color: #080;">&#40;</span>x, xlab <span style="color: #080;">=</span> <span style="color: #ff0000;">&quot;index&quot;</span>, main <span style="color: #080;">=</span> <span style="color: #ff0000;">&quot;Example code&quot;</span><span style="color: #080;">&#41;</span> <span style="color: #228B22;"># Plotting it</span></pre></td></tr></table></div>

<p>How then would you do it?</p>
<h3>Plugin Installation</h3>
<p>The easiest way to do this inside a <a href="http://wordpress.org/">self hosted WordPress </a>blog is by<a href="http://codex.wordpress.org/Managing_Plugins#Installing_Plugins"> installing a plugin</a> called <a href="http://wordpress.org/extend/plugins/wp-syntax/">WP-Syntax</a>:</p>
<blockquote><p>WP-Syntax provides clean syntax highlighting using GeSHi &#8212; supporting a wide range of popular languages (including R). It supports highlighting with or without line numbers and maintains formatting while copying snippets of code from the browser.</p></blockquote>
<p>But there is<strong> a problem</strong>. The current WP-Syntax version is using an old version of GeSHi, and only the newer version (currently GeSHi version 1.0.8.6) includes support for R syntax. In order to <strong>solve this</strong> I patched the plugin and I encourage you to <strong><a href="http://www.r-statistics.com/wp-content/uploads/2010/02/wp-syntax-0.9.8-GeShi-1.0.8.6.zip">download (the fixed version of) WP-Syntax from here</a></strong>, which will allow you to highlight your R code.</p>
<h3>Usage</h3>
<p>After installing (and activating) the plugin, in order to add R code to your post you will need to:<br />
1) Only work in HTML mode (not the Visual mode). Or else, the code you will paste will be messed up.<br />
2) Put your code between the &lt;pre&gt; tag, like this:</p>
<p>(Note: make sure that you rewrite the &#8221; &#8211; so it will work.)</p>
<blockquote><div id="_mcePaste">&lt;pre lang=&#8221;rsplus&#8221; line=&#8221;1&#8243;&gt;</div>
<div id="_mcePaste">&#8230;Your R code here&#8230;</div>
<div id="_mcePaste">&lt;/pre&gt;</div>
</blockquote>
<h3>Final note: R Syntax highlight in other ways</h3>
<p>If you wish to have R syntax higlight inside an HTML file, I encourage you can have a look at the <a href="http://romainfrancois.blog.free.fr/index.php?post/2009/11/22/new-R-package-:-highlight">highlight package</a>, by Romain Francois.</p>
<p>If you want to higlight your R syntax inside <a href="http://wordpress.com">wordpress.com</a>, here is <a href="http://blogisticreflections.wordpress.com/2009/09/20/welcome-to-blogistic-reflections/">a blog post</a> by Erik Iverson showing how to do that using Emacs.</p>
<p><strong>p.s: If you have a blog in which you write about R, please let me know about it in the comments (Or just <a href="http://www.r-bloggers.com/add-your-blog/">join R-bloggers.com</a>) &#8211; I&#8217;d love to follow you <img src='http://www.r-statistics.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </strong></p>
<p><strong>Update: </strong> Stephen Turner wrote about <a href="http://gettinggeneticsdone.blogspot.com/2010/09/embed-rstats-code-with-syntax.html">a syntax highlighting solution for R and blogger using github gist</a>.  And also mentioned there another solution for self hosted wordpress blogs, via  <a href="http://www.cerebralmastication.com/">J.D. Long</a>: a <a href="http://www.entropytheblog.com/blog/2008/12/wordpress-github-gist-shortcode-plugin/">Github Gist plugin for WordPress</a>.  Go publish code <img src='http://www.r-statistics.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.r-statistics.com/2010/02/r-syntax-highlight-on-your-blog-a-wordpress-plugin/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
		<item>
		<title>Statistics plugins for WordPress</title>
		<link>http://www.r-statistics.com/2010/02/statistics-plugins-for-wordpress/</link>
		<comments>http://www.r-statistics.com/2010/02/statistics-plugins-for-wordpress/#comments</comments>
		<pubDate>Mon, 01 Feb 2010 19:17:38 +0000</pubDate>
		<dc:creator>Tal Galili</dc:creator>
				<category><![CDATA[statistics]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[WordPress and Statistics]]></category>
		<category><![CDATA[avinash kushnik]]></category>
		<category><![CDATA[crazy egg]]></category>
		<category><![CDATA[google analytics]]></category>
		<category><![CDATA[nuconomy]]></category>
		<category><![CDATA[piwik]]></category>
		<category><![CDATA[plugins]]></category>
		<category><![CDATA[web analytics]]></category>
		<category><![CDATA[webanalytics]]></category>
		<category><![CDATA[woopra]]></category>

		<guid isPermaLink="false">http://www.r-statistics.com/?p=65</guid>
		<description><![CDATA[Today I came across a post named &#8220;24 Noble WordPress Plugins To Determine The Performance of your Blog&#8221; through Weblog Tools Collection (one of my favorite places to stay updates on wordpress). The post provided a good solid list of statistics plugins for wordpress. Some of them are too old to count (pun intended), others [...]]]></description>
			<content:encoded><![CDATA[<div class="socialize-in-content" style="float:right;"><div class="socialize-in-button socialize-in-button-right"><iframe src="http://www.facebook.com/plugins/like.php?href=http://www.r-statistics.com/2010/02/statistics-plugins-for-wordpress/&amp;layout=box_count&amp;show_faces=false&amp;width=50&amp;action=like&amp;font=arial&amp;colorscheme=light&amp;height=65" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:50px !important; height:65px;" allowTransparency="true"></iframe></div><div class="socialize-in-button socialize-in-button-right"><g:plusone size="tall" href="http://www.r-statistics.com/2010/02/statistics-plugins-for-wordpress/"></g:plusone></div></div><p>Today I came across a post named &#8220;<a href="http://www.appsheriff.com/software/tools-software/24-noble-wordpress-plugins-to-determine-the-performance-of-your-blog/">24 Noble WordPress Plugins To Determine The Performance of your Blog</a>&#8221; through <a href="http://weblogtoolscollection.com/archives/2010/01/31/24-plugins-for-stats-junkies/">Weblog Tools Collection</a> (one of my favorite places to stay updates on wordpress). The post provided a good solid list of statistics plugins for wordpress. Some of them are <a href="http://gdymov.com/inbound-links-backlinks-wordpress-plugin/">too old to count</a> (pun intended), others are much more recent and relevant.</p>
<p>As a statistics (and WordPress) lover myself, I was inspired to extend the list of <strong><span style="text-decoration: underline;">wordpress statistics plugins</span></strong> for the hope of benefiting the community:<br />
<a href="http://wordpress.org/extend/plugins/blog-metrics/"><strong>Blog Metrics</strong></a><br />
This plugin is based on ideas in an <a onclick="javascript:pageTracker._trackPageview('/outbound/article/www.kaushik.net');" href="http://www.kaushik.net/avinash/2007/11/blog-metrics-six-recommendations-for-measuring-your-success.html">excellent post</a> by <a href="http://www.kaushik.net">Avinash Kaushik</a> (Whom I consider a Web analytics <strong>guru</strong> and a brilliant blogger!).</p>
<blockquote><p>it calculates:</p>
<ul>
<li> Raw Author Contribution:
<ul>
<li>average number of posts per month</li>
<li>average number of words per post</li>
</ul>
</li>
<li>Conversation Rate:
<ul>
<li>average number of comments per post<em>without your own comments</em></li>
<li><em><span style="font-style: normal;">average number of words used in comments to posts</span></em></li>
</ul>
</li>
</ul>
<p style="padding-left: 30px;">Both for all the time you&#8217;ve been blogging, and for the last month, it then adds these values in a page on your WordPress dashboard.</p>
<p><a title="Blog Metrics for a single author blog" href="http://yoast.com/wp-content/uploads/2007/12/blog-metrics-single-author-blog.png"><img src="http://yoast.com/wp-content/uploads/2007/12/blog-metrics-single-author-blog.thumbnail.png" alt="Blog Metrics for a single author blog" /></a><a title="Blog metrics per author" href="http://yoast.com/wp-content/uploads/2007/12/per-author-stats.png"><img src="http://yoast.com/wp-content/uploads/2007/12/per-author-stats.thumbnail.png" alt="Blog metrics per author" /></a></p></blockquote>
<p><a href="http://wordpress.org/extend/plugins/search-meter/"><strong>Search Meter</strong></a></p>
<p>This plugin is a must for any blogger. Period.</p>
<blockquote><p>If you have a Search box on your blog, Search Meter automatically records what people are searching for &#8212; and whether they are finding what they are looking for. Search Meter&#8217;s admin interface shows you what people have been searching for in the last couple of days, and in the last week or month. It also shows you which searches have been unsuccessful. If people search your blog and get no results, they&#8217;ll probably go elsewhere. With Search Meter, you&#8217;ll be able to find out what people are searching for, and give them what they want by creating new posts on those topics.  [...]</p></blockquote>
<p><a href="http://wordpress.org/extend/plugins/google-analytics-dashboard/"><strong>Google analytics Dashboard</strong></a></p>
<blockquote><p>Google Analytics Dashboard gives you the ability to view your Google Analytics data in your WordPress dashboard. You can also alow other users to see the same dashboard information when they are logged in or embed parts of the data into posts or as part of your theme.</p></blockquote>
<p>The biggest advantage of this plugin in my view is that it adds <a title="sparklines " href="http://en.wikipedia.org/wiki/Sparkline">sparklines</a> in the &#8220;posts -&gt; edit&#8221; page in the admin area.<br />
<a href="http://wordpress.org/extend/plugins/analytics360/"></a></p>
<p><a href="http://wordpress.org/extend/plugins/analytics360/"><strong>Analytics360</strong></a><br />
I don&#8217;t use this one much. But one feature it has that I find interesting is that is adds information of when you posted something with the trend line of the google analytics traffic data. It also mixes data from MailChimp&#8217;s, which I don&#8217;t use.</p>
<blockquote><p>MailChimp&#8217;s Analytics360 plugin allows you to pull Google Analytics and MailChimp data directly into your dashboard, so you can access robust analytics tools without leaving WordPress.</p></blockquote>
<p><a href="http://wordpress.org/extend/plugins/broken-link-checker/"><strong>Broken Link Checker</strong></a><br />
This plugin is also a must.</p>
<blockquote><p>This plugin will monitor your blog looking for broken links and let you know if any are found.</p>
<ul>
<li>Monitors links in your posts, pages, the blogroll, and custom fields (optional).</li>
<li>Detects links that don&#8217;t work and missing images.</li>
<li>Notifies you on the Dashboard if any are found.</li>
<li>Also detects redirected links.</li>
<li>Makes broken links display differently in posts (optional).</li>
<li>Link checking intervals can be configured.</li>
<li>New/modified posts are checked ASAP.</li>
<li>You view broken links, redirects, and a complete list of links used on your site, in the <em>Tools -&gt; Broken Links</em> tab.</li>
<li>Searching and filtering links by URL, anchor text and so on is also possible.</li>
<li>Each link can be edited or unlinked directly via the plugin&#8217;s page, without manually editing each post.</li>
</ul>
</blockquote>
<p><strong><span style="text-decoration: underline;">Piwik + </span></strong><a href="http://wordpress.org/extend/plugins/wp-piwik/"><strong>WP-Piwik</strong></a></p>
<blockquote><p>This plugin adds a <a href="http://piwik.org/">Piwik </a>stats site to your WordPress dashboard. It&#8217;s also able to add the Piwik tracking code to your blog.<br />
<a title="Piwik " href="http://en.wikipedia.org/wiki/Piwik">Piwik</a> is an open source (GPL licensed) web analytics software program. It provides you with detailed real time reports on your website visitors: the search engines and keywords they used, the language they speak, your popular pages and so on…</p></blockquote>
<p>You can install Piwik more or less like you install WordPress, and then you are left to integrate it into your blog. The only real down side of it for me (compared to google analytics) is the advanced segmentation and pivoting. But in general it is a free, great (and growing!) Web analytics solution.<br />
<a href="http://wordpress.org/extend/plugins/woopra/"></a></p>
<p><a href="http://wordpress.org/extend/plugins/woopra/"><strong>Woopra Analytics Plugin</strong></a><br />
I have been using Woopra since their release thanks to <a href="http://lorelle.wordpress.com/2008/03/30/whooping-woopra-blog-statistics-program/">lorelle</a>. I enjoy the ability to follow the live actions that are happening inside the blog. Although since woopra went from BETA to GOLD, I lost most interest because the total blogs I track have more traffic volume then woopra allow tracking in their free account. But small bloggers could find the service gratifying.</p>
<blockquote><p>Woopra is the world&#8217;s most comprehensive, information rich, easy to use, real-time Web tracking and analysis application.</p>
<p>Features include:</p>
<ul>
<li>Live Tracking and Web Statistics</li>
<li>A rich user interface and client monitoring application</li>
<li>Real-time Analytics</li>
<li>Manage Multiple Blogs and Websites</li>
<li>Deep analytic and search capabilities</li>
<li>Click-to-chat</li>
<li>Visitor and member tagging</li>
<li>Real-time notifications</li>
<li>Easy Installation and Update Notification</li>
</ul>
</blockquote>
<h2>Final notes</h2>
<p>If you are into web analytics, I also encourage you to give the following a try: <a href="http://www.nuconomy.com/">Nuconomy</a>,<a href="http://www.clicktale.com/">ClickTale</a>, <a href="http://crazyegg.com/">Crazy Egg</a>. And of course, <a href="http://www.google.com/analytics/">Google analytics</a>. Each of them (and also Woopra) strips you and your visitors a bit more from their privacy. But that is the ultimate price we pay for the strong Web analytics solutions that exists out there.<br />
If you got any more <strong>statistics plugins</strong> I missed, feel encouraged to share them with me in the comments <img src='http://www.r-statistics.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.r-statistics.com/2010/02/statistics-plugins-for-wordpress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Simple visualization of a 11X5 table (for WordPress 2.9 Features Vote Results)</title>
		<link>http://www.r-statistics.com/2009/07/simple-visualization-of-a-11x5-table-for-wordpress-2-9-features-vote-results/</link>
		<comments>http://www.r-statistics.com/2009/07/simple-visualization-of-a-11x5-table-for-wordpress-2-9-features-vote-results/#comments</comments>
		<pubDate>Fri, 31 Jul 2009 23:24:21 +0000</pubDate>
		<dc:creator>Tal Galili</dc:creator>
				<category><![CDATA[WordPress and Statistics]]></category>
		<category><![CDATA[opensource community]]></category>
		<category><![CDATA[survey]]></category>
		<category><![CDATA[tables]]></category>
		<category><![CDATA[visualization]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.r-statistics.com/?p=20</guid>
		<description><![CDATA[I guess this is not the number one post I would like to start with on this blog, but I feel the time is right for it (community-wise). I&#8217;ll move on to the subject matter in a moment, but first a short intro: This blog is written by Tal Galili. I am an aspiring statistician [...]]]></description>
			<content:encoded><![CDATA[<div class="socialize-in-content" style="float:right;"><div class="socialize-in-button socialize-in-button-right"><iframe src="http://www.facebook.com/plugins/like.php?href=http://www.r-statistics.com/2009/07/simple-visualization-of-a-11x5-table-for-wordpress-2-9-features-vote-results/&amp;layout=box_count&amp;show_faces=false&amp;width=50&amp;action=like&amp;font=arial&amp;colorscheme=light&amp;height=65" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:50px !important; height:65px;" allowTransparency="true"></iframe></div><div class="socialize-in-button socialize-in-button-right"><g:plusone size="tall" href="http://www.r-statistics.com/2009/07/simple-visualization-of-a-11x5-table-for-wordpress-2-9-features-vote-results/"></g:plusone></div></div><p style="text-align: center;"><a href="http://www.flickr.com/photos/44742295@N00/2496109349"><img class="aligncenter" title="Simply Something Sophisicated - a WordPress poster" src="http://farm4.static.flickr.com/3063/2496109349_949c62ec2b_m.jpg" border="0" alt="Simply Something Sophisicated - a WordPress poster" hspace="5" /></a></p>
<p>I guess this is not the number one post I would like to start with on this blog, but I feel the time is right for it (community-wise).</p>
<p>I&#8217;ll move on to the subject matter in a moment, but first a short intro: This blog is written by Tal Galili. I am an aspiring statistician who also loves to use <a title="R" href="http://www.r-statistics.com/2009/03/what-is-r/">R</a> for his work. At the same time I am also a <a title="WordPress " href="http://en.wikipedia.org/wiki/WordPress">WordPress</a> blogger, writing mainly at <a href="http://www.TalGalili.com">www.TalGalili.com</a> where I can use my native language (Hebrew) for self expression.</p>
<p>This combination of <strong>statistics </strong>and <strong>blogging</strong> will lead me to sometimes much less statistical, but more Web/Open-Source oriented posts like this one. So for the statisticians in the audience I extend my apologies and invite you to wait for future posts which will be more fully focused on <strong>Statistics and R</strong>.</p>
<p>And now for the topic at hand. . .</p>
<p>*         *         *         *         *<br />
<span id="more-20"></span>I have just noticed the nice article published on the <a href="http://wordpress.org/development/">wordpress development blog</a> titled &#8220;<a href="http://wordpress.org/development/2009/07/2-9-vote-results/">2.9 Features Vote Results</a>&#8220;. The post exemplifies a wonderful trend in the WordPress community (led by <a style="text-decoration: none; color: #777777; font-weight: normal; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: #dfdfdf;" href="http://jane.wordpress.com/">Jane Wells</a>) having to do with connecting between the core team and the WordPress user community. The way Jane does this is by giving surveys to WordPress users,  which in turn offers the WordPress core team an opportunity to understand the community needs.</p>
<p>In the post &#8220;<a href="http://wordpress.org/development/2009/07/2-9-vote-results/">2.9 Features Vote Results</a>&#8220;, Jane presented the results of such survey. The post had tables and barplots, but the barplots were only present for the one dimensional variables. In contrast, more elaborate data, such as that of question 2 (asking to rate each of 11 potential features on a scale of 1 to 5), was shown only with a table, such as this:</p>
<p><a href="http://wpdotorg.wordpress.com/files/2009/07/q2.png"><img class="alignnone size-medium wp-image-24" title="q2" src="http://www.r-statistics.com/wp-content/uploads/2009/07/q2-300x181.png" alt="q2" width="300" height="181" /></a></p>
<p>The table gives the full information (although I would love it if it was easily downloadable, instead of having to type in the numbers) &#8211; but its main limitation is that from a quick look, one can not easily get (let alone understand) anything.</p>
<p>For the goal of understanding more of the results with a quick glance, I offer two simple and well-known visualizations for the results.</p>
<p>1) Parallel barplots (click for bigger image)</p>
<p><a href="http://www.r-statistics.com/wp-content/uploads/2009/07/q2-option1.png"><img class="alignnone size-medium wp-image-25" title="q2-option1" src="http://www.r-statistics.com/wp-content/uploads/2009/07/q2-option1-300x129.png" alt="q2-option1" width="300" height="129" /></a></p>
<p>This plot can be easily implemented in Excel (although I did it in R) and can allow us to compare the different ranking each potential feature received.</p>
<p>For example, this shows us that most answers were usually given rank 4 (&#8220;would be nice&#8221;) for each feature.</p>
<p>2) Mosaic plot (click for bigger image)</p>
<p><a href="http://www.r-statistics.com/wp-content/uploads/2009/07/q2-option2.png"><img class="alignnone size-medium wp-image-26" title="q2-option2" src="http://www.r-statistics.com/wp-content/uploads/2009/07/q2-option2-300x129.png" alt="q2-option2" width="300" height="129" /></a></p>
<p>I don&#8217;t know if this can be done in Excel, but with R it is just a simple line of code.</p>
<p>(<em>mosaicplot((DataSet.table), las = 1, col = c(&#8220;gray&#8221;,&#8221;gray&#8221;,&#8221;blue&#8221;,3,&#8221;dark green&#8221;), main = &#8220;&#8221;)</em>)</p>
<p>The advantage of this plot is that it allows us to compare the different features easily, while not only comparing the top rank, but also combining different rankings for easy comparison (for example, comparing how many rank 4 or 5 each feature received).</p>
<p>So for example, the plot shows me that the most ranked with number 5 was the feature &#8220;easier embeds&#8221; but the most ranked &#8220;number 4 or 5&#8243; was the feature &#8220;custom image sizes&#8221;. The feature &#8220;media album&#8221; came close to these two, but didn&#8217;t top either.</p>
<p><strong><span style="text-decoration: underline;">Conclusions from this post</span></strong>:</p>
<ol>
<li>It would be nice (if possible) to publish the full data of the surveys, not just the results.</li>
<li>The second question of the survey gives different answer than the first question. But since the difference in percentage seems to be so small compared to the other options, I would guess that all of the top 4 features are more or less in the same level of interest to the community.</li>
</ol>
<p>p.s. to Jane &#8211; why do none of the numbers in this table add up to 3406 (the number of respondants) ?</p>
<p>p.p.s.  to Jane and the Dev team &#8211; great work people!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.r-statistics.com/2009/07/simple-visualization-of-a-11x5-table-for-wordpress-2-9-features-vote-results/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

