Forum Discussion
yoshihirok
10 years agoPost Prodigy
R script for starting.
I want to a R script for starting R script in Power BI Desktop. Just like "Hello World" of some programming language. I want to start the R language by Power BI Desktop. Example: How to t...
- Anonymous10 years ago
I suspect querying the Iris data set is the closest thing to a hello world in R (it's a built in set of data on flower petal sizes, kind of the R equivalent to Adventureworks). Try this as a script.
class(iris) str(iris) IrisInput <- iris
tenaciousdata
10 years agoAdvocate I
BarneyL,
Thanks for the hello world example.
Can you add how you would use the iris data in Power BI desktop and plot it.
Asking for a friend :-)
tenaciousdata
10 years agoAdvocate I
Also,
Any ideas when generating the "Iris" dataset, one would get a
"Details: "ADO.NET: R script error.
Error: could not find function "Class"
Execution halted"
error.
Thanks.