<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How do you install R packages? in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/how-do-you-install-r-packages/m-p/20686#M13996</link>
    <description>&lt;P&gt;@Christopher Flach​&amp;nbsp;, Download and install a package (you only need to do this once). To use the package,&amp;nbsp;invoke the library(package) command to load it into the current session.&lt;/P&gt;</description>
    <pubDate>Sat, 14 May 2022 06:23:29 GMT</pubDate>
    <dc:creator>ShinaultS</dc:creator>
    <dc:date>2022-05-14T06:23:29Z</dc:date>
    <item>
      <title>How do you install R packages?</title>
      <link>https://community.databricks.com/t5/data-engineering/how-do-you-install-r-packages/m-p/20685#M13995</link>
      <description>&lt;P&gt;I've tried this, but it doesn't appear to be working: &lt;A href="https://community.databricks.com/s/question/0D53f00001GHVX1CAP/unable-to-install-sf-and-rgeos-r-packages-on-the-cluster" target="test_blank"&gt;https://community.databricks.com/s/question/0D53f00001GHVX1CAP/unable-to-install-sf-and-rgeos-r-packages-on-the-cluster&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I run the following after that init script, I receive an error.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;library(rgdal)&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Error in library(rgdal) : there is no package called ‘rgdal’&lt;/P&gt;</description>
      <pubDate>Thu, 12 May 2022 16:35:34 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-do-you-install-r-packages/m-p/20685#M13995</guid>
      <dc:creator>flachboard</dc:creator>
      <dc:date>2022-05-12T16:35:34Z</dc:date>
    </item>
    <item>
      <title>Re: How do you install R packages?</title>
      <link>https://community.databricks.com/t5/data-engineering/how-do-you-install-r-packages/m-p/20686#M13996</link>
      <description>&lt;P&gt;@Christopher Flach​&amp;nbsp;, Download and install a package (you only need to do this once). To use the package,&amp;nbsp;invoke the library(package) command to load it into the current session.&lt;/P&gt;</description>
      <pubDate>Sat, 14 May 2022 06:23:29 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-do-you-install-r-packages/m-p/20686#M13996</guid>
      <dc:creator>ShinaultS</dc:creator>
      <dc:date>2022-05-14T06:23:29Z</dc:date>
    </item>
    <item>
      <title>Re: How do you install R packages?</title>
      <link>https://community.databricks.com/t5/data-engineering/how-do-you-install-r-packages/m-p/20687#M13997</link>
      <description>&lt;P&gt;@Christopher Flach​&amp;nbsp;, can you paste the trail when you run this in the notebook?&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;%sh
#!/bin/bash
&amp;nbsp;
#Start with update
sudo apt-get update
&amp;nbsp;
#######rgdal
&amp;nbsp;
#This installs gdal on the linux machine but not the R library (done in R script)
sudo apt-get install -y gdal-bin libgdal-dev
&amp;nbsp;
#To be able to install the R library, you also need libproj-dev 
sudo apt-get install -y libproj-dev 
&amp;nbsp;
##### rgeos
sudo apt install libgeos++dev&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 14 May 2022 06:55:07 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-do-you-install-r-packages/m-p/20687#M13997</guid>
      <dc:creator>Aashita</dc:creator>
      <dc:date>2022-05-14T06:55:07Z</dc:date>
    </item>
    <item>
      <title>Re: How do you install R packages?</title>
      <link>https://community.databricks.com/t5/data-engineering/how-do-you-install-r-packages/m-p/20689#M13999</link>
      <description>&lt;P&gt;Hey there @Christopher Flach​&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope all is well! &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just wanted to check in if you were able to resolve your issue and would you be happy to share the solution or mark an answer as best? Else please let us know if you need more help.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We'd love to hear from you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jul 2022 16:17:45 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-do-you-install-r-packages/m-p/20689#M13999</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-07-07T16:17:45Z</dc:date>
    </item>
  </channel>
</rss>

