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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
mysorian
Helper I
Helper I

R script: From datasources

I choose R Script as the data source.

In the box that gets displayed I insert this script:

dataset=c(1,3,5,6,8,9,20)

I click OK.

 

The Navigator is displayed and comes up with a empty directory called R:. Now what?

 

RscriptSource.PNG

The same thing for not so simple scripts as well.

1 ACCEPTED SOLUTION
v-ljerr-msft
Microsoft Employee
Microsoft Employee

Hi @mysorian,

 

You should include a data frame which is used for storing data tables at the end your script, then it should work as expected.Smiley Happy

column1=c(1,3,5,6,8,9,20)
table1=data.frame(column1)

rs1.PNG

 

Regards

View solution in original post

2 REPLIES 2
v-ljerr-msft
Microsoft Employee
Microsoft Employee

Hi @mysorian,

 

You should include a data frame which is used for storing data tables at the end your script, then it should work as expected.Smiley Happy

column1=c(1,3,5,6,8,9,20)
table1=data.frame(column1)

rs1.PNG

 

Regards

dkay84_PowerBI
Microsoft Employee
Microsoft Employee

Have you configured Power BI desktop to use whatever local R you have installed?

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors