Forum Discussion

Gozde's avatar
Gozde
Helper I
8 years ago

R script - timeout error

Hello,

 

I have a R script in Power BI Desktop.

 

I got a timeout error after 5 min. "power bi script execution is stopped because it was running for more than 5 minutes."  I saw in Power BI website, the timeout occurs after 30 min (Any R script that runs longer than 30 minutes – times out).

 

This is my first line in the R script editor, but it seems it is not working:

 

timeout=#duration(0,0,300,0)

 

Do you how can solve this issue? How can I make 5 min to 30 min?

 

Thanks!

6 Replies

    • Gozde's avatar
      Gozde
      Helper I

      Thanks for the help, Yuliana.

       

      I did not use type of code as you mention.

       

      I look at the requests, but one is complaining of 1 min run time and the other one is 30 min. Actually my problem is 5min, which is little bit weird. 

       

      Any more suggection is welcome.

       

      Regards,

      Gozde

      • Gozde's avatar
        Gozde
        Helper I

        Hello,

         

        I have a R script in Power BI Desktop.

         

        I got a timeout error after 5 min. "power bi script execution is stopped because it was running for more than 5 minutes."  I saw in Power BI website, the timeout occurs after 30 min (Any R script that runs longer than 30 minutes – times out).

         

        This is my first line in the R script editor, but it seems it is not working:

         

        timeout=#duration(0,0,300,0)

         

        Do you how can solve this issue? How can I make 5 min to 30 min?

         

        Thanks!