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

MSTS (forecast package) not working in R visual

I am trying to create a multi seasonality model using 'msts' from the forecast package in the R visual tool. When I paste the code in the designated place and try to run it, the R visual does not get displayed. On checking the details, I get the following message - 

 

R script Error

Error in msts(my code)

could not find function "msts"

Execution halted.

 

 

I have searched multiple forums for this error, but didnt found anything. Any help will be appreciated.

2 ACCEPTED SOLUTIONS

Accepted Solutions
v-danhe-msft Super Contributor
Super Contributor

Re: MSTS (forecast package) not working in R visual

Hi @anu_sachan,

Based on my test, it could work on my side:

1.PNG

Could you please check if you have installed the 'forecast' package?

And could you please check if have entered below code firstly?

library(forecast)

 

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.

View solution in original post

anu_sachan Frequent Visitor
Frequent Visitor

Re: MSTS (forecast package) not working in R visual

Hi,

 

I realised that i had mistyped the forecast library and hence it wasnt working. Its working perfectly now. Thanks 😄 

View solution in original post

3 REPLIES 3
v-danhe-msft Super Contributor
Super Contributor

Re: MSTS (forecast package) not working in R visual

Hi @anu_sachan,

Based on my test, it could work on my side:

1.PNG

Could you please check if you have installed the 'forecast' package?

And could you please check if have entered below code firstly?

library(forecast)

 

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.

View solution in original post

anu_sachan Frequent Visitor
Frequent Visitor

Re: MSTS (forecast package) not working in R visual

Hi,

 

I realised that i had mistyped the forecast library and hence it wasnt working. Its working perfectly now. Thanks 😄 

View solution in original post

Highlighted
v-danhe-msft Super Contributor
Super Contributor

Re: MSTS (forecast package) not working in R visual

Hi @anu_sachan,

It's pleasant that your problem has been solved, could you please mark the reply as Answered?

 

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
Can You Solve These Challenge

Challenge: Can You Solve These?

Find out how to participate in the first Power BI 'Can You Solve These?' challenge.

New Badges

Incoming: New and Improved Badges

Exciting news: We've given our badges an overhaul and added brand news ones.

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: 278 members 2,889 guests
Please welcome our newest community members: