Forum Discussion
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.
Hi anu_sachan,
Based on my test, it could work on my side:
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
Hi,
I realised that i had mistyped the forecast library and hence it wasnt working. Its working perfectly now. Thanks :D
3 Replies
- v-danhe-msftMicrosoft Employee
Hi anu_sachan,
Based on my test, it could work on my side:
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
- anu_sachanNew Member
Hi,
I realised that i had mistyped the forecast library and hence it wasnt working. Its working perfectly now. Thanks :D
- v-danhe-msftMicrosoft Employee
Hi anu_sachan,
It's pleasant that your problem has been solved, could you please mark the reply as Answered?
Regards,
Daniel He