Could not find function "autopilot"

This is my first time using Rstudio for class. I keep getting the error Error: could not find function "autoplot"

autoplot() is not a base R function so it must come frome some package you haven't load yet. There are many packages that include an autoplot() function so you are going to have to check in your class material which one you are supposed to load.

I loaded fpp2, however when I loaded it I got this message: Package 'fpp2' successfully installed.
There were 50 or more warnings (use warnings() to see the first 50)

1 Like

R packages only need to be installed once but they need to be loaded on each R session you want to use them on, to load a package you need to use the library() function.

library(fpp2)

Although, I don't know if that package has an autoplot() function.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.