Forum Discussion
mysorian
9 years agoHelper 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?
The same thing for not so simple scripts as well.
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.:smileyhappy:
column1=c(1,3,5,6,8,9,20) table1=data.frame(column1)
Regards
2 Replies
- dkay84_PowerBIMicrosoft Employee
Have you configured Power BI desktop to use whatever local R you have installed?
- v-ljerr-msftMicrosoft 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.:smileyhappy:
column1=c(1,3,5,6,8,9,20) table1=data.frame(column1)
Regards