Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Hi all,
I would like to create a visual of a Principal Component Analysis using this fviz_pca_var function from this library factoextra.
I thought that p here internalSaveWidget(p, 'out.html') could be the output of fviz_pca_var function, but it is not working.
I getting this error:
Error Message:
R script error.
Loading required package: XML
Loading required package: htmlwidgets
Loading required package: dplyr
Attaching package: 'dplyr'
The following objects are masked from 'package:stats':
filter, lag
The following objects are masked from 'package:base':
intersect, setdiff, setequal, union
Loading required package: ggplot2
Loading required package: FactoMineR
Loading required package: factoextra
Welcome! Want to learn more? See two factoextra-related books at https://goo.gl/ve3WBa
Error in .getNamespace(pkg) :
invalid type/length (symbol/0) in vector allocation
Calls: internalSaveWidget ... file.exists -> system.file -> devtools_loaded -> .getNamespace
Execution halted
This is my script.r:
Thank you so much for your help! 🙂
Solved! Go to Solution.
Hi @Anonymous ,
Try to refer to the link, which inclueds the same error.
Change sizing policy of a widget in R and save it
Best regards,
Lionel Chen
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Anonymous ,
Try to refer to the link, which inclueds the same error.
Change sizing policy of a widget in R and save it
Best regards,
Lionel Chen
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
User | Count |
---|---|
8 | |
7 | |
2 | |
2 | |
2 |
User | Count |
---|---|
6 | |
5 | |
4 | |
4 | |
4 |