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.
I'm running a few R visuals on a page but the main one isn't working. The R script gets executed and displayed perfectly fine in PowerBI Desktop, but it's throwing this error when I try to load it in PowerBI Service. I haven't set any parameters regarding "angle" so I'm even more thrown off by this error. Any help would be much appreciated, as I wasn't expecting this type of error after hours of development.
Error with details is:
Loading required package: magrittr Loading required package: sysfonts [1] "font in use: arial.ttf" Error in element_grob.element_text(el, ...) : Text element requires non-NULL value for 'angle'. In addition: Warning message: package 'ggpubr' was built under R version 3.4.2
Please try again later or contact support. If you contact support, please provide these details.
What version of the ggpubr package are you using?
We only support 0.1.5 https://docs.microsoft.com/en-us/power-bi/service-r-packages-support
...So we are about 5 builds behind
I still get the same error when I remove the ggpubr function and a bit of the plotting arguments:
pq1_plop <- ggplot(pq1_agged, aes(y=cat, x=mean_2008)) +
geom_point(color="#2b8cbe", fill="#2b8cbe", size=4, pch=16) +
geom_point(aes(x =abc_mean), color="#feb24c", fill="#feb24c", size=4, pch=3) +
geom_point(aes(x = def_mean), color="#31a354", fill="#31a354", size=4, pch=3) +
geom_point(aes(x = mean_2007), color="#b3daff", fill="#b3daff", size=4, pch=16) +
ylab("Program ") +
scale_y_discrete(labels = function(mean_2008) str_wrap(mean_2008, width = 50)) +
scale_x_continuous(sec.axis = dup_axis(), lim = c(1, 4)) +
theme_bw()
Error is:
Stackoverflow is a great place to get help: http://stackoverflow.com/tags/ggplot2. Loading required package: magrittr Loading required package: sysfonts [1] "font in use: arial.ttf" Error in element_grob.element_text(el, ...) : Text element requires non-NULL value for 'angle'. In addition: Warning message: package 'ggpubr' was built under R version 3.4.2
Please try again later or contact support. If you contact support, please provide these details.
HI @kimchizal,
It seems like you are test with an old version R script with correspond R packages.
According to your error message, it seems like old version R packages has some compatibility issue with new version on service side.
I'd like to suggest you update your R scripts to last version and try again(last version 3.5.2).
Regards,
Xiaoxin Sheng
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.