Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
nilendraFabric
Super User
Super User

Unable to upload R library(Tar.gz format) in Fabric Environment

Hi All,

 

I have created a Fabric Environment to run my R code in RSpark.

I have downloaded the library from CRAN sources and when I am trying to upload these to environment , mostly all are uploaded and published, byt few are failing such as ggpubr.

Intrestingly when I have manlay installed the same library in notebook , it was a success.

Did anyone in the comminuty faced the similar issue , what could be potential solutions here.

Thanks

 

nilendraFabric_0-1737537558553.png

 

 

nilendraFabric_2-1737539487642.png

 

 

In install.packages("ggpubr", contriburl = "file://usr/lib/library-manager/bin/lps/libraries/R/tmp/",  :
  installation of package ‘ggpubr’ had non-zero exit status

25/01/22 09:21:54 INFO Running source /lib/vhd/synapse-trident-r.env && Rscript -e 'library("ggpubr")'
25/01/22 09:21:56 ERROR Error while running command source /lib/vhd/synapse-trident-r.env && Rscript -e 'library("ggpubr")': got exit code 1
stderr:Error in library("ggpubr") : there is no package called ‘ggpubr’
Execution halted

 

nilendraFabric_1-1737537609075.png

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @nilendraFabric,

 

If you've tried all possible solutions and it is still failing, please collect the logs and raise a support ticket.
Here's the link to raise a support ticket.
How to create a Fabric and Power BI Support ticket - Power BI | Microsoft Learn

 

Regards,

Vinay Pabbu

View solution in original post

7 REPLIES 7
Anonymous
Not applicable

Hi @nilendraFabric,

 

As we haven’t heard back from you, we wanted to kindly follow up to check if the solution provided for the issue worked? or Let us know if you need any further assistance?
If our response addressed, please mark it as Accept as solution and click Yes if you found it helpful.

 

Regards,

Vinay Pabbu

Anonymous
Not applicable

Hi @nilendraFabric,

 

Thank you for reaching out to Microsoft Fabric Community Forum.

 

Looks like the manual installation in the notebook worked, so the issue may not be with the library itself but with the process Fabric uses for uploading and publishing.

 

If you're uploading multiple libraries at once, try splitting the process and uploading libraries individually. This can help identify which package or dependency causes the failure.

 

Let me know if you have any more questions!

If this post helps, then please consider Accepting as solution to help the other members find it more quickly, don't forget to give a "Kudos" – I’d truly appreciate it!


Regards,
Vinay Pabbu

Hello @Anonymous 

 

I have tried all the approaches. 

it is failing for just one library 

Anonymous
Not applicable

Hi @nilendraFabric,

 

If you've tried all possible solutions and it is still failing, please collect the logs and raise a support ticket.
Here's the link to raise a support ticket.
How to create a Fabric and Power BI Support ticket - Power BI | Microsoft Learn

 

Regards,

Vinay Pabbu

Anonymous
Not applicable

Hi @nilendraFabric,

 

Since we haven't heard back from you, we wanted to follow up regarding your ticket.

Could you please provide an update on the status of your ticket ? it will be helpful for other members of the community who have similar problems as yours to solve it faster.

 

Regards,

Vinay Pabbu

No luck yet. Tried with multiple fabric accounts as well

Anonymous
Not applicable

Hi @nilendraFabric,

 

As we haven't heard back from you, I hope you have raised a support ticket. At this time we are closing this thread. If you have any further issues, please start a new thread in the community forum, and we are here to assist you. Thankyou for your understanding and continuous support.

Thank you for being part of the Microsoft Fabric Community.

 

Regards,

Vinay Pabbu

Helpful resources

Announcements
Fabric July 2025 Monthly Update Carousel

Fabric Monthly Update - July 2025

Check out the July 2025 Fabric update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.