This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreLevel up your Power BI skills this month - build one visual each week and tell better stories with data! Get started
Hi,
Attempting to display R visual using non R-base libraries grid and gridExtra.
The error message produced is listed next, followed by:
(1) a description of my computing environment
(2) Installed versions for Power BI and R
(3) List of R Script that produces error
(4) List of R Script that successfully displays
Anyone have any ideas about what may be causing the error? I do not believe the cause is an incorrect R installation as other stackoverflow forums suggest.
Error Message:
A problem occurred while processing your R script.
Here are the technical details:
Running the R script encountered the following error:
Failed to retrieve error code string from System ->317
Double-check that R is installed correctly on your machine.
R is correctly installed as I am also able to successfully display visuals that only require R-base libraries.
Computing Environment:
Host machine:
macbook pro late 2021 Apple Silicon M1 Max
macOS Ventura 13.4.1
Parallels VM:
Processor Apple Silicon 3.20 GHz (4 processors)
Installed RAM 32.0 GB
System type 64-bit operating system, ARM-based processor
Edition Windows 11 Pro
Version 21H2
Installed on 06/09/2022
OS build 22000.2057
Experience Windows Feature Experience Pack 1000.22001.1000.0
Power BI Desktop -- Version: 2.118.828.0 64-bit (June 2023)
R-4.3.1 (64bit)
Error occurs when I attempt to use gridExtra to display a table of data.
.libPaths()
[1] "C:/rPackages/4.3"
[2] "C:/Program Files (x86)/R/R-4.3.1/library"
R-4.3.1 is installed at folllowing location:
C:\Program Files (x86)\R\R-4.3.1
Power BI Options & Settings lists the R Home Path
Above path suggests 32bit install, but it is actually a 64bit install. This is the way R installs in this Win11 ARM VM environment, as proof, here is the startup message from Rgui:
R version 4.3.1 (2023-06-16 ucrt) -- "Beagle Scouts"
Copyright (C) 2023 The R Foundation for Statistical Computing
Platform: x86_64-w64-mingw32/x64 (64-bit)
Both of below scripts successfully execute and produce visuals in RStudio.
The script that produces the error is:
**** Code Snip Start ****
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 1 | |
| 1 | |
| 1 |
| User | Count |
|---|---|
| 6 | |
| 4 | |
| 3 | |
| 2 | |
| 2 |