Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

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.

Reply
Anonymous
Not applicable

Problem when trying to show a graphic with R

Hi everyone, 
I've been trying to use the R feature to forecast the demand of some products, I installed all the necessary packages but when i run the code I get this message.

 

Error Message:
Error del script R.
Loading required package: scales
Loading required package: forecast
Loading required package: zoo

Attaching package: 'zoo'

The following objects are masked from 'package:base':

as.Date, as.Date.numeric

Error in plot.forecast(prediction, lwd = pointCex, col = alpha(pointsCol, :
could not find function "plot.forecast"
Execution halted

 

I wonder if there is a way to solve it. 
Thank you.

1 REPLY 1
v-danhe-msft
Employee
Employee

Hi @Anonymous ,

Could you have libraried all of the packages? And could you have tried to run in R script to see if it could run in R?

 

Regards,

Daniel He

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

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.