Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
As per Microsoft documentation, Fabric supports R custom (.tar.gz) library.
https://learn.microsoft.com/en-us/fabric/data-engineering/library-management
I want to install the library "janitor" at the environment level (scenario 2 in the documentation above). However, it always fails to publish.
I downloaded the package from the CRAN, uploaded it to Custom Libraries, and published it. It always fails to install the library.
https://cran.r-project.org/web/packages/janitor/index.html
Does anyone know if we can install R custom (.tar.gz) library at the environment level?
I know there is an option for inline installation. Since the Microsoft documentation shows it supports the R custom (.tar.gz) library, I am wondering why it always fail for me?
Thank you very much!
Hi @Leayunhuasun ,
Any update on this? Did the above suggestions help with your scenario? if that is the case, you can consider Kudo or Accept the helpful suggestions to help others who faced similar requirements.
If these also don't help, please share more detailed information and description to help us clarify your scenario to test.
How to Get Your Question Answered Quickly
Regards,
Xiaoxin Sheng
Hi @Leayunhuasun,
Have you tried to attach the other type of R custom packages or different version of janitor packages? AFAIK, normally the cloud service environment support the most stable version of packages instead of the latest version.
BTW, if the install to the environment failed, have you tried to use notebook inline install?
Regards,
Xiaoxin Sheng