<?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 &#8211; Hostry Help Center</title>
	<atom:link href="https://help.hostry.com/article-tags/r/feed/" rel="self" type="application/rss+xml" />
	<link>https://help.hostry.com</link>
	<description>Full information on how to use HOSTRY, provided by 24/7 community based support</description>
	<lastBuildDate>Thu, 29 Aug 2019 08:53:15 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.9.13</generator>

<image>
	<url>https://help.hostry.com/wp-content/uploads/cache/2021/01/cropped-apple-icon-180x180-1/836712163.png</url>
	<title>R &#8211; Hostry Help Center</title>
	<link>https://help.hostry.com</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>How To Install And Configure R on Debian 9</title>
		<link>https://help.hostry.com/knowledge-base/how-to-install-and-configure-r-on-debian-9/</link>
					<comments>https://help.hostry.com/knowledge-base/how-to-install-and-configure-r-on-debian-9/#respond</comments>
		
		<dc:creator><![CDATA[Alex]]></dc:creator>
		<pubDate>Thu, 29 Aug 2019 08:52:15 +0000</pubDate>
				<guid isPermaLink="false">https://help.hostry.com/?post_type=ht_kb&#038;p=588</guid>

					<description><![CDATA[R is open source programming language. It is very actively used as a development of statistical software and visualized. R offers many custom packages for various areas of study, making it applicable to many areas. Install Dependencies One thing to understand is that an external repository supported by CRAN should [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p>R is open source programming language. It is very actively used as a development of statistical software and visualized. R offers many custom packages for various areas of study, making it applicable to many areas. </p>



<h2 id="install-dependencies" >Install Dependencies</h2>



<p> One thing to understand is that an external repository supported by CRAN should be added. For this, it is mandatory to install some dependencies, for Debian 9. First, install <strong>dirmngr</strong> in order to add an external repository</p>



<p><code>sudo apt install dirmngr --install-recommends</code></p>



<p>Then you need to add a link to P<strong>PA</strong> in Debian, we need to use the <strong>add-apt-repository</strong> command For installations where this command may not be available, you can add this utility to your system by installing<strong> software-properties-common</strong>:</p>



<p><code>sudo apt install software-properties-common</code></p>



<p>To support <strong>HTTPS</strong> (443 protocols), you must install the following </p>



<p><code>sudo apt install apt-transport-https</code></p>



<h2 id="step-2-—-installing-r" id="r-installing" >R Installing</h2>



<p>First you need to add the corresponding GPG key</p>



<p><code>sudo apt-key adv --keyserver keys.gnupg.net --recv-key 'E19F5F87128899B192B1A2C2AD5F960A256A04AF' </code></p>



<p>After the command is run, the following will appear</p>



<pre class="wp-block-code"><code>Output
Executing: /tmp/apt-key-gpghome.k3UoM7WQGq/gpg.1.sh --keyserver keys.gnupg.net --recv-key E19F5F87128899B192B1A2C2AD5F960A256A04AF
gpg: key AD5F960A256A04AF: public key "Johannes Ranke (Wissenschaftlicher Berater) &lt;johannes.ranke@jrwb.de>" imported
gpg: Total number processed: 1
gpg:               imported: 1</code></pre>



<p>After the key has been received, add the repository. Note that if you are not using Debian 9 (Stretch), you can see the supported Debian R Project branches named for each release. You can find and familiarize yourself here: <a href="https://cran.r-project.org/bin/linux/debian/#supported-branches"><strong>https://cran.r-project.org/bin/linux/debian/#supported-branches</strong></a></p>



<p><code>sudo add-apt-repository 'deb https://cloud.r-project.org/bin/linux/debian stretch-cran35/'</code></p>



<p>Next, run <strong>update</strong>. This is necessary to enable package manifests</p>



<p><code>sudo apt update</code></p>



<p>Next, approximately the following lines will be displayed:</p>



<p><code>Output… </code></p>



<p><code>Get:6 https://cloud.r-project.org/bin/linux/debian stretch-cran35/ InRelease [4,371 B] Get:7 https://cloud.r-project.org/bin/linux/debian stretch-cran35/ Packages [50.1 kB] … </code></p>



<p>Now you are ready to install R using the following command</p>



<p><code>sudo apt install r-base</code></p>



<h2 id="install-r-packages-from-cran" >Install R packages from CRAN</h2>



<p>You need to install <strong>txtplot</strong> the library. It displays ASCII plots including scatter plot, line plot, density plot, acf plot and histograms:</p>



<blockquote class="wp-block-quote"><p><code>install.packages('txtplot')</code></p></blockquote>



<p>Here is the conclusion where exactly the package will be installed</p>



<pre class="wp-block-code"><code>Output…
Installing package into ‘/usr/local/lib/R/site-library’
(as ‘lib’ is unspecified)
. . .</code></pre>



<p>After installation, we need to download <strong>txtplot</strong>:</p>



<blockquote class="wp-block-quote"><p>library(&#8216;txtplot&#8217;)</p></blockquote>



<p>Then look, if there are no error messages, the library was loaded successfully!</p>



<p>So that you can get out of R, you can type <strong>q ()</strong>. If you do not want to save the image of the workspace, you can press <strong>n</strong>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://help.hostry.com/knowledge-base/how-to-install-and-configure-r-on-debian-9/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
