<?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>Rense Nieuwenhuis &#187; manual</title>
	<atom:link href="http://www.rensenieuwenhuis.nl/tag/manual/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.rensenieuwenhuis.nl</link>
	<description>&#34;The extra-ordinary lies within the curve of normality&#34;</description>
	<lastBuildDate>Thu, 12 Mar 2026 14:58:15 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=4.2.2</generator>
	<item>
		<title>Applied R: Manual for the quantitative social scientist</title>
		<link>http://www.rensenieuwenhuis.nl/applied-r-manualfor-the-quantitative-social-scientist/</link>
		<comments>http://www.rensenieuwenhuis.nl/applied-r-manualfor-the-quantitative-social-scientist/#comments</comments>
		<pubDate>Wed, 23 Mar 2011 10:50:31 +0000</pubDate>
		<dc:creator><![CDATA[Rense Nieuwenhuis]]></dc:creator>
				<category><![CDATA[R-Project]]></category>
		<category><![CDATA[R-Sessions]]></category>
		<category><![CDATA[Science]]></category>
		<category><![CDATA[manual]]></category>
		<category><![CDATA[R]]></category>

		<guid isPermaLink="false">http://www.rensenieuwenhuis.nl/?p=1425</guid>
		<description><![CDATA[Applied R for the quantitative social scientist is a manual on R written specifically as an introduction for the quantitative social scientist. To my opinion, R-Project is a magnificent statistical program, ready to be accepted and implemented in the social sciences. The flexibility of this program and the way data are handled gives the user a sense of closeness to and control over the data. I think this inspires users to analyze their data more creatively and sometimes in a more advanced way.]]></description>
				<content:encoded><![CDATA[<p>R-Project is an advanced software package for statistical analysis. Several years ago, already, I wrote an introductory manual for several analyses that can be performed with R. Although several parts of this are available from my blog as the <a href="http://www.rensenieuwenhuis.nl/index-of-the-r-sessions/">R-Sessions</a>, I never publicly published the full document. Now, this changes: for those looking for an applied guide to R-Project, <a href="http://www.rensenieuwenhuis.nl/documents/Applied%20R.pdf">here it is!</a></p>
<p>This manual was written specifically as an introduction for the quantitative social scientist. To my opinion, R-Project is a magnificent statistical program, ready to be accepted and implemented in the social sciences. The flexibility of this program and the way data are handled gives the user a sense of closeness to and control over the data. I think this inspires users to analyze their data more creatively and sometimes in a more advanced way. At present, this manual has a strong focus on multilevel regression techniques. Reason for this is that in R-Project it is very easy to estimate these types of models, even the more complex variants. The more basic and fundamental aspects of R-Project are introduced as well. All this is done with the needs of the quantitative social scientist in mind.</p>
<p>Of course, this manual it provided without any warranty. Please realize that I wrote it almost four years ago. </p>
<p>I&#8217;d love to hear any feedback for (future) improvements!</p>
<h2>Download:</h2>
<p> <a href="http://www.rensenieuwenhuis.nl/documents/Applied%20R.pdf"> Applied R for the quantitative social scientist</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.rensenieuwenhuis.nl/applied-r-manualfor-the-quantitative-social-scientist/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>R-Sessions 12: Basic Graphics</title>
		<link>http://www.rensenieuwenhuis.nl/r-sessions-12-basic-graphics/</link>
		<comments>http://www.rensenieuwenhuis.nl/r-sessions-12-basic-graphics/#comments</comments>
		<pubDate>Mon, 18 Aug 2008 14:39:44 +0000</pubDate>
		<dc:creator><![CDATA[Rense Nieuwenhuis]]></dc:creator>
				<category><![CDATA[R-Project]]></category>
		<category><![CDATA[R-Sessions]]></category>
		<category><![CDATA[basic graphics]]></category>
		<category><![CDATA[graphics]]></category>
		<category><![CDATA[manual]]></category>

		<guid isPermaLink="false">http://www.rensenieuwenhuis.nl/?p=492</guid>
		<description><![CDATA[Producing graphics can be a way to get familiar with your data or to strongly present your results. Fortunately, this can be done both easy as well as in a very powerful way in R-Project. R-Project comes with some standard graphical functions and a package for Trellis-graphics. Here, we will see some of the basics of the standard graphics functionality of R-Project. <!--more-->]]></description>
				<content:encoded><![CDATA[<p><a href="http://www.rensenieuwenhuis.nl/archive/category/r-project/r-sessions/"><img src="http://i0.wp.com/www.rensenieuwenhuis.nl/wp-content/uploads/2008/07/r-sessions.jpg?w=470" " title="R-Sessions" data-recalc-dims="1" /></a><br />
<!--adsense--></p>
<h2>Introduction</h2>
<p>Producing graphics can be a way to get familiar with your data or to strongly present your results. Fortunately, this can be done both easy as well as in a very powerful way in R-Project. R-Project comes with some standard graphical functions and a package for Trellis-graphics. Here, we will see some of the basics of the standard graphics functionality of R-Project. <span id="more-492"></span></p>
<p>R-Project creates graphics and presents them in a &#8216;graphics device&#8217;. This can be a window on the screen, but just as easily a file in a specified format (such as .bmp or .pdf). There are two <em>types</em> of functions that create graphics in R-Project. One of those sets up such a graphics device by calculating and drawing the axes, plot title, margins and so on. Then the data is plotted into the device. The other type of graphics function cannot create a graphics device and only adds data to a plot. This paragraph shows only the first type of plotting-functions.</p>
<h2>Basic Plotting</h2>
<p>The most basic plot-function in R-Project is called &#8216;plot()&#8217;. It is a function that sets up the graphics-device and is able to create some different types of graphic representations of your data.</p>
<p>For instance, let&#8217;s say we want to visualize a set of five values: 3,4,5,6 and 5. In the syntax below, these values are first assigned to the variable &#8216;y&#8217;. Then, we call the plot()-function and tell it to plot the data assigned to y.</p>
<blockquote><p> y &lt;- c(3,4,5,6,5)<br />
plot (y)<br />
plot (y, type=&#8221;l&#8221;, main=&#8221;Example line-plot&#8221;, xlab=&#8221;Predictor Value&#8221;, ylab=&#8221;Outcome Value&#8221;)</p></blockquote>
<p><img src="http://i2.wp.com/www.rensenieuwenhuis.nl/wp-content/uploads/2007/07/basics-plot-01.gif?w=470" alt="Basic plot 01" data-recalc-dims="1" /></p>
<p>Although the syntax of the first plot-command is very simple, R-Project actually performs quite a bit of work for us. For example: a new window opens, the plotting area is set alongside margins, minimal and maximum values for the axes are calculated based on the data and drawn succeedingly, basic labels are added to the aces and finally: the data is represented. Obviously this plot is not ready for publication, but fortunately all the &#8216;choices&#8217; R-Project made for us are only the defaults, so we can easily specify exactly what we want.</p>
<p>The next plot already looks a bit better. This is because some extra specifications are added to the second plot-command in the syntax above. By specifying &#8220;type=&#8221;l&#8221; we tell the plot-function that we want the data-points to be connected using a line. The main=&#8221; &#8221; specification creates a header for the plot, while the xlab=&#8221; &#8221; and ylab=&#8221; &#8221; specify the labels for the x-axis and y-axis respectively.</p>
<p><img src="http://i1.wp.com/www.rensenieuwenhuis.nl/wp-content/uploads/2007/07/basics-plot-02.gif?w=470" alt="Basic plot 02" data-recalc-dims="1" /></p>
<blockquote><p> x &lt;- c(1,3,4,7,9)<br />
plot (x,y, type=&#8221;b&#8221;, main=&#8221;Example plot&#8221;, xlab=&#8221;Predictor Value&#8221;, ylab=&#8221;Outcome Value&#8221;)</p></blockquote>
<p>What if the values that we want to represent are related to predictor values (values on the x-axis) that are not evenly spread, such as in the graphics above? In that case, we have to specify the values on the x-axis to the plot()-function. The syntax above shows how this is done. First, we assign some values to the variable we call x. Then, we replicate the plot()-syntax from above and add the x-variable to it, <em>before</em> the y-variable. Additionally the type=&#8221;l&#8221; from above is changed into type=&#8221;b&#8221; (b stands for both), which results in plotting both a line as well as points. The plot this results in, is shown below.</p>
<p><img src="http://i0.wp.com/www.rensenieuwenhuis.nl/wp-content/uploads/2007/07/basics-plot-03.gif?w=470" alt="Basic plot 03" data-recalc-dims="1" /></p>
<h2>Other types of plots</h2>
<p>Statistics does not exist solely out of line- and points-graphics. The syntax below shows how the represent the data stored in the y-variable can be represented using a barplot, pie-chart, histogram and a boxplot. These types of graphics are only shown, not described exhaustingly. All of these functions have many parameters that can be used to create exactly what you want.</p>
<blockquote><p> barplot(y, main=&#8221;Barplot&#8221;, names.arg=c(&#8220;a&#8221;,&#8221;b&#8221;,&#8221;c&#8221;,&#8221;d&#8221;,&#8221;e&#8221;))<br />
pie(y, main=&#8221;Pie-chart&#8221;, labels=c(&#8220;a&#8221;,&#8221;b&#8221;,&#8221;c&#8221;,&#8221;d&#8221;,&#8221;e&#8221;))<br />
hist(y, main=&#8221;Histogram&#8221;)<br />
boxplot(y, main=&#8221;Boxplot&#8221;)</p></blockquote>
<p><img src="http://i1.wp.com/www.rensenieuwenhuis.nl/wp-content/uploads/2007/07/basics-plot-04.gif?w=470" alt="Basic plot 04" data-recalc-dims="1" /></p>
<p>The syntax above results almost exactly in the graph shown above. The only difference is, that normally R-Project would create four separate graphs when the syntax above is provided. For an explanation of how to place more graphs on one graphics device, see elsewhere in this manual.</p>
<p>All the graphics functions shown here have the main=&#8221; &#8221; argument specified. The barplot() function has the additional names.arg &#8211; argument specified, which here provides five letters (&#8220;a&#8221; to &#8220;e&#8221;) as labels for the bars. On the pie-chart this is done as well, but with the label-argument.</p>
<p>&#8211; &#8211; &#8212; &#8212; &#8212;&#8211; &#8212;&#8212;&#8211;</p>
<ul>
<li><b><a href="http://www.rensenieuwenhuis.nl/R-forum/">Discuss this article and pose additional questions in the R-Sessions Forum</a></b></li>
<li><b><a href="http://www.rensenieuwenhuis.nl/r-project/manual/graphics/basics/">Find the original article embedded in the manual.</a></b></li>
</ul>
<p>&#8211; &#8211; &#8212; &#8212; &#8212;&#8211; &#8212;&#8212;&#8211;<br />
<a href="http://www.rensenieuwenhuis.nl/archive/category/r-project/r-sessions/">R-Sessions</a> is a collection of manual chapters for R-Project, which are maintained on <a href="www.rensenieuwenhuis.nl">Curving Normality</a>. All posts are linked to the chapters from the R-Project manual on this site. The manual is free to use, for it is paid by the advertisements, but please refer to it in your work inspired by it. Feedback and topic requests are highly appreciated.<br />
&#8212;&#8212;&#8211; &#8212;&#8211; &#8212; &#8212; &#8211; &#8211;<br />
</i></p>
]]></content:encoded>
			<wfw:commentRss>http://www.rensenieuwenhuis.nl/r-sessions-12-basic-graphics/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>R-Sessions 03: Getting R-Project</title>
		<link>http://www.rensenieuwenhuis.nl/r-sessions-03-getting-r-project/</link>
		<comments>http://www.rensenieuwenhuis.nl/r-sessions-03-getting-r-project/#comments</comments>
		<pubDate>Mon, 28 Jul 2008 10:00:51 +0000</pubDate>
		<dc:creator><![CDATA[Rense Nieuwenhuis]]></dc:creator>
				<category><![CDATA[R-Project]]></category>
		<category><![CDATA[R-Sessions]]></category>
		<category><![CDATA[Academic Software]]></category>
		<category><![CDATA[installation]]></category>
		<category><![CDATA[manual]]></category>
		<category><![CDATA[Statistics]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.rensenieuwenhuis.nl/?p=407</guid>
		<description><![CDATA[]]></description>
				<content:encoded><![CDATA[<p><a href="http://www.rensenieuwenhuis.nl/archive/category/r-project/r-sessions/"><img src="http://i1.wp.com/www.rensenieuwenhuis.nl/wp-content/uploads/2008/07/r-sessions.jpg?w=470" " title="R-Sessions" data-recalc-dims="1" /></a></p>
<p><!--adsense--><br />
R-Project is an open-source software package that can be obtained freely from the internet. It is available for a large variety of computer operating systems, such as Linux, MacOSX and Windows. Serving the majority, the installation process will be described for a computer running on windows XP.</p>
<h2>Downloading R-Project</h2>
<p>The website of R-Project can be found on <a href="http://www.r-project.org">http://www.r-project.org</a>. The left sidebar contains a header &#8216;Download&#8217;. Below, a link to &#8216;CRAN&#8217; is provided. CRAN stands for the &#8216;Comprehensive R Archive Network&#8217; and is a network of several web-servers from which both the software as well as additional packages can be downloaded. When clicked on CRAN, a list of providers of the software is shown. Choose one near the location you&#8217;re at. Then, a page is shown with several files that can be downloaded. What we want for now is a &#8216;precompiled&#8217; piece of software, that is ready for installation.</p>
<p><img src="http://i0.wp.com/www.rensenieuwenhuis.nl/wp-content/uploads/2007/07/screenshot-01.gif?w=470" alt="Screenshot R-Website" data-recalc-dims="1" /><br />
<span id="more-407"></span><br />
Click on the Windows (95 and later) link that is shown near the top of the page. After some words of warning, two options are offered: downloading the <strong>base</strong> distribution which contains the R-software and the <strong>contrib</strong> distribution which contains many additional packages. We go for the &#8216;base&#8217; distribution for now. There, again a few options are offered. Below the &#8216;In this directory&#8217; heading, some files are shown that are ready for download. Most of them are introductory text files, that assist on the downloading. Now, we want to download the actual installation program that has the name R-2.5.1-win32.exe ((please note: this filename contains the version-number of the software which at the time of writing is 2.5.1. Future versions will obviously have an other filename, although resemblance in naming is to be expected)) . When clicked on, the file will be downloaded to a location on your computer that can be specified.</p>
<p><img src="http://i1.wp.com/www.rensenieuwenhuis.nl/wp-content/uploads/2007/07/screenshot-02.gif?w=470" alt="Screenshot download file" data-recalc-dims="1" /></p>
<h2>Installing R-Project</h2>
<p>Double-click on the downloaded installation file. A welcome-screen appears.</p>
<p><img src="http://i0.wp.com/www.rensenieuwenhuis.nl/wp-content/uploads/2007/07/screenshot-03.gif?w=470" alt="Screenshot welcome" data-recalc-dims="1" /></p>
<p>Click on &#8216;next&#8217; to see (or possibly even read) the license of the software. For those familiar with open-source software the license of R-Project is the &#8216;GNU General Public License&#8217; which allows the user to alter the program at will and to use it freely. It is not allowed to sell R-Project, but it may be used to make money. Click on &#8216;Next&#8217; to accept the license and to select a location for installation. It is probably best to accept the standard settings.</p>
<p>Then, four types of installation are offered:</p>
<ul>
<li>User installation</li>
<li>Minimal installation</li>
<li>Full installation</li>
<li>Personalized installation</li>
</ul>
<p><img src="http://i1.wp.com/www.rensenieuwenhuis.nl/wp-content/uploads/2007/07/screenshot-04.gif?w=470" alt="Screenshot installation options" data-recalc-dims="1" /></p>
<p>The options offered create different selections of mostly help- and support files. Again, for general use it is best to accept the standard installation option. Click on &#8216;Next&#8217; to proceed. It is then asked whether or not you want to change starting-up options. Select &#8216;No&#8217; to use standard options.</p>
<p>The setup program then prompts for a name and location for the R-program in the Windows start-menu. Choose the nice location you want or accept the default. The next screen offers some final options. The standard is that an icon is created on the windows desktop, that the version number of the R-software is stored in the windows-register (comes in handy when updating) and that data-files with the .RData extension are to be associated with R-Project. It is best to accept these options. When clicked on &#8216;Next&#8217;, the software will be installed. When the installing is done, click on &#8216;Finish&#8217; to end the installing-program.</p>
<p>R-project is now installed! An icon is placed on your desktop if the standard-options are used during the installation. Double-click on it to start R. It should start swiftly and is now ready for use.</p>
<p><img src="http://i1.wp.com/www.rensenieuwenhuis.nl/wp-content/uploads/2007/07/screenshot-05.gif?w=470" alt="Screenshot finished" data-recalc-dims="1" /></p>
<p><i><br />
&#8211; &#8211; &#8212; &#8212; &#8212;&#8211; &#8212;&#8212;&#8211;</p>
<ul>
<li><b><a href="http://www.rensenieuwenhuis.nl/r-forum/topic/r-sessions-03-getting-r-project">Discuss this article and pose additional questions in the R-Sessions Forum</a></b></li>
<li><b><a href="http://www.rensenieuwenhuis.nl/r-project/manual/introduction/getting-r/">Find the original article embedded in the manual.</a></b></li>
</ul>
<p>&#8211; &#8211; &#8212; &#8212; &#8212;&#8211; &#8212;&#8212;&#8211;<br />
<a href="http://www.rensenieuwenhuis.nl/archive/category/r-project/r-sessions/">R-Sessions</a> is a collection of manual chapters for R-Project, which are maintained on <a href="www.rensenieuwenhuis.nl">Curving Normality</a>. All posts are linked to the chapters from the R-Project manual on this site. The manual is free to use, for it is paid by the advertisements, but please refer to it in your work inspired by it. Feedback and topic requests are highly appreciated.<br />
&#8212;&#8212;&#8211; &#8212;&#8211; &#8212; &#8212; &#8211; &#8211;<br />
</i></p>
]]></content:encoded>
			<wfw:commentRss>http://www.rensenieuwenhuis.nl/r-sessions-03-getting-r-project/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>R-Sessions 02: Why R-Project?</title>
		<link>http://www.rensenieuwenhuis.nl/r-sessions-02-why-r-project/</link>
		<comments>http://www.rensenieuwenhuis.nl/r-sessions-02-why-r-project/#comments</comments>
		<pubDate>Fri, 25 Jul 2008 10:00:27 +0000</pubDate>
		<dc:creator><![CDATA[Rense Nieuwenhuis]]></dc:creator>
				<category><![CDATA[R-Project]]></category>
		<category><![CDATA[R-Sessions]]></category>
		<category><![CDATA[manual]]></category>
		<category><![CDATA[Statistics]]></category>

		<guid isPermaLink="false">http://www.rensenieuwenhuis.nl/?p=404</guid>
		<description><![CDATA[There are many good reasons to start using R. Obviously, there are some reasons not to use R, as well. Some of these reasons are shortly described here. In the end, it is just some kind of personal preference that leads a researcher to use one statistical package, or another. Here are some arguments as a base for your own evaluation.]]></description>
				<content:encoded><![CDATA[<p><a href="http://www.rensenieuwenhuis.nl/archive/category/r-project/r-sessions/"><img src="http://i1.wp.com/www.rensenieuwenhuis.nl/wp-content/uploads/2008/07/r-sessions.jpg?w=470" " title="R-Sessions" data-recalc-dims="1" /></a></p>
<p><!--adsense--><br />
There are many good reasons to start using R. Obviously, there are some reasons not to use R, as well. Some of these reasons are shortly described here. In the end, it is just some kind of personal preference that leads a researcher to use one statistical package, or another. Here are some arguments as a base for your own evaluation.</p>
<h2>Why use R?</h2>
<h4>Powerful &amp; Flexible</h4>
<p>Probably the best reason to use R is its power. It is not so much a statistical software, but more a statistical programming language. This results in the availability of powerful methods of analyses, but in strong capabilities of managing, manipulating and storing your data. Due to its data-structure, R gains a tremendous flexibility. Everything can be stored inside an object, from data, via functions to the output of functions. This allows the user to easily compare different sets of data, or the results of different analyses just as easy. Because the results of an analysis can be stored in objects, parts of these results can be extracted as well and used in new functions / analyses.<br />
Besides the many already available functions, it is possible to write your own. This results in flexibility that can be used to create functions that are not available in other packages. In general: if you can think of it, you can make it. Thereby, R becomes a very attractive choice for methodological advanced studies.<span id="more-404"></span></p>
<h4>Excels in Graphics</h4>
<p>The R-project comes with two packages for creating graphics. Both are very powerful, although the lattice package seems to supersede the basic graphics package. Using either of these packages, it is very easy, as well a fast, to create basic graphics. The graphics system is set up in a way that, again, allows for great flexibility. Many parameters can be set using syntax, ranging from colors, line-styles, and plotting-characters to fundamental things such as the coordinate-system. Once a plot is made, many items can be added to it later, such as data-points from other data-sets, or plotting a regression-line over a scatterplot of the data.<br />
The lattice-package allows the graphic to be stored in an object, which can later be used to plot the graphic, to alter the graphic or even to let the graphic to be analyzed by (statistical) functions.<br />
A great many graphical devices are available that can output the graphics to many file-formats, besides to the screen of course. All graphics are vector-based, insuring great quality even when the graphics are scaled. Graphic devices for bitmap-graphics are available as well.</p>
<h4>Open Source &amp; Free</h4>
<p>R software is open source, meaning that everybody can have access to the source-code of the software. In this way, everybody can make their own changes if he wants to. Also, it is possible to check the way a feature is implemented. In this way, it is easy to find bugs or errors that can be changed immediately for your own version, or generally in the next official version. Of course, not everyone has the programming knowledge to do so, but many users of R do. Generally, open-source software is characterized by a much lower degree of bugs and errors than closed-software.<br />
Did I already mention that it is free? In line with the open-source philosophy (but not necessarily so!), the R-software is available freely. In this it gains advantage to many other statistical packages, that can be very expensive. When used on a large scale, such as on universities, the money gained by using R instead of other packages, can be enormous.</p>
<h4>Large supporting user base</h4>
<p>R is supported by a very large group of active users, from a great many disciplines. The R-Core development group presently exists of seventeen members. These people have write-access to the core of the R program (for the version that is distributed centrally. Everybody has write-access to the core of their own version of the software). They are supported by many that give suggestions or work in collaboration with the R-code team.<br />
Besides a good, strong, core, statistical software needs a great many functions to function properly. Fortunately, a great many R users make their own functions available to the R community, free to download. This results in the availability of packages containing functions for methods that are frequently used in a diversity of disciplines.<br />
Next to providing a great many functions, the R community is has several mailing-lists available. One of these is dedicated to helping each other. Many very experienced users, as well as some members of the R-core development team, participate actively on this mailing list. Most of the times, you&#8217;ll have some guidance, or even a full solution to your problem, within hours.</p>
<h2>Why not to use R?</h2>
<h4>Slow</h4>
<p>In general, due to the very open structure of R, it tends to be slower than other packages. This is because the functions that you write yourself in R are not pre-compiled into &#8216;computer-language&#8217;, when they are run. In many other statistical packages, the functions are all pre-compiled, but this has the drawback of losing flexibility. On the other hand, when using the powerful available functions and using these in smart programming, speed can be gained. For instance, in many cases &#8216;looping&#8217; can be avoided in R by using other functions that are not available in other packages. When this is the case, R will probably win the speed-contest. In other cases, it will probably lose.<br />
One way of avoiding the speed-drawback when programming complex functions, is to implement C or Fortran programs. R can have access to programs in both languages, that are both much faster than un-compiled syntax. By using this method, you can place the work-horse functions in a fast language and have these return the output to R, which then can further analyze these.</p>
<h4>Chokes on large data-sets</h4>
<p>A somewhat larger draw-back of R is that it chokes on large data-sets. All data is stored in active memory, and all calculations are &#8216;performed&#8217; there as well. This leads to problems when active memory is limited. Although modern computers can easily have 4 Gb (or even more) of RAM, using large data sets and complex functions, you can easily run into problems. Until a disk-paging element is implemented in R, this problem does not seem to be fully solved easily.<br />
Some attempts have been made though, that can be very useful in some specific cases. One package for instance allows the user to store the data in a MySQL database. The package then extracts parts of the data from the database several times to be able to analyze these parts of the  data succeedingly. Finally, the partial results are combined as if the analysis was performed on just the whole set of data at once. This method doesn&#8217;t work for all functions, though. Only a selection of functions that can handle this methodology is available at present.</p>
<h4>No point-and-click</h4>
<p>I don&#8217;t really know it this is a true drawback on the R software, but it doesn&#8217;t come with a point-click-analyse interface. All commands need to be given as syntax. This results in a somewhat steeper learning-curve compared to some other statistical programs, which can be discouraging for starting users. But, to my opinion this pays of on the long term. Syntax seems to be a lot faster, and more precise, when working on complex analyses.<br />
Mentioning this as a draw-back of R is not entirely fair, since John Fox wrote a package R Commander, which provides in a point-and-click interface. It is freely available, as all packages, and can be used a an introduction to the capabilities of R.</p>
<p><i><br />
&#8211; &#8211; &#8212; &#8212; &#8212;&#8211; &#8212;&#8212;&#8211;</p>
<ul>
<li><b><a href="http://www.rensenieuwenhuis.nl/R-forum/">Discuss this article and pose additional questions in the R-Sessions Forum</a></b></li>
<li><b><a href="http://www.rensenieuwenhuis.nl/r-project/manual/introduction/why-r/">Find the original article embedded in the manual.</a></b></li>
</ul>
<p>&#8211; &#8211; &#8212; &#8212; &#8212;&#8211; &#8212;&#8212;&#8211;<br />
<a href="http://www.rensenieuwenhuis.nl/archive/category/r-project/r-sessions/">R-Sessions</a> is a collection of manual chapters for R-Project, which are maintained on <a href="www.rensenieuwenhuis.nl">Curving Normality</a>. All posts are linked to the chapters from the R-Project manual on this site. The manual is free to use, for it is paid by the advertisements, but please refer to it in your work inspired by it. Feedback and topic requests are highly appreciated.<br />
&#8212;&#8212;&#8211; &#8212;&#8211; &#8212; &#8212; &#8211; &#8211;<br />
</i></p>
]]></content:encoded>
			<wfw:commentRss>http://www.rensenieuwenhuis.nl/r-sessions-02-why-r-project/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>R-Sessions 01: What is R?</title>
		<link>http://www.rensenieuwenhuis.nl/r-sessions-01-what-is-r/</link>
		<comments>http://www.rensenieuwenhuis.nl/r-sessions-01-what-is-r/#comments</comments>
		<pubDate>Wed, 23 Jul 2008 15:30:05 +0000</pubDate>
		<dc:creator><![CDATA[Rense Nieuwenhuis]]></dc:creator>
				<category><![CDATA[R-Project]]></category>
		<category><![CDATA[R-Sessions]]></category>
		<category><![CDATA[manual]]></category>
		<category><![CDATA[Statistics]]></category>

		<guid isPermaLink="false">http://www.rensenieuwenhuis.nl/?p=402</guid>
		<description><![CDATA[R is a software package that is used for statistical analyses. It has a syntax-driven interface which allows for a high level of control, many add-on packages, an active community supporting the program and it's users and an open structure. All in all, it aims to be statistical software that goes beyond pre-set analyses. Oh, and it is free too.]]></description>
				<content:encoded><![CDATA[<p><a href="http://www.rensenieuwenhuis.nl/archive/category/r-project/r-sessions/"><img src="http://i0.wp.com/www.rensenieuwenhuis.nl/wp-content/uploads/2008/07/r-sessions.jpg?w=470" " title="R-Sessions" data-recalc-dims="1" /></a></p>
<p><!--adsense--><br />
R is a software package that is used for statistical analyses. It has a syntax-driven interface which allows for a high level of control, many add-on packages, an active community supporting the program and it&#8217;s users and an open structure. All in all, it aims to be statistical software that goes beyond pre-set analyses. Oh, and it is free too.</p>
<p>The R software is developed by the R Core Development Team, presently having seventeen members. New versions of the R software are coming out regularly, so apparently progress is made. The source code of the R software is open-source. This means that everybody is allowed to read and change the program code. The consequence of this is that many people have written extensions to R which are able to nest itself in the fundaments of the software. For instance, it can interact with programs such as (WIN)BUGS or have extensions based on C or Fortran code.</p>
<p>A typical R session can be characterized by its flexibility. The software is set up in such a way, that functions or command can interact and thereby be combined to new ones.<span id="more-402"></span> Obviously many statistical methods are already available, but if a command just doesn&#8217;t do exactly what you want it to do, it can easily be altered. Or, you build your analyses from the ground up using the most basic of functions. If you can think of it, you can create it.</p>
<p>So basically, you can invent your own set of wheels. Of course, many wheels have been invented yet, so it is not necessary to do it again yourself. Snippets of R-syntax are readily available on the internet. They can even be combined into &#8216;packages&#8217;, which can easily be downloaded from within the R-software itself or the R-website. Many of these packages are actively maintained and constantly improved. So don&#8217;t worry about being confronted with outdated software.</p>
<p>Another distinguishing aspect of R is its data-structure. All data are assigned to objects. And since R can handle more than just one object, several (read: virtually unlimited) sets of data can be used simultaneously. Functions are stored in objects too and finally the output of functions are stored in an object as well. This opens up many possibilities. For instance,  when we want to compare several statistical models,  we can store these models in different objects, that can be compared using the right functions (ANOVA, for instance). In a later stage, these objects can be used to extract data, for instance to graph the results.</p>
<p>So, in order to answer the question what R actually is, it can be stated that R is a very open-structured and flexible software package, readily available and very suitable for statistical analyses.</p>
<p><i><br />
&#8211; &#8211; &#8212; &#8212; &#8212;&#8211; &#8212;&#8212;&#8211;</p>
<ul>
<li><b><a href="http://www.rensenieuwenhuis.nl/r-forum/topic/r-sessions-01-what-is-r">Discuss this article and pose additional questions in the R-Sessions Forum</a></b></li>
<li><b><a href="http://www.rensenieuwenhuis.nl/r-project/manual/introduction/what-is-r/">Find the original article embedded in the manual.</a></b></li>
</ul>
<p>&#8211; &#8211; &#8212; &#8212; &#8212;&#8211; &#8212;&#8212;&#8211;<br />
<a href="http://www.rensenieuwenhuis.nl/archive/category/r-project/r-sessions/">R-Sessions</a> is a collection of manual chapters for R-Project, which are maintained on <a href="www.rensenieuwenhuis.nl">Curving Normality</a>. All posts are linked to the chapters from the R-Project manual on this site. The manual is free to use, for it is paid by the advertisements, but please refer to it in your work inspired by it. Feedback and topic requests are highly appreciated.<br />
&#8212;&#8212;&#8211; &#8212;&#8211; &#8212; &#8212; &#8211; &#8211;<br />
</i></p>
]]></content:encoded>
			<wfw:commentRss>http://www.rensenieuwenhuis.nl/r-sessions-01-what-is-r/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>R-Sessions: Introducing the R-Sessions</title>
		<link>http://www.rensenieuwenhuis.nl/r-sessions-introducing-the-r-sessions/</link>
		<comments>http://www.rensenieuwenhuis.nl/r-sessions-introducing-the-r-sessions/#comments</comments>
		<pubDate>Wed, 23 Jul 2008 14:32:20 +0000</pubDate>
		<dc:creator><![CDATA[Rense Nieuwenhuis]]></dc:creator>
				<category><![CDATA[R-Project]]></category>
		<category><![CDATA[R-Sessions]]></category>
		<category><![CDATA[manual]]></category>
		<category><![CDATA[Statistics]]></category>

		<guid isPermaLink="false">http://www.rensenieuwenhuis.nl/?p=397</guid>
		<description><![CDATA[]]></description>
				<content:encoded><![CDATA[<p><a href="http://www.rensenieuwenhuis.nl/archive/category/r-project/r-sessions/"><img src="http://i0.wp.com/www.rensenieuwenhuis.nl/wp-content/uploads/2008/07/r-sessions.jpg?w=470" " title="R-Sessions" data-recalc-dims="1" /></a></p>
<p><!--adsense--></p>
<p><a href="www.rensenieuwenhuis.nl">Curving Normality</a> generally consists of two parts: my personal blog and a manual for <a href="www.r-project.org">R-Project</a> I wrote last year. I want to continue working on this manual, and to increase the exposure it gets I decided to regularly post chapters of it on my blog. I will do so under the name <b>R-Sessions</b></p>
<p>This <a href="http://www.rensenieuwenhuis.nl/r-project/manual/">manual</a> is already set up in a way that allows the reader to try all the examples by copy-pasting the syntax. I want to extend this feature and add chapters on a specific statistical problem that is dealt with, from a description of the problem and initial exploration of the data to the final solution to the problem. However, I&#8217;m not at that point yet. In the near future expect several updates each week in which I present the existing manual.</p>
<p><span id="more-397"></span></p>
<p>The reason that I&#8217;m writing such a manual for R-Project is that to my opinion, R-Project is a magnificent statistical program, even though it has some severe limitations. It is ready to be accepted and implemented in the social sciences. The flexibility of this program and the way data are handled gives the user a feeling of closeness to the data. I think this inspires users to analyze their data more creatively and sometimes in a more advanced way. At present, this manual has a strong focus on multilevel regression techniques. Reason for this is that in R-Project it is very easy to estimate these types of models, even the more complex variants. The more basic and fundamental aspects of R-Project are introduced as well. All this is done with the needs of the quantitative social scientist in mind.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.rensenieuwenhuis.nl/r-sessions-introducing-the-r-sessions/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
