Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now
Hi,
R execution fails in service while trying to create a dataflow unlike desktop.
Is it not possible at all to run R script to create a dataflow in service like desktop?
Thank you in advance.
Test Query _PQWRY
let
X = R.Execute("Column1<-c(""red"",""blue"")#creating column1#(lf)Column2<-c(""green"",""white"")#creating column2#(lf)Column3<-c(""aqua"",""magenta"")#creating column2#(lf)df_1<-data.frame(Column1, Column2, Column3)"),
df_1 = X{[Name="df_1"]}[Value]
in
df_1
Test Query_Rscript
Column1<-c("red","blue")#creating column1
Column2<-c("green","white")#creating column2
Column3<-c("aqua","magenta")#creating column2
df_1<-data.frame(Column1, Column2, Column3)
R and Python scripts require the use of a personal gateway. Not sure if you can do that with dataflows.
@lbendlin thanks for your reply. Don't think it is possible to run R script in DF currently. The r terminal is missing in DF.
I guess R runs on desktop as it can see the R Studio IDE on the local machine which it can't on DF.
The only way I assume it can be run on DF through running R on SQL server connection. R can be run on a SQL server DB table through SQL server ML services.
I did not do the testing but I guess it would work out. The only downside is that R can only be run on SQL tables and not on anyother data source.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 11 | |
| 11 | |
| 9 | |
| 8 | |
| 8 |