<?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: Custom enviroment notebook in Data Science</title>
    <link>https://community.fabric.microsoft.com/t5/Data-Science/Custom-enviroment-notebook/m-p/4817600#M862</link>
    <description>&lt;P&gt;ok &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="814008" data-lia-user-login="v-pnaroju-msft" class="lia-mention lia-mention-user"&gt;v-pnaroju-msft&lt;/a&gt;&amp;nbsp; thank you&lt;/P&gt;</description>
    <pubDate>Fri, 05 Sep 2025 04:04:36 GMT</pubDate>
    <dc:creator>Peter_23</dc:creator>
    <dc:date>2025-09-05T04:04:36Z</dc:date>
    <item>
      <title>Custom enviroment notebook</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Science/Custom-enviroment-notebook/m-p/4816222#M860</link>
      <description>&lt;P&gt;Hi community, I have a custom R notebook development by external users, but then notebook install packages which are not available in "Built-in libraries" (R),&amp;nbsp; if it runs in workspace its works fine, (the notebook download and install the packages).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;the subject is the libraries are used in several notebooks, In the notebook there is option called it "enviroment" so I understand is possible to create a new enviroment with the libraries "used in the notebook"; so L try to create a new enviroment with custom libraries then the user in the notebook it'll the new enviroment (don´t install again &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; )&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My questions are:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1.- is this possible to create a new enviroment and set as an option in the "enviroment" option inside notebook?&lt;/P&gt;&lt;P&gt;2.- If the&amp;nbsp; last answer is "YES", best practices to configure dependencies between the new libraries and set up?&lt;/P&gt;&lt;P&gt;3.- How to mantaince the new enviroment for futures updates of libraries?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;4.- another options are welcome.. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks in advance&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Sep 2025 03:53:38 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Science/Custom-enviroment-notebook/m-p/4816222#M860</guid>
      <dc:creator>Peter_23</dc:creator>
      <dc:date>2025-09-04T03:53:38Z</dc:date>
    </item>
    <item>
      <title>Re: Custom enviroment notebook</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Science/Custom-enviroment-notebook/m-p/4816888#M861</link>
      <description>&lt;P&gt;Hi Peter_23,&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;DIV&gt;We appreciate your inquiry through the Microsoft Fabric Community Forum.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Based on my understanding, the R packages are reinstalling each time because CRAN libraries are not built-in or supported at the Environment level in Fabric. By default, they must be installed per session in the notebook unless we package them into a .tar.gz.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;We can create and reuse a custom Environment in notebooks but with some limitations:&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;1.For custom R packages (.tar.gz),go to Workspace → Environments → New Environment. Upload the .tar.gz under Custom Libraries. Save and publish the environment. From notebooks, select this environment from the Environment dropdown.&lt;/DIV&gt;
&lt;DIV&gt;2.For CRAN packages, we can either&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; a. Install inside the notebook with install.packages("dplyr", repos="&lt;A href="https://cran.microsoft.com/snapshot/2021-07-16/" target="_blank"&gt;https://cran.microsoft.com/snapshot/2021-07-16/&lt;/A&gt;")&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; b. Bundle them into a .tar.gz and upload to the Environment, same as custom packages.&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Additionally, kindly find refer the below links:&lt;/DIV&gt;
&lt;DIV&gt;&lt;A href="https://learn.microsoft.com/en-us/fabric/data-engineering/create-and-use-environment" target="_blank"&gt;Create, Configure, and Use an Environment in Fabric - Microsoft Fabric | Microsoft Learn&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;A href="https://learn.microsoft.com/en-us/fabric/data-engineering/environment-manage-library" target="_blank"&gt;Library Management in Fabric Environments - Microsoft Fabric | Microsoft Learn&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;A href="https://learn.microsoft.com/en-us/fabric/data-science/r-library-management" target="_blank"&gt;R library management - Microsoft Fabric | Microsoft Learn&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;A href="https://learn.microsoft.com/en-us/fabric/fundamentals/roles-workspaces" target="_blank"&gt;Roles in workspaces in Microsoft Fabric - Microsoft Fabric | Microsoft Learn&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;We hope the information provided helps to resolve the issue. Should you have any further queries, kindly feel free to contact the Microsoft Fabric community.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Thank you.&lt;/DIV&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Sep 2025 12:26:09 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Science/Custom-enviroment-notebook/m-p/4816888#M861</guid>
      <dc:creator>v-pnaroju-msft</dc:creator>
      <dc:date>2025-09-04T12:26:09Z</dc:date>
    </item>
    <item>
      <title>Re: Custom enviroment notebook</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Science/Custom-enviroment-notebook/m-p/4817600#M862</link>
      <description>&lt;P&gt;ok &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="814008" data-lia-user-login="v-pnaroju-msft" class="lia-mention lia-mention-user"&gt;v-pnaroju-msft&lt;/a&gt;&amp;nbsp; thank you&lt;/P&gt;</description>
      <pubDate>Fri, 05 Sep 2025 04:04:36 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Science/Custom-enviroment-notebook/m-p/4817600#M862</guid>
      <dc:creator>Peter_23</dc:creator>
      <dc:date>2025-09-05T04:04:36Z</dc:date>
    </item>
  </channel>
</rss>

