<?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 R Script Error Export to PDF when published to Power BI Service in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/R-Script-Error-Export-to-PDF-when-published-to-Power-BI-Service/m-p/715217#M19676</link>
    <description>I have written the below R Script code for exporting data to PDF.&lt;BR /&gt;library(gridExtra)&lt;BR /&gt;pdf("D:\\Test\\data.pdf",width=22,height= 60)&lt;BR /&gt;grid.table(dataset)&lt;BR /&gt;dev.off()&lt;BR /&gt;&amp;amp;nbsp;&lt;BR /&gt;When running from Power BI Desktop I am able to export to PDF over "D:\\Test\\data.pdf" local drive, but when published to Power BI Service I am getting the below&amp;amp;nbsp;"Script Runtime Error".&lt;BR /&gt;&amp;amp;nbsp;&lt;BR /&gt;Error in PDF("D:\\Test\\data.pdf",width=22, height=60); cannot open file 'D:\Test\data.pdf'&lt;BR /&gt;&amp;amp;nbsp;&lt;BR /&gt;And also tried with Sharepoint path, couldn't upload and got the below error.&lt;BR /&gt;&amp;amp;nbsp;&lt;BR /&gt;Error in PDF("https:\\test.com") :&lt;BR /&gt;invalid 'File' argument (https:\\test.com")&lt;BR /&gt;Note: Given sample link&lt;BR /&gt;&amp;amp;nbsp;&lt;BR /&gt;Please help me with the relative path that has to be configured inorder to export as PDF to cloud or local drive.</description>
    <pubDate>Sat, 15 Jun 2019 03:27:38 GMT</pubDate>
    <dc:creator>Kiran1234</dc:creator>
    <dc:date>2019-06-15T03:27:38Z</dc:date>
    <item>
      <title>R Script Error Export to PDF when published to Power BI Service</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/R-Script-Error-Export-to-PDF-when-published-to-Power-BI-Service/m-p/715217#M19676</link>
      <description>I have written the below R Script code for exporting data to PDF.&lt;BR /&gt;library(gridExtra)&lt;BR /&gt;pdf("D:\\Test\\data.pdf",width=22,height= 60)&lt;BR /&gt;grid.table(dataset)&lt;BR /&gt;dev.off()&lt;BR /&gt;&amp;amp;nbsp;&lt;BR /&gt;When running from Power BI Desktop I am able to export to PDF over "D:\\Test\\data.pdf" local drive, but when published to Power BI Service I am getting the below&amp;amp;nbsp;"Script Runtime Error".&lt;BR /&gt;&amp;amp;nbsp;&lt;BR /&gt;Error in PDF("D:\\Test\\data.pdf",width=22, height=60); cannot open file 'D:\Test\data.pdf'&lt;BR /&gt;&amp;amp;nbsp;&lt;BR /&gt;And also tried with Sharepoint path, couldn't upload and got the below error.&lt;BR /&gt;&amp;amp;nbsp;&lt;BR /&gt;Error in PDF("https:\\test.com") :&lt;BR /&gt;invalid 'File' argument (https:\\test.com")&lt;BR /&gt;Note: Given sample link&lt;BR /&gt;&amp;amp;nbsp;&lt;BR /&gt;Please help me with the relative path that has to be configured inorder to export as PDF to cloud or local drive.</description>
      <pubDate>Sat, 15 Jun 2019 03:27:38 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/R-Script-Error-Export-to-PDF-when-published-to-Power-BI-Service/m-p/715217#M19676</guid>
      <dc:creator>Kiran1234</dc:creator>
      <dc:date>2019-06-15T03:27:38Z</dc:date>
    </item>
  </channel>
</rss>

