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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

R script data source: difference between source code and explicit code?

Hi all,

 

In the R script get data, is there a difference between:

- putting the code explicitely 

- source of the code (and the code can be either in local or in a sharepoint)

 

I was thinking that if there are some differences it is when refreshing the data source, but i do not know ?

Any insights on that?

 

Thanks and Regards,

Mélissa

2 REPLIES 2
v-shex-msft
Community Support
Community Support

HI @Anonymous,

 

Actually, I think they are different source types, one is r script the other is file from local or sharepoint. When you use on second methods, you need a gateway to handle refresh of file datasource.

 

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.
Anonymous
Not applicable

Hi @v-shex-msft,

 

Thanks for your answer but for the two cases I elicited I was thinking of the same source type: R script.

But in one case I write the code explicitely

and in the other case I write only 1 line of code which is source("https//sharepoint/.../prog.r").

 

 

What you are saying is that when a R script is the source of the data, then I need a personal gateway, is that right?

So, if this is true, then there is no differences between my two methods in terms of schedule refresh?

 

Thanks for your insights,

Regards,

Mélissa

 

 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors
Top Kudoed Authors