<?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; R and the web</title>
	<atom:link href="http://www.r-statistics.com/on/r-and-the-web/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>R-bloggers in 2010: Top 14 R posts, site statistics and invitation for sponsors</title>
		<link>http://www.r-statistics.com/2011/01/r-bloggers-in-2010-top-14-r-posts-site-statistics-and-invitation-for-sponsors/</link>
		<comments>http://www.r-statistics.com/2011/01/r-bloggers-in-2010-top-14-r-posts-site-statistics-and-invitation-for-sponsors/#comments</comments>
		<pubDate>Sat, 01 Jan 2011 16:58:01 +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[R links]]></category>
		<category><![CDATA[2010]]></category>
		<category><![CDATA[2011]]></category>
		<category><![CDATA[google analytics]]></category>
		<category><![CDATA[new year]]></category>
		<category><![CDATA[r blog]]></category>
		<category><![CDATA[R bloggers]]></category>
		<category><![CDATA[R blogosphere]]></category>
		<category><![CDATA[rbloggers]]></category>
		<category><![CDATA[webanalytics]]></category>

		<guid isPermaLink="false">http://www.r-statistics.com/?p=613</guid>
		<description><![CDATA[A year ago (on December 9th 2009), I wrote about founding R-bloggers.com, an (unofficial) online R journal written by bloggers who agreed to contribute their R articles to the site. In this post I wish to celebrate R-bloggers&#8217; first birthday by sharing with you: Links to the top 14 posts of 2010 Reflections about the origin of R-bloggers Statistics [...]]]></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/01/r-bloggers-in-2010-top-14-r-posts-site-statistics-and-invitation-for-sponsors/&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/01/r-bloggers-in-2010-top-14-r-posts-site-statistics-and-invitation-for-sponsors/"></g:plusone></div></div><p>A year ago (on December 9th 2009), I <a href="http://www.r-statistics.com/2009/12/announcing-r-bloggers-com-a-new-r-news-site-for-bloggers-by-bloggers/">wrote</a> about founding <a href="http://www.r-bloggers.com/"><strong>R-bloggers.com</strong></a>, an (unofficial) online R journal written by bloggers who agreed to contribute their R articles to the site.</p>
<p>In this post I wish to celebrate R-bloggers&#8217; first birthday by sharing with you:</p>
<ol>
<li>Links to the top 14 posts of 2010</li>
<li>Reflections about the origin of R-bloggers</li>
<li>Statistics on &#8220;how well&#8221; R-bloggers did this year</li>
<li>Links to other related projects</li>
<li>An invitation for sponsors/supporters to help keep the site alive</li>
</ol>
<p><span id="more-613"></span></p>
<h3>1. Top 14 R posts of 2010</h3>
<p>R-bloggers&#8217; success is largely owed to the content submitted by the R bloggers themselves.  The R community currently has <strong><span style="text-decoration: underline;">143 active R bloggers</span></strong> (links to the blogs are clearly visible in the right navigation bar on the <a href="http://www.r-bloggers.com/">R-bloggers homepage</a>).  In a little over one year, these bloggers wrote almost 3,000 posts about R.  That is amazing!</p>
<p>Here is a <strong><span style="text-decoration: underline;">list of the top visited posts</span></strong> on the site in 2010:</p>
<ul>
<li><a title="100 Prisoners, 100 lines of code" href="http://www.r-bloggers.com/100-prisoners-100-lines-of-code/">100 Prisoners, 100 lines of code</a></li>
<li><a title="Google AI Challenge: Languages Used by the Best Programmers" href="http://www.r-bloggers.com/google-ai-challenge-languages-used-by-the-best-programmers/">Google AI Challenge: Languages Used by the Best Programmers</a></li>
<li><a title="Getting Started with Sweave: R, LaTeX, Eclipse, StatET, &amp; TeXlipse" href="http://www.r-bloggers.com/getting-started-with-sweave-r-latex-eclipse-statet-texlipse/">Getting Started with Sweave: R, LaTeX, Eclipse, StatET, &amp; TeXlipse</a></li>
<li><a title="Why Use R?" href="http://www.r-bloggers.com/why-use-r/">Why Use R?</a></li>
<li><a title="“simply start over and build something better”" href="http://www.r-bloggers.com/%e2%80%9csimply-start-over-and-build-something-better%e2%80%9d/">“simply start over and build something better”</a></li>
<li><a title="R Tutorial Series: R Beginner's Guide and R Bloggers Updates" href="http://www.r-bloggers.com/r-tutorial-series-r-beginners-guide-and-r-bloggers-updates/">R Tutorial Series: R Beginner&#8217;s Guide and R Bloggers Updates</a></li>
<li><a title="Select operations on R data frames" href="http://www.r-bloggers.com/select-operations-on-r-data-frames/">Select operations on R data frames</a></li>
<li><a title="Hacker News User Base Changed?" href="http://www.r-bloggers.com/hacker-news-user-base-changed/">Hacker News User Base Changed?</a></li>
<li><a title="Top 10 Algorithms in Data Mining" href="http://www.r-bloggers.com/top-10-algorithms-in-data-mining/">Top 10 Algorithms in Data Mining</a></li>
<li><a title="Fantasy football (oops, soccer)" href="http://www.r-bloggers.com/fantasy-football-oops-soccer/">Fantasy football (oops, soccer)</a></li>
<li><a title="Delete rows from R data frame" href="http://www.r-bloggers.com/delete-rows-from-r-data-frame/">Delete rows from R data frame</a></li>
<li><a title="Visualizing Facebook Friends: Eye Candy in R" href="http://www.r-bloggers.com/visualizing-facebook-friends-eye-candy-in-r/">Visualizing Facebook Friends: Eye Candy in R</a></li>
<li><a title="Advanced graphics in R" href="http://www.r-bloggers.com/advanced-graphics-in-r/">Advanced graphics in R</a></li>
<li><a title="How to build a world-beating predictive model using R" href="http://www.r-bloggers.com/how-to-build-a-world-beating-predictive-model-using-r/">How to build a world-beating predictive model using R</a></li>
</ul>
<h3>2. Motivation for creating R-bloggers</h3>
<p>Originally, the idea for R-bloggers came when, over a year ago, I spent several hours trying to find bloggers who wrote about R.  I was successful in finding roughly 14 R bloggers (and too many blog posts of people talking about pirates).  This experience led me to wonder how many other people like myself were also struggling to find these bloggers.  The second thought I had was the answer to the following question: &#8220;What can I offer an R blogger so that he will tell me that he exists?&#8221;  The answer I came up with is &#8220;audience and traffic&#8221; &#8211; and that&#8217;s what R-bloggers tries to achieve: the site offers the blogger audience and traffic in exchange for the blogger giving permission to republish their &#8220;R content&#8221; on the site.</p>
<p>Part of my motivation was that, as one of these bloggers who wrote about R (here, on <a title="R statistics" href="http://www.r-statistics.com">R-statistics.com</a>), I too hoped to gain more audience and traffic for my content.   R-bloggers helped me achieve this goal.</p>
<h3>3. Statistics &#8211; how well did R-bloggers do this year</h3>
<p>There are several matrices one can consider when evaluating the success of a website.  I&#8217;ll present a few of them here and will begin by talking about the visitors to the site.</p>
<p><a rel="attachment wp-att-615" href="http://www.r-statistics.com/2011/01/r-bloggers-in-2010-top-14-r-posts-site-statistics-and-invitation-for-sponsors/r-bloggers-map-of-visitors-for-2010/"><img class="aligncenter size-medium wp-image-615" title="R bloggers - map of visitors for 2010" src="http://www.r-statistics.com/wp-content/uploads/2011/01/R-bloggers-map-of-visitors-for-2010-300x188.png" alt="" width="300" height="188" /></a></p>
<p>This year, <strong><span style="text-decoration: underline;">the site was visited by</span></strong> about 286,000 &#8220;Absolute Unique Visitors.&#8221;  There was a total of nearly 600,000 visits and over 1 million page-views.  People have surfed the site from over 200 countries, with the greatest number of visitors coming from the United States (40%) and then followed by the United Kingdom (6.8%), Germany (6.6%), Canada (4.9%), France (3.3%), and other countries.</p>
<p>The site has received between 15,000 to 25,000 visits a week in the past few months, and I suspect this number will remain stable in the next few months (unless something very interesting will happen).</p>
<p><a rel="attachment wp-att-614" href="http://www.r-statistics.com/2011/01/r-bloggers-in-2010-top-14-r-posts-site-statistics-and-invitation-for-sponsors/r-bloggers-google-analytics-stats-for-2010/"><img class="size-medium wp-image-614 alignleft" title="r-bloggers google analytics stats for 2010" src="http://www.r-statistics.com/wp-content/uploads/2011/01/r-bloggers-google-analytics-stats-for-2010-300x115.png" alt="" width="300" height="115" /></a></p>
<p>I believe this number will stay constant thanks to visitors&#8217; loyalty: 60% of the site&#8217;s visits came from returning users.</p>
<p>Another indicator of reader loyalty is the number of subscribers to R-bloggers as counted by feedburner, which includes both RSS readers and e-mail subscribers.  The range of subscribers is estimated to be between 2600 to 2900.</p>
<p>Thus it seems that R-bloggers succeeds in offering a real service to the R users community.</p>
<h3>4. Projects related to R-bloggers</h3>
<p>During the last year I have created several R-bloggers clone sites in the hopes of serving other audiences.  I started a multilingual version of R-bloggers at <a href="http://www.r-bloggers.com/lang/">www.r-bloggers.com/lang/</a> (currently hosting 7 bloggers, written in Dutch, Indonesian, Italian, Korean, Russian, Spanish).  I hope more will join the site in the future.</p>
<p>I&#8217;ve also started 3 other promising such sites: <a href="http://SAS-x.com">SAS-x.com</a>, <a href="http://DanceBloggers.com">DanceBloggers.com</a> and <a href="http://forex-bloggers.com">forex-bloggers.com</a>.  How will they do?  Only time will tell.</p>
<h3>5. Invitation to sponsor/advertise on R-bloggers</h3>
<p>Due to the increase in the site&#8217;s popularity, 4 months ago I had to <a href="http://www.r-bloggers.com/r-bloggers-maintenance/">upgrade R-bloggers&#8217; hosting account to a VPS</a> hosting, which had directed me to decide on attempting to add ads to R-bloggers so to keep the site self sufficient financially.</p>
<p>So in the hopes of keeping the site sustainable in the long run, I am now (somewhat forced) to make this call: if you are interested in sponsoring/placing ads/supporting R-bloggers, then you&#8217;re welcome to <a href="http://www.r-statistics.com/contact-me/">contact me</a>.</p>
<p>Happy new year!<br />
Yours,<br />
<a href="http://www.r-statistics.com/about/">Tal Galili</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.r-statistics.com/2011/01/r-bloggers-in-2010-top-14-r-posts-site-statistics-and-invitation-for-sponsors/feed/</wfw:commentRss>
		<slash:comments>6</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>Syncing files across computers using DropBox</title>
		<link>http://www.r-statistics.com/2010/05/syncing-files-across-computers-using-dropbox/</link>
		<comments>http://www.r-statistics.com/2010/05/syncing-files-across-computers-using-dropbox/#comments</comments>
		<pubDate>Sat, 29 May 2010 09:33:11 +0000</pubDate>
		<dc:creator>Tal Galili</dc:creator>
				<category><![CDATA[R]]></category>
		<category><![CDATA[R and the web]]></category>
		<category><![CDATA[cloud computing]]></category>
		<category><![CDATA[dropbox]]></category>
		<category><![CDATA[file syncing]]></category>
		<category><![CDATA[folder]]></category>
		<category><![CDATA[project management]]></category>
		<category><![CDATA[R files]]></category>
		<category><![CDATA[sharing]]></category>

		<guid isPermaLink="false">http://www.r-statistics.com/?p=370</guid>
		<description><![CDATA[Motivation In the past few months I have been using DropBox for syncing my work files between my home and work computer. It has saved me from numerous mistakes and from sending the files to myself via e-mail. Recently I found this service highly useful for sharing files with 4 other people with whom I [...]]]></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/05/syncing-files-across-computers-using-dropbox/&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/05/syncing-files-across-computers-using-dropbox/"></g:plusone></div></div><p style="text-align: center;"><a href="http://www.r-statistics.com/wp-content/uploads/2010/05/Dropbox.jpg"><img class="size-full wp-image-374 aligncenter" title="Dropbox" src="http://www.r-statistics.com/wp-content/uploads/2010/05/Dropbox.jpg" alt="" width="168" height="168" /></a></p>
<h3>Motivation</h3>
<p>In the past few months I have been using <a href="https://www.dropbox.com/referrals/NTcxMzI0NzI5">DropBox </a>for syncing my work files between my home and work computer.  It has saved me from numerous mistakes and from sending the files to myself via e-mail.</p>
<p>Recently I found this service highly useful for sharing files with 4 other people with whom I am working on a data analysis project.  Being so happy with it (and also by gaining more storage space by inviting friends to use it), I thought of sharing my experience here with other R users that might benefit from this cool (free) service.</p>
<h3>What is Dropbox?</h3>
<p><a href="https://www.dropbox.com/referrals/NTcxMzI0NzI5">Dropbox </a>is a Software/Web2.0 file hosting service which enable users to <strong>synchronize </strong>files and folders between computers across the internet.<br />
This is done by installing a software and then picking a &#8220;shared folder&#8221; on your computer.  From that moment on, that folder will be synced with any computer you choose to install the software on (for example, your home/work computer, your laptop &#8211; and so on)</p>
<p><object width="500" height="306"><param name="movie" value="http://www.youtube.com/v/OFb0NaeRmdg?version=3"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/OFb0NaeRmdg?version=3" type="application/x-shockwave-flash" width="500" height="306" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<p><a href="https://www.dropbox.com/referrals/NTcxMzI0NzI5">DropBox</a> also enables users to <strong>share </strong>some of their folders with other DropBox users.  This seamless integration of the service with your OS file system (Windows, Mac or Linux) is what&#8217;s making this service so comfortable, by allowing me to work with co-workers and have the same &#8220;project tree&#8221; of folders, all of which are always synced.</p>
<p>You could also share a file &#8220;online&#8221;, by getting a link to it which you could share with others.  So for example, you could write an R code, share it online, and call to it later with source().  This is the easiest way I know of how to do this.</p>
<p><object width="500" height="400"><param name="movie" value="http://www.youtube.com/v/7QmCUDHpNzE?fs=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/7QmCUDHpNzE?fs=1" type="application/x-shockwave-flash" width="500" height="400" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<p><a href="https://www.dropbox.com/referrals/NTcxMzI0NzI5">Dropbox</a> is a &#8220;cloud computing&#8221; Web2.0 file hosting service offering both free and paid services.  The free version (which I use) offers 2GB of &#8220;shared storage&#8221; (unless you invite other users, in which case you get some extended storage space.  Which is one of my motivations in writing this post).</p>
<p>Dropbox has other non-trivial uses allowing one to:</p>
<ul>
<li><span style="font-size: 12.7315px;"><a href="http://www.labnol.org/software/remote-desktop-monitoring-with-dropbox/13696/">Monitor your Computer Remotely</a>, </span></li>
<li><span style="font-size: 12.7315px;"><a href="http://lifehacker.com/5550077/latest-experimental-build-of-dropbox-introduces-selective-folder-syncing">Selective Folder Syncing</a> (BETA),</span></li>
<li><span style="font-size: 12.7315px;"><a href="http://lifehacker.com/5547714/launch-applications-remotely-with-dropbox-and-autohotkey">Remote Launching of Applications with Dropbox and AutoHotkey</a>,</span></li>
<li><span style="font-size: 12.7315px;">And some <a href="http://lifehacker.com/5527055/the-cleverest-ways-to-use-dropbox-that-youre-not-using">other uses</a>.</span></li>
</ul>
<p>The service&#8217;s major competitors are Box.net, Sugarsync and Mozy, non of which I have had the chance of trying.</p>
<h3>How to start?</h3>
<p>Simply go to: <a href="https://www.dropbox.com/referrals/NTcxMzI0NzI5">DropBox.com</a><br />
Sign up, install the software, use the new shared folder, and let me know if it helped you <img src='http://www.r-statistics.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<h3>How to get Extra space?</h3>
<p>You can:</p>
<ul>
<li>Earn another 750MB of space by connecting your dropbox to your twitter/facebook account and sending a status update about them.  To get this bonus, head over to &#8220;<a href="https://www.dropbox.com/free">Get extra space free!</a>&#8221; page.</li>
<li><a href="https://www.dropbox.com/referrals">Refer a friend</a> to open a dropbox account (every friend joining earns you another 250MB of space).  This bonus is bounded by a total of 8GB of added space (after that, you won&#8217;t be allowed any more extra space)</li>
<li>Upgrade &#8211; <a href="https://www.dropbox.com/plans">pay 10$ a month and get extra 50GB</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.r-statistics.com/2010/05/syncing-files-across-computers-using-dropbox/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>&#8220;The next big thing&#8221;, R, and Statistics in the cloud</title>
		<link>http://www.r-statistics.com/2010/04/r-the-next-big-thing-and-statistics-in-the-cloud/</link>
		<comments>http://www.r-statistics.com/2010/04/r-the-next-big-thing-and-statistics-in-the-cloud/#comments</comments>
		<pubDate>Wed, 14 Apr 2010 15:28:15 +0000</pubDate>
		<dc:creator>Tal Galili</dc:creator>
				<category><![CDATA[R]]></category>
		<category><![CDATA[R and the web]]></category>
		<category><![CDATA[cloud computing]]></category>
		<category><![CDATA[cloud statistics]]></category>
		<category><![CDATA[future]]></category>
		<category><![CDATA[linked data web]]></category>
		<category><![CDATA[open data]]></category>
		<category><![CDATA[statistics]]></category>
		<category><![CDATA[web of data]]></category>

		<guid isPermaLink="false">http://www.r-statistics.com/?p=271</guid>
		<description><![CDATA[A friend just e-mailed me about a blog post by Dr. AnnMaria De Mars titled &#8220;The Next Big Thing&#8221;. In it Dr. De Mars wrote (I allowed myself to emphasize some parts of the text): Contrary to what some people seem to think, R is definitely not the next big thing, either. I am always surprised when [...]]]></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/04/r-the-next-big-thing-and-statistics-in-the-cloud/&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/04/r-the-next-big-thing-and-statistics-in-the-cloud/"></g:plusone></div></div><p>A friend just e-mailed me about a<a href="http://www.thejuliagroup.com/blog/?p=433"> blog post by Dr. AnnMaria De Mars titled &#8220;The Next Big Thing&#8221;</a>.</p>
<p>In it Dr. De Mars wrote (I allowed myself to emphasize some parts of the text):</p>
<blockquote><p>Contrary to what some people seem to think, R is definitely <strong><span style="text-decoration: underline;">not<span style="font-weight: normal;"> the next big thing</span></span></strong>, either. I am always surprised when people ask me why I think that, because to my mind it is obvious. [...]<br />
for me personally and for most users, both individual and organizational, the much greater cost of software is the time it takes to install it, maintain it, learn it and document it. On that, <strong><span style="text-decoration: underline;"><span style="font-weight: normal;">R is an epic</span> fail</span></strong>. It does NOT fit with the way the vast majority of people in the world use computers. The vast majority of people are NOT programmers. They are used to looking at things and clicking on things.</p></blockquote>
<p>Here are my two cents on the subject:<br />
<span id="more-271"></span></p>
<p>First, I agree with Dr. De Mars that R (out of the box) is not very (non programmer) user friendly &#8211; there is (almost) no point and click capabilities.  And while there are several projects offering a GUI layer interface to R (a good list of them can be found <a href="http://en.wikipedia.org/wiki/R_(programming_language)#Graphical_user_interfaces">here</a>), still non of them is in the level of refinement of what softwares like SPSS, JMP or SAS offers to users today.</p>
<p>But is traditional &#8220;point and click&#8221; the next &#8220;big thing&#8221;?  My suspicion is that the answer is &#8211; no.<br />
Neither does Dr. De Mars thinks so, since her predictions for the next big thing are &#8220;Data visualization&#8221; and &#8220;Analyzing enormous quantities of unstructured data&#8221;. Both of which R is offering quite powerful solutions to (assuming that you will go through the learning curve).</p>
<p>Dr. De Mars question is a fascinating one &#8211; what IS going to be the next big thing?</p>
<p>I think that the next BIG thing is (becoming to be) &#8220;<strong>Statistics in the Cloud</strong>&#8220;.  This intuition came from (among other things) my<a href="http://www.r-statistics.com/2010/03/the-future-of-open-source-survey-an-r-users-thoughts-and-conclusions/"> review of the “Future of Open Source” Survey</a> (see &#8220;conclusion 3&#8243;).</p>
<p>In the near future, I believe, we will see more statisticians and data analysts tapping into the opportunities that <a style="text-decoration:none; border-bottom:1px double solid #000;" href="http://cloudsecurity.trendmicro.com/">cloud computing</a> offers them.  Here are some examples of what I came a cross (or covered) lately in the topic of cloud computing and R:</p>
<ol>
<li><a href="http://www.r-statistics.com/2010/03/google-spreadsheets-google-forms-r-easily-collecting-and-importing-data-for-analysis/">Easy online collecting of data (via google forms)</a></li>
<li>High-performance computing - Running a statistical package software on the cloud for accessing a powerful computer or running stuff in parallel.  The former can be done through services like Amazon cloud, Elastic R, and lately <a href="http://www.r-statistics.com/2010/04/r-node-a-web-front-end-to-r-with-protovis/">R-Node combines the running of R and Protovis </a>on a server.  The later I don&#8217;t have experience in, but understand there are various solutions in R (a known company in the field is, of course, <a href="http://www.revolution-computing.com/">REvolution computing</a>)</li>
<li>Online statistical analysis/visualization of data - Having a web interface to a statistical analysis.  One wonderful example of that is <a href="http://www.r-statistics.com/2010/04/jeroen-oomss-ggplot2-web-interface-a-new-version-released-v0-2/">Jeroen Oom&#8217;s (beautiful) web interface to ggplot2</a>.  Such projects offer &#8220;point and click&#8221; capabilities through the internet (/cloud)</li>
<li>Online interactive visualization of data.  I came a cross three people offering to develop solutions for doing this with R in this year&#8217;s Google summer of code, I hope something will come out of it</li>
</ol>
<p>All of these are well connected to the emerging trend of “web of data”/“linked data web” that some are talking about. For example, here is a good Ted talk by Tim Berners-Lee (the inventor of the World Wide Web). Talking about building a web for open, linked data that could do for numbers what the Web did for words, pictures, video: unlock our data and reframe the way we use it together.<br />
<object width="640" height="385" 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="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/OM6XIICm_qo&amp;hl=en_US&amp;fs=1&amp;" /><param name="allowfullscreen" value="true" /><embed width="640" height="385" type="application/x-shockwave-flash" src="http://www.youtube.com/v/OM6XIICm_qo&amp;hl=en_US&amp;fs=1&amp;" allowFullScreen="true" allowscriptaccess="always" allowfullscreen="true" /></object><br />
The same plea is given by Hans rosling in his <a href="http://www.youtube.com/watch?v=hVimVzgtD6w">famous Ted talk</a> showing <a href="http://GapMinder.org">GapMinder</a>.<br />
Although at he same time, some R users are saying &#8211; &#8220;<a href="http://nsaunders.wordpress.com/2010/04/15/id-be-more-than-happy-with-the-unlinked-data-web/">You don&#8217;t have to bother linking the data. I&#8217;ll do with just the data, really, just release it&#8230;</a>&#8221;</p>
<p>In conclusion, I don&#8217;t know what capabilities other projects/products offer for doing statistics in the cloud.  But it is clear to me that the R community is (not surprisingly) bringing very diverse and innovative solutions to the world.</p>
<p>Is R the next big thing?  I don&#8217;t think so.  But I do think that some of the next big thing<strong><span style="text-decoration: underline;">s</span></strong> will be built with R.<br />
* * *<br />
I would love to know your thought about Dr. De Mars post, and also about what the &#8220;next big thing&#8221; is going to be (and what role will R have in it).</p>
]]></content:encoded>
			<wfw:commentRss>http://www.r-statistics.com/2010/04/r-the-next-big-thing-and-statistics-in-the-cloud/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Jeroen Ooms&#8217;s ggplot2 web interface &#8211; a new version released (V0.2)</title>
		<link>http://www.r-statistics.com/2010/04/jeroen-oomss-ggplot2-web-interface-a-new-version-released-v0-2/</link>
		<comments>http://www.r-statistics.com/2010/04/jeroen-oomss-ggplot2-web-interface-a-new-version-released-v0-2/#comments</comments>
		<pubDate>Mon, 12 Apr 2010 20:34:04 +0000</pubDate>
		<dc:creator>Tal Galili</dc:creator>
				<category><![CDATA[R]]></category>
		<category><![CDATA[R and the web]]></category>
		<category><![CDATA[visualization]]></category>
		<category><![CDATA[ggplot2]]></category>
		<category><![CDATA[interfaces]]></category>
		<category><![CDATA[jeroen ooms]]></category>
		<category><![CDATA[video]]></category>
		<category><![CDATA[WebSites]]></category>
		<category><![CDATA[youtube]]></category>

		<guid isPermaLink="false">http://www.r-statistics.com/?p=266</guid>
		<description><![CDATA[Good news. Jeroen Ooms released a new version of his (amazing) online ggplot2 web interface: yeroon.net/ggplot2 is a web interface for Hadley Wickham&#8217;s R package ggplot2. It is used as a tool for rapid prototyping, exploratory graphical analysis and education of statistics and R. The interface is written completely in javascript, therefore there is no [...]]]></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/04/jeroen-oomss-ggplot2-web-interface-a-new-version-released-v0-2/&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/04/jeroen-oomss-ggplot2-web-interface-a-new-version-released-v0-2/"></g:plusone></div></div><p>Good news.</p>
<p><a href="http://www.stat.ucla.edu/~jeroen/">Jeroen Ooms</a> released a new version of his <a href="http://www.stat.ucla.edu/~jeroen/ggplot2/">(amazing) online ggplot2 web interface</a>:</p>
<blockquote><p><a href="http://www.yeroon.net/ggplot2/">yeroon.net/ggplot2</a> is a web interface for Hadley Wickham&#8217;s R package ggplot2. It is used as a tool for rapid prototyping, exploratory graphical analysis and education of statistics and R. The interface is written completely in javascript, therefore there is no need to install anything on the client side: a standard browser will do.</p></blockquote>
<p>The new version has a lot of cool new features, like advanced data import, integration with Google docs, converting variables from numeric to factor to dates and vice versa, and a lot of new geom&#8217;s. Some of which you can watch in his new video demo of the application:<br />
<object width="640" height="385"><param name="movie" value="http://www.youtube.com/v/pCzQP7kVEOc&#038;hl=en_US&#038;fs=1&#038;"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/pCzQP7kVEOc&#038;hl=en_US&#038;fs=1&#038;" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="640" height="385"></embed></object></p>
<p>The application is on:<br />
<a href="http://www.yeroon.net/ggplot2/">http://www.yeroon.net/ggplot2/</a></p>
<p>p.s: other posts about this (including videos explaining how some of this was done) can be views on the category page: <a href="http://www.r-statistics.com/category/r-and-the-web/">R and the web</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.r-statistics.com/2010/04/jeroen-oomss-ggplot2-web-interface-a-new-version-released-v0-2/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>R-Node: a web front-end to R with Protovis</title>
		<link>http://www.r-statistics.com/2010/04/r-node-a-web-front-end-to-r-with-protovis/</link>
		<comments>http://www.r-statistics.com/2010/04/r-node-a-web-front-end-to-r-with-protovis/#comments</comments>
		<pubDate>Sat, 03 Apr 2010 12:22:53 +0000</pubDate>
		<dc:creator>Tal Galili</dc:creator>
				<category><![CDATA[R]]></category>
		<category><![CDATA[R and the web]]></category>
		<category><![CDATA[visualization]]></category>
		<category><![CDATA[fun]]></category>
		<category><![CDATA[interfaces]]></category>
		<category><![CDATA[R internet]]></category>
		<category><![CDATA[R server]]></category>
		<category><![CDATA[Rserve]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[WebSites]]></category>

		<guid isPermaLink="false">http://www.r-statistics.com/?p=241</guid>
		<description><![CDATA[Update (April 6 &#8211; 2010) : R-Node now has it&#8217;s own a website, with a dedicated google group (you can join it here) * * * * The integration of R into online web services is (for me) one of the more exciting prospects in R&#8217;s future. That is way I was very excited coming [...]]]></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/04/r-node-a-web-front-end-to-r-with-protovis/&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/04/r-node-a-web-front-end-to-r-with-protovis/"></g:plusone></div></div><p><strong>Update (April 6 &#8211; 2010) :</strong> R-Node now has <a href="http://www.squirelove.net/r-node">it&#8217;s own a website</a>, with a <a href="http://groups.google.com/group/r-node-users">dedicated google group</a> (you can <a href="http://groups.google.com/group/r-node-users/subscribe">join it here</a>)</p>
<p>*  *  *  *</p>
<p>The integration of R into online web services is (for me) one of the more exciting prospects in R&#8217;s future.  That is way I was very excited <a href="http://twitter.com/ChrisDiehl/status/11495443959">coming across</a> Jamie Love&#8217;s recent creation: R-Node.</p>
<h3>What is R-Node</h3>
<p><a href="http://gitorious.org/r-node">R-Node</a> is a (open source) web front-end to R (the statistical analysis package).</p>
<p>Using this front-end, you can from any web browser connect to an R instance running on a remote (or local) server, and interact with it, sending commands and receiving the responses. In particular, graphing commands such as plot() and hist() will execute in the browser, drawing the graph as an SVG image.</p>
<p>You can see a<strong> live demonstration</strong> of this interface by visiting:<br />
<a href="http://69.164.204.238:2904/">http://69.164.204.238:2904/ </a><br />
And using the following user/password login info:<br />
User: pvdemouser<br />
Password: svL35NmPwMnt<br />
(This link was originally posted <a href="http://groups.google.com/group/protovis/browse_thread/thread/f0899d436102164a">here</a>)</p>
<p>Here are some screenshots:</p>
<p>
<a href='http://www.r-statistics.com/2010/04/r-node-a-web-front-end-to-r-with-protovis/r1/' title='R1'><img width="150" height="150" src="http://www.r-statistics.com/wp-content/uploads/2010/04/R1-150x150.png" class="attachment-thumbnail" alt="R1" title="R1" /></a>
<a href='http://www.r-statistics.com/2010/04/r-node-a-web-front-end-to-r-with-protovis/r2/' title='R2'><img width="150" height="150" src="http://www.r-statistics.com/wp-content/uploads/2010/04/R2-150x150.png" class="attachment-thumbnail" alt="R2" title="R2" /></a>
<a href='http://www.r-statistics.com/2010/04/r-node-a-web-front-end-to-r-with-protovis/r3/' title='R3'><img width="150" height="150" src="http://www.r-statistics.com/wp-content/uploads/2010/04/R3-150x150.png" class="attachment-thumbnail" alt="R3" title="R3" /></a>
<a href='http://www.r-statistics.com/2010/04/r-node-a-web-front-end-to-r-with-protovis/r4/' title='R4'><img width="150" height="150" src="http://www.r-statistics.com/wp-content/uploads/2010/04/R4-150x150.png" class="attachment-thumbnail" alt="R4" title="R4" /></a>
<br />
<em>In the second screenshot you see the results of the R command &#8216;plot(x, y)&#8217; (with the reimplementation of plot doing the actual plotting), and in the fourth screenshot you see a similar plot command along with a subsequent best fit line (data points calculated with &#8216;lowess()&#8217;) drawn in. </em></p>
<p>Once in, you can try out R by typing something like:</p>

<div class="wp_codebox"><table><tr id="p2412"><td class="line_numbers"><pre>1
2
3
4
</pre></td><td class="code" id="p241code2"><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: #080;">&#41;</span> 
<span style="color: #0000FF; font-weight: bold;">plot</span><span style="color: #080;">&#40;</span>x, main<span style="color: #080;">=</span><span style="color: #ff0000;">&quot;Random numbers&quot;</span><span style="color: #080;">&#41;</span> 
l <span style="color: #080;">&lt;-</span> <span style="color: #0000FF; font-weight: bold;">lowess</span><span style="color: #080;">&#40;</span>x<span style="color: #080;">&#41;</span> 
<span style="color: #0000FF; font-weight: bold;">lines</span> <span style="color: #080;">&#40;</span>l$y<span style="color: #080;">&#41;</span></pre></td></tr></table></div>

<p>The plot and lines commands will bring up a graph &#8211; you can escape out of it, download the graph as a SVG file, and change the graph type (e.g. do: plot (x, type=&#8221;o&#8221;) ).<br />
Many R commands will work, though only the hist(), plot() and lines() work for graphing.<br />
Please<strong><u> don&#8217;t</u></strong> type the R command q() &#8211; it will quit the server, stopping it working for everyone! Also, as everyone shares the same session for now, using more unique variable name than &#8216;x&#8217; and &#8216;l&#8217; will help you. </p>
<p>Currently there is only limited error checking but the code continues to be improved and developed. You can download it from:<br />
<a href="http://gitorious.org/r-node">http://gitorious.org/r-node </a></p>
<p>How do you may imagine yourself using something like this?  Feel invited to share with me and everyone else in the comments.</p>
<p>Here are some of the more technical details of R-Node:<br />
<span id="more-241"></span></p>
<h3>How does R-Node works</h3>
<p>(Credit: The following text is based on <a href="http://groups.google.com/group/protovis/browse_thread/thread/13633e3ae1229993">this forum thread</a>)</p>
<p>R-node, uses protovis for drawing graphs. <a href="http://vis.stanford.edu/protovis/">Protovis </a>is a visualization toolkit written in JavaScript using the canvas element. Using simple graphical marks, like boxes and dots, one can construct custom views to present or explore data.</p>
<p>Besides Protovis, R-node also uses jquery and ExtJS core on the front-end. </p>
<p>Most R commands are passed back to the server and their results returned to the client. Some, such as the graph commands, are parsed and the arguments used in javascript re-implementations of the R commands (e.g. the R command &#8216;plot&#8217; has a protovis equivalent). </p>
<p>The server side is R+Rserve, and to connect the browser client to the R server Jamie used a nodejs based application server. </p>
<p>Projects utilised in this include: </p>
<ul>
<li>Protovis &#8211; http://vis.stanford.edu/protovis/
</li>
<li>Nodejs &#8211; http://nodejs.org/
</li>
<li>R &#8211; http://www.r-project.org/
</li>
<li>Rserve  &#8211; http://www.rforge.net/Rserve/doc.html
</li>
<li>Shjs &#8211; http://shjs.sourceforge.net/
</li>
</ul>
<p>I would love to read your thoughts about this in the comments.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.r-statistics.com/2010/04/r-node-a-web-front-end-to-r-with-protovis/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Google spreadsheets + google forms + R = Easily collecting and importing data for analysis</title>
		<link>http://www.r-statistics.com/2010/03/google-spreadsheets-google-forms-r-easily-collecting-and-importing-data-for-analysis/</link>
		<comments>http://www.r-statistics.com/2010/03/google-spreadsheets-google-forms-r-easily-collecting-and-importing-data-for-analysis/#comments</comments>
		<pubDate>Sat, 13 Mar 2010 17:23:18 +0000</pubDate>
		<dc:creator>Tal Galili</dc:creator>
				<category><![CDATA[R]]></category>
		<category><![CDATA[R and the web]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[google docs]]></category>
		<category><![CDATA[google forms]]></category>
		<category><![CDATA[R and google]]></category>
		<category><![CDATA[r google]]></category>
		<category><![CDATA[r google docs]]></category>
		<category><![CDATA[r spreadsheet]]></category>
		<category><![CDATA[r spreadsheets]]></category>

		<guid isPermaLink="false">http://www.r-statistics.com/?p=193</guid>
		<description><![CDATA[Someone on the R mailing list (link) asked: how can you easily (daily) collect data from many people into a spreadsheet and then analyse it using R. The answer people gave to it where on various ways of using excel.  But excel files (at least for now),  are not &#8220;on the cloud&#8221;.  A better answer [...]]]></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/03/google-spreadsheets-google-forms-r-easily-collecting-and-importing-data-for-analysis/&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/03/google-spreadsheets-google-forms-r-easily-collecting-and-importing-data-for-analysis/"></g:plusone></div></div><p>Someone on the R mailing list (<a href="http://article.gmane.org/gmane.comp.lang.r.general/182873/match=">link</a>) asked: how can you easily (daily) collect data from many people into a spreadsheet and then analyse it using R.</p>
<p>The answer people gave to it where on various ways of using excel.  But excel files (at least for now),  are not &#8220;on the cloud&#8221;.  A better answer might be to create a google form that will update a google spreadsheet that will then be read by R.</p>
<p>If my last sentence wasn&#8217;t clear to you, then this post is for you.</p>
<p><span id="more-193"></span></p>
<p>First view the following video (2:50 min) which explains what google spreadsheets are</p>
<p><object width="500" height="400"><param name="movie" value="http://www.youtube.com/v/muVUA-sKcc4&#038;fs=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/muVUA-sKcc4&#038;fs=1" type="application/x-shockwave-flash" width="500" height="400" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<p>Then view the next video (2 min), which explains what using google forms with google spreadsheet is all about</p>
<p><object width="500" height="306"><param name="movie" value="http://www.youtube.com/v/IzgaUOW6GIs&#038;fs=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/IzgaUOW6GIs&#038;fs=1" type="application/x-shockwave-flash" width="500" height="306" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<p>The next step for you is to access the spreadsheet without having to make it public is to go thorough <a href="http://www.omegahat.org/RGoogleDocs/run.pdf">this tutorial</a> on how to use the R package <a href="http://www.omegahat.org/RGoogleDocs/">RGoogleDocs</a>.</p>
<p>If you feel comfortable to publish the google spreadsheet, there is a simpler tutorial for you <a href="http://blog.revolution-computing.com/2009/09/how-to-use-a-google-spreadsheet-as-data-in-r.html">here</a>.  And you could see examples of using this method <a href="http://chartsgraphs.wordpress.com/2009/09/11/co2-emissions-changes-in-atmospheric-levels/">here </a>and <a href="http://www.r-statistics.com/2010/02/nutritional-supplements-efficacy-score-graphing-a-bar-plot-of-current-studies-results-using-r/">here</a>.</p>
<p><strong>Update. Farrel Buchinsky wrote (in the mailing list) the following:</strong></p>
<blockquote><p>
There is also a package called RGoogleData that can import data from Google<br />
Spreadsheets (even when they are not public). It has one benefit over<br />
RGoogleDocs; RGoogleData can download a spreadsheet as a csv file to your<br />
harddrive. You can then read the csv file into R &#8211; read.csv(). Those steps can<br />
easily be written into a script so that you do not have to manually futz with<br />
them each time. The benefit of the csv download is that it is very fast. Both<br />
the RGoogleDocs and the RGoogleData are slow in reading the spreadsheet into R.<br />
I understand, but may be wrong, that Google Stores all the data as HTML and its<br />
API spits it out as xml which these r packages then need to parse out line by<br />
line. The csv treatment by comparison is instantaneous.</p>
<p>Only one big problem. As of a few months ago, RGoogleData has stopped working<br />
for me. I think it is still working for its writer, Adrian Dragulescu. Adrian<br />
has been very generous with his time in trying to help me. He predicts that he<br />
will go back to exploring his package once Google updates their API.</p>
<p>Try it out. I would love to hear what happens.</p>
<p>http://r-forge.r-project.org/projects/rgoogledata/</p>
</blockquote>
<p>Do you have any good example for using R with google spreadsheets? please share with us in the comments&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.r-statistics.com/2010/03/google-spreadsheets-google-forms-r-easily-collecting-and-importing-data-for-analysis/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>R Web Application &#8211; &#8220;Hello World&#8221; using RApache (~7min video tutorial)</title>
		<link>http://www.r-statistics.com/2010/02/r-web-application-hello-world-using-rapache-7min-video-tutorial/</link>
		<comments>http://www.r-statistics.com/2010/02/r-web-application-hello-world-using-rapache-7min-video-tutorial/#comments</comments>
		<pubDate>Tue, 16 Feb 2010 07:37:10 +0000</pubDate>
		<dc:creator>Tal Galili</dc:creator>
				<category><![CDATA[R]]></category>
		<category><![CDATA[R and the web]]></category>
		<category><![CDATA[jeroen ooms]]></category>
		<category><![CDATA[r web application]]></category>
		<category><![CDATA[RApache]]></category>
		<category><![CDATA[rnorm]]></category>
		<category><![CDATA[web application]]></category>

		<guid isPermaLink="false">http://www.r-statistics.com/?p=136</guid>
		<description><![CDATA[I just noticed a google buzz from Jeroen ooms, with a Youtube video titled &#8220;RApache Hello World + POST arguments + catching errors.&#8221; In this ~7 min video tutorial, Jeroen shares with us: How to write &#8221;Hello World&#8221; in a website using RApache. How to extract arguments from a form submited by the website visitor (and [...]]]></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-web-application-hello-world-using-rapache-7min-video-tutorial/&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-web-application-hello-world-using-rapache-7min-video-tutorial/"></g:plusone></div></div><p>I just noticed a <a href="http://www.google.com/profiles/jeroenooms#buzz">google buzz</a> from <a href="http://www.stat.ucla.edu/~jeroen/">Jeroen ooms</a>, with a Youtube video titled &#8220;<strong>RApache Hello World + POST arguments + catching errors.</strong>&#8221;</p>
<p>In this ~7 min video tutorial, Jeroen shares with us:</p>
<ol>
<li>How to write &#8221;Hello World&#8221; in a website using RApache.</li>
<li>How to extract arguments from a form submited by the website visitor (and then inserting it into an &#8220;rnorm&#8221; function so to control the output). And finally,</li>
<li>How to catch an error in case of an invalid argument on an R Web Application.</li>
</ol>
<p>Thank you Jeroen for a very simple, step by step, tutorial:</p>
<p><object width="500" height="306"><param name="movie" value="http://www.youtube.com/v/fB_7_RZgasg&#038;fs=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/fB_7_RZgasg&#038;fs=1" type="application/x-shockwave-flash" width="500" height="306" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<p>p.s: For more videos by Jeroen, have a look at</p>
<div id="_mcePaste">
<ul>
<li><a href="http://www.r-statistics.com/2009/12/a-web-application-of-rs-ggplot2/">A web application for R’s ggplot2</a></li>
<li><a href="http://www.r-statistics.com/2010/02/web-development-with-r-an-hd-video-tutorial-of-jeroen-ooms-talk/">Web Development with R – an HD video tutorial of Jeroen Ooms talk</a></li>
</ul>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.r-statistics.com/2010/02/r-web-application-hello-world-using-rapache-7min-video-tutorial/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

