<?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 Support for setting R repository URLs in Databricks in Administration &amp; Architecture</title>
    <link>https://community.databricks.com/t5/administration-architecture/support-for-setting-r-repository-urls-in-databricks/m-p/50304#M573</link>
    <description>&lt;P&gt;The documentation for &lt;A href="https://docs.databricks.com/en/sparkr/index.html" target="_self"&gt;using R in Databricks&lt;/A&gt; states that the session can be configured by modifying the /usr/lib/R/etc/Rprofile.site file. This works for most things, however the repository URLs set by the `repos` option is overridden by another script that's loaded from a temporary directory.&lt;/P&gt;&lt;P&gt;As described in this &lt;A href="https://stackoverflow.com/a/76777228/3803805" target="_self"&gt;Stack Overflow answer&lt;/A&gt;, this second script&amp;nbsp;&lt;SPAN&gt;/local_disk0/tmp/_CleanRShell.*.r sets the repos using the value of an environment variable&amp;nbsp;DATABRICKS_DEFAULT_R_REPOS. This is useful for configuring custom R repository URLs to be used by default. However, given it isn't documented anywhere, I'm concerned its behaviour may change in the future without notice, or it may be removed completely.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Is this environment variable supported officially? If not, what is the recommended way for changing R repository URLs in Databricks?&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 02 Nov 2023 01:03:59 GMT</pubDate>
    <dc:creator>statijon</dc:creator>
    <dc:date>2023-11-02T01:03:59Z</dc:date>
    <item>
      <title>Support for setting R repository URLs in Databricks</title>
      <link>https://community.databricks.com/t5/administration-architecture/support-for-setting-r-repository-urls-in-databricks/m-p/50304#M573</link>
      <description>&lt;P&gt;The documentation for &lt;A href="https://docs.databricks.com/en/sparkr/index.html" target="_self"&gt;using R in Databricks&lt;/A&gt; states that the session can be configured by modifying the /usr/lib/R/etc/Rprofile.site file. This works for most things, however the repository URLs set by the `repos` option is overridden by another script that's loaded from a temporary directory.&lt;/P&gt;&lt;P&gt;As described in this &lt;A href="https://stackoverflow.com/a/76777228/3803805" target="_self"&gt;Stack Overflow answer&lt;/A&gt;, this second script&amp;nbsp;&lt;SPAN&gt;/local_disk0/tmp/_CleanRShell.*.r sets the repos using the value of an environment variable&amp;nbsp;DATABRICKS_DEFAULT_R_REPOS. This is useful for configuring custom R repository URLs to be used by default. However, given it isn't documented anywhere, I'm concerned its behaviour may change in the future without notice, or it may be removed completely.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Is this environment variable supported officially? If not, what is the recommended way for changing R repository URLs in Databricks?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Nov 2023 01:03:59 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/support-for-setting-r-repository-urls-in-databricks/m-p/50304#M573</guid>
      <dc:creator>statijon</dc:creator>
      <dc:date>2023-11-02T01:03:59Z</dc:date>
    </item>
  </channel>
</rss>

