cancel
Showing results for 
Search instead for 
Did you mean: 
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

Accepted Solutions
Microsoft
Microsoft

Re: R script: From datasources

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

Re: R script: From datasources

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

Microsoft
Microsoft

Re: R script: From datasources

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

Helpful resources

Announcements
Announcing the New Spanish Forum

Announcing the New Spanish Forum

Do you need help in Spanish? Check out our new Spanish community section.

April 2020 Community Highlights

April 2020 Community Highlights

Info on our Super Users, MBAS content and badges, and updates to our support articles. - Read the full Community Highlights.

MBAS Gallery 2020

MBAS Gallery 2020

Watch Microsoft Business Applications Summit sessions on-demand.

Top Solution Authors
Top Kudoed Authors