R in Power BI, error with working directory

I have set the working directory to "C:/Users/Jeff/Desktop/RProg" in RStudio,but when I use R in power bi I get this error message Details: "ADO.NET: R script error.
Error in setwd("~/Documents/R") : cannot change working directory
Calls: .First -> options -> setwd
Execution halted.
Can you please help me.
Cheers Jeff.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.