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
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
Employee
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
Employee
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

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

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.