<?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 programming Archives - Linux Windows and android Tutorials</title>
	<atom:link href="https://www.osradar.com/tag/r-programming/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.osradar.com</link>
	<description>tutorials and news and Seurity</description>
	<lastBuildDate>Fri, 16 Apr 2021 22:15:45 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.8.13</generator>
	<item>
		<title>How to install R programming on Ubuntu 20.04 /18.04?</title>
		<link>https://www.osradar.com/r-programming-ubuntu/</link>
					<comments>https://www.osradar.com/r-programming-ubuntu/#respond</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Tue, 20 Apr 2021 01:33:00 +0000</pubDate>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Unix]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[language]]></category>
		<category><![CDATA[R programming]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[ubuntu]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=7083</guid>

					<description><![CDATA[<p>Programming is an elementary part of computer science. It creates applications that solve some daily problems. You can make applications of all kinds and some oriented to statistics. So, this article will help you install R programming in Ubuntu 20.04 / 18.04. R is a free software environment for statistical computing and graphics. It compiles [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/r-programming-ubuntu/">How to install R programming on Ubuntu 20.04 /18.04?</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Programming is an elementary part of computer science. It creates applications that solve some daily problems. You can make applications of all kinds and some oriented to statistics. So, this article will help you install R programming in Ubuntu 20.04 / 18.04.</p>
<p><a href="https://www.r-project.org/" rel="noopener">R</a> is a free software environment for statistical computing and graphics. It compiles and runs on a wide variety of UNIX platforms, Windows and MacOS.In addition, it is also a very well documented language and has its own LaTeX-like documentation format.</p>
<h2>Features</h2>
<p>Among the advantages of R, is its great syntactic <strong>similarity with S-Plus</strong>, which has facilitated the migration of many users. Equally important is the fact that it is a language with a<strong> very active development cycle</strong>.</p>
<p>One of R’s strengths is the ease with which <strong>well-designed publication-quality plots</strong> can be produced, including mathematical symbols and formulae where needed.</p>
<p>Another great advantage is that R is multiplatform, that is to say, it can be installed both in Windows and in <strong>any Linux distribution.</strong></p>
<p>Let&#8217;s not talk anymore and we are going to install R programming on Ubuntu 18.04.</p>
<h2>0. What you need</h2>
<p>In the first place, it is necessary that you have installed Ubuntu 20.04 / 18.04 which is the recommended platform for development with this language.</p>
<p>It is also necessary that you have a user who can execute commands in the terminal as root.</p>
<p>So, let&#8217;s start.</p>
<h2>1. Upgrade the system</h2>
<p>In order to have the latest security patches and thus ensure the proper functioning of the system, it is necessary to make a general update to all packages.</p>
<pre class="">:~$ sudo apt update &amp;&amp; sudo apt upgrade</pre>
<p>Now, you can continue with the installation.</p>
<h2>2. Add GPG keys for the R repository</h2>
<p>A simple way to install R is through APT. To do this we must add the R repository, however, first you have to add the GPG key.</p>
<pre class="">:~$ sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys E298A3A825C0D65DFD57CBB651716619E084DAB9</pre>
<p>Then, add the repository.</p>
<pre class="">:~$ sudo<code class="sourceCode bash"><span id="cb1-8"><span class="ex">add-apt-repository</span> <span class="st">"deb https://cloud.r-project.org/bin/linux/ubuntu </span><span class="va">$(</span><span class="ex">lsb_release</span> -cs<span class="va">)</span><span class="st">-cran40/"</span></span></code></pre>
<p>Now, you can install R programming.</p>
<h2>3. Install R programming</h2>
<p>Now just run the command to install R programming.</p>
<pre class="">:~$ sudo apt update
:~$ sudo apt install r-base</pre>
<figure id="attachment_7091" aria-describedby="caption-attachment-7091" style="width: 800px" class="wp-caption alignnone"><img loading="lazy" class="wp-image-7091 size-full" src="https://www.osradar.com/wp-content/uploads/2018/11/4-6-e1541707613944.png" alt="4.- Install R programming" width="800" height="596" srcset="https://www.osradar.com/wp-content/uploads/2018/11/4-6-e1541707613944.png 800w, https://www.osradar.com/wp-content/uploads/2018/11/4-6-e1541707613944-300x224.png 300w, https://www.osradar.com/wp-content/uploads/2018/11/4-6-e1541707613944-768x572.png 768w, https://www.osradar.com/wp-content/uploads/2018/11/4-6-e1541707613944-80x60.png 80w, https://www.osradar.com/wp-content/uploads/2018/11/4-6-e1541707613944-265x198.png 265w, https://www.osradar.com/wp-content/uploads/2018/11/4-6-e1541707613944-485x360.png 485w, https://www.osradar.com/wp-content/uploads/2018/11/4-6-e1541707613944-696x519.png 696w, https://www.osradar.com/wp-content/uploads/2018/11/4-6-e1541707613944-564x420.png 564w" sizes="(max-width: 800px) 100vw, 800px" /><figcaption id="caption-attachment-7091" class="wp-caption-text">1.- Install R programming</figcaption></figure>
<p>Now, you can start to use R.</p>
<h2>4. Verify the installation and using R</h2>
<p>Now, it is necessary to verify the installation that we have made. To do this, type on the terminal.</p>
<pre class="">:~$ sudo -i R</pre>
<p>And you&#8217;ll see R&#8217;s console.</p>
<figure id="attachment_7097" aria-describedby="caption-attachment-7097" style="width: 800px" class="wp-caption alignnone"><img loading="lazy" class="wp-image-7097 size-full" src="https://www.osradar.com/wp-content/uploads/2018/11/5-6-e1541711098369.png" alt="5.- R console on Ubuntu 18.04" width="800" height="476" srcset="https://www.osradar.com/wp-content/uploads/2018/11/5-6-e1541711098369.png 800w, https://www.osradar.com/wp-content/uploads/2018/11/5-6-e1541711098369-300x179.png 300w, https://www.osradar.com/wp-content/uploads/2018/11/5-6-e1541711098369-768x457.png 768w, https://www.osradar.com/wp-content/uploads/2018/11/5-6-e1541711098369-696x414.png 696w, https://www.osradar.com/wp-content/uploads/2018/11/5-6-e1541711098369-706x420.png 706w" sizes="(max-width: 800px) 100vw, 800px" /><figcaption id="caption-attachment-7097" class="wp-caption-text">5.- R console on Ubuntu 20.04 / 18.04</figcaption></figure>
<p>Now let&#8217;s make the typical &#8220;Hello World&#8221; using R.</p>
<figure id="attachment_7098" aria-describedby="caption-attachment-7098" style="width: 762px" class="wp-caption alignnone"><img loading="lazy" class="wp-image-7098 size-full" src="https://www.osradar.com/wp-content/uploads/2018/11/6-6-e1541711652824.png" alt="6.- Hello World" width="762" height="127" srcset="https://www.osradar.com/wp-content/uploads/2018/11/6-6-e1541711652824.png 762w, https://www.osradar.com/wp-content/uploads/2018/11/6-6-e1541711652824-300x50.png 300w, https://www.osradar.com/wp-content/uploads/2018/11/6-6-e1541711652824-696x116.png 696w" sizes="(max-width: 762px) 100vw, 762px" /><figcaption id="caption-attachment-7098" class="wp-caption-text">6.- Hello World</figcaption></figure>
<h2>5. Conclusion</h2>
<p>R is not a programming language for all people or for all circumstances. On the other hand, it is a language rather oriented to manipulation of data for statistical purposes and that makes it a quite reliable alternative for your subject.</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/r-programming-ubuntu/">How to install R programming on Ubuntu 20.04 /18.04?</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.osradar.com/r-programming-ubuntu/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
