Thanks for the correction Gabor. I am still new to R. Gabor Grothendieck wrote: > > forecast must be quoted: > > install.packages("forecast") > > and in this case its actually part of the forecasting bundle so we > could also do this: > > install.packages("forecasting") > > Look at ?install.packages and note the way it works for different values > of > the dependencies argument. > > On Tue, Aug 12, 2008 at 7:28 PM, warthog29 <[EMAIL PROTECTED]> wrote: >> >> I initially input the following commands, and got the corresponding >> errors: >> >> install.packages(forecast) >> Error in install.packages(forecast) : object "forecast" not found >>> library(forecast) >> Error in library(forecast) : there is no package called 'forecast' >> >> >> I was finally able to get it installed by using the menus provided. >> Thanks >> for your help. >> >> >> Nordlund, Dan (DSHS/RDA) wrote: >>> >>>> -----Original Message----- >>>> From: [EMAIL PROTECTED] >>>> [mailto:[EMAIL PROTECTED] On Behalf Of warthog29 >>>> Sent: Tuesday, August 12, 2008 3:40 PM >>>> To: r-help@r-project.org >>>> Subject: [R] arima forecast function >>>> >>>> >>>> hi: >>>> >>>> I am trying to fit prediction intervals for an arima object. >>>> My search led >>>> me to the link: >>>> >>>> http://finzi.psych.upenn.edu/R/library/forecast/html/forecast. >>>> Arima.html >>>> >>>> which has the function "forecast", as I wanted. However, when >>>> I try to run >>>> it in R, I get the message: >>>> >>>> Error in plot(forecast(fit)) : could not find function "forecast" >>>> >>>> Even the example provided on the page (having corrected the >>>> function "Arima" >>>> to "arima") does not seem to work. >>>> What's going on? Does the function "forecast" to an older >>>> version of R? Can >>>> somebody please explain? >>>> -- >>> >>> Have you installed the forecast package on your system? If you have, >>> did >>> you load the package? >>> >>> library(forecast) >>> >>> >>> Hope this is helpful, >>> >>> Dan >>> >>> Daniel J. Nordlund >>> Washington State Department of Social and Health Services >>> Planning, Performance, and Accountability >>> Research and Data Analysis Division >>> Olympia, WA 98504-5204 > > ______________________________________________ > R-help@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide > http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. > >
-- View this message in context: http://www.nabble.com/arima-forecast-function-tp18953848p19008363.html Sent from the R help mailing list archive at Nabble.com. ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.