cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
sigmundtoth Frequent Visitor
Frequent Visitor

Problem with R visual in Advanced Analytics starter pack

Feedback Type:
Frown (Error)

Timestamp:
2019-04-02T18:09:52.5489496Z

Local Time:
2019-04-02T20:09:52.5489496+02:00

Session ID:
929146d3-148d-4dec-966d-d6d9e678cdcd

Release:
March 2019

Product Version:
2.67.5404.581 (19.03) (x64)

Stack Trace:
Microsoft.PowerBI.ExploreServiceCommon.ScriptHandlerException: R script error.
Loading required package: corrplot
Warning message:
In library(package, lib.loc = lib.loc, character.only = TRUE, logical.return = TRUE, :
there is no package called 'corrplot'
Error in library(corrplot) : there is no package called 'corrplot'
Execution halted
---> Microsoft.PowerBI.Scripting.R.Exceptions.RScriptRuntimeException: R script error.
Loading required package: corrplot
Warning message:
In library(package, lib.loc = lib.loc, character.only = TRUE, logical.return = TRUE, :
there is no package called 'corrplot'
Error in library(corrplot) : there is no package called 'corrplot'
Execution halted

at Microsoft.PowerBI.Scripting.R.RScriptWrapper.RunScript(String originalScript, Int32 timeoutMs)
at Microsoft.PowerBI.Client.Windows.R.RScriptHandler.GenerateVisual(ScriptHandlerOptions options)
--- End of inner exception stack trace ---
at Microsoft.PowerBI.Client.Windows.R.RScriptHandler.GenerateVisual(ScriptHandlerOptions options)
at Microsoft.PowerBI.ExploreServiceCommon.ScriptVisualCommandFlow.RunInternal(Stream dataShapeResultStream, QueryBindingDescriptor& bindingDescriptor)
at Microsoft.PowerBI.ExploreServiceCommon.ScriptVisualCommandFlow.Run(Stream dataShapeResultStream, QueryBindingDescriptor& bindingDescriptor)
at Microsoft.PowerBI.ExploreHost.SemanticQuery.ExecuteSemanticQueryFlow.TransformDataShapeResult(QueryCommand transformCommand, SemanticQueryDataShapeCommand command, Stream dataShapeResultStream, QueryBindingDescriptor& bindingDescriptor)
at Microsoft.PowerBI.ExploreHost.SemanticQuery.ExecuteSemanticQueryFlow.ExecuteDataQuery(IQueryResultDataWriter queryResultDataWriter, EngineDataModel engineDataModel, DataQuery query, Int32 queryId, ServiceErrorStatusCode& serviceErrorStatusCode)
at Microsoft.PowerBI.ExploreHost.SemanticQuery.ExecuteSemanticQueryFlow.ProcessAndWriteSemanticQueryCommands(IQueryResultsWriter queryResultsWriter, ExecuteSemanticQueryRequest request, EngineDataModel engineDataModel)

OS Version:
Microsoft Windows NT 10.0.17134.0 (x64 nb-NO)

CLR Version:
4.7 or later [Release Number = 461808]

Peak Virtual Memory:
38.1 GB

Private Memory:
327 MB

Peak Working Set:
507 MB

IE Version:
11.590.17134.0

User ID:
1d1791a2-3955-4cd9-aa92-542415dee0a9

Workbook Package Info:
1* - en-US, Query Groups: 0, fastCombine: Disabled, runBackgroundAnalysis: True.

Telemetry Enabled:
True

Model Default Mode:
Import

Snapshot Trace Logs:
C:\Users\sigtot\AppData\Local\Microsoft\Power BI Desktop\FrownSnapShot1002522005.zip

Enabled Preview Features:
PBI_PdfImport
PBI_ColumnProfiling
PBI_showManageAggregations
PBI_improvedFilterExperience
PBI_keyDrivers

Disabled Preview Features:
PBI_shapeMapVisualEnabled
MIntellisense
PBI_SpanishLinguisticsEnabled
PBI_PythonSupportEnabled
PBI_showIncrementalRefreshPolicy
PBI_FuzzyMatching
PBI_qnaLiveConnect

Disabled DirectQuery Options:
TreatHanaAsRelationalSource

Cloud:
GlobalCloud

DPI Scale:
150%

Supported Services:
Power BI

1 ACCEPTED SOLUTION

Accepted Solutions
v-yulgu-msft Super Contributor
Super Contributor

Re: Problem with R visual in Advanced Analytics starter pack

Hi @sigmundtoth ,

 

From the error message, it points that "there is no package called 'corrplot'". Please check whether you have installed this package on your machine to ensure the execution of R script.

 

Best regards,

Yuliana Gu

Community Support Team _ Yuliana Gu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
v-yulgu-msft Super Contributor
Super Contributor

Re: Problem with R visual in Advanced Analytics starter pack

Hi @sigmundtoth ,

 

From the error message, it points that "there is no package called 'corrplot'". Please check whether you have installed this package on your machine to ensure the execution of R script.

 

Best regards,

Yuliana Gu

Community Support Team _ Yuliana Gu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

v-yulgu-msft Super Contributor
Super Contributor

Re: Problem with R visual in Advanced Analytics starter pack - Status changed to: Needs Info

 
Community Support Team _ Yuliana Gu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
sigmundtoth Frequent Visitor
Frequent Visitor

Re: Problem with R visual in Advanced Analytics starter pack

Thanks, Yuliana. You are quite right. I had not realized that I needed to separately install each package. 🙂 Consider the problem solved!

Helpful resources

Announcements
October 2019 Community Highlights

October 2019 Community Highlights

October was a busy month in the community. Read the recap article to learn about some of the events and content.

New Solution Badges

New Solution Badges

Two waves of brand new solution badges are coming! Read the article for more information on our new community badges.

Ask Amir Anything

Exclusive LIVE Community Event No. 2 – Ask Amir Anything

Next in our Triple A series: Ask Amir Netz questions about the latest updates, features and future.

Analytics in Azure virtual event

Analytics in Azure virtual event

Experience a limitless analytics service built to ingest, prep, manage, and serve data for immediate use in Power BI.

Users Online
Currently online: 141 members 1,689 guests
Please welcome our newest community members: