[R-SIG-Finance] msts command in the forecast package?

Joshua Ulrich josh.m.ulrich at gmail.com
Mon Dec 12 20:22:06 CET 2011


Zachary, Michael,

How to ensure you have the most up-to-date version of a package is a
bit off-topic for this list.  Can you please resolve this off-list?

Thanks,
--
Joshua Ulrich  |  FOSS Trading: www.fosstrading.com



On Mon, Dec 12, 2011 at 12:59 PM, Zachary Mayer <zach.mayer at gmail.com> wrote:
> Quit all open R sessions, and try again.  You cannot install forecast while
> the package is in use.  You also need to install R packages to a directory
> you are authorized to write to.
>
>
> On Mon, Dec 12, 2011 at 1:56 PM, Michael <comtech.usa at gmail.com> wrote:
>
>> Is it about problem of using 64-bit RGui or 32-bit RGui?
>>
>> I have both on my desktop... but I usually launch the 64-bit RGui and
>> install the package into...
>>
>> --------------------
>>
>> > utils:::menuInstallPkgs()
>> trying URL '
>> http://cran.cnr.Berkeley.edu/bin/windows/contrib/2.14/forecast_3.14.zip'
>> Content type 'application/zip' length 966879 bytes (944 Kb)
>> opened URL
>> downloaded 944 Kb
>>
>> package ‘forecast’ successfully unpacked and MD5 sums checked
>> Warning: cannot remove prior installation of package ‘forecast’
>> The downloaded packages are in
>>         C:\Temp\RtmpaKxhdF\downloaded_packages
>>
>> > library(forecast)
>> Error in library(forecast) : there is no package called ‘forecast’
>>
>> > sessionInfo(forecast)
>> Error in sessionInfo(forecast) : object 'forecast' not found
>>
>>
>>
>> On Mon, Dec 12, 2011 at 12:51 PM, R. Michael Weylandt <
>> michael.weylandt at gmail.com> wrote:
>>
>>> What version of forecast do you have loaded (use sessionInfo() after
>>> library(forecast) to check)? If it was only uploaded very very
>>> recently, it might not have propagated to your mirror. It should be
>>> 3.14.
>>>
>>> If your mirrors don't have it built, you might have to download a
>>> source package and do a command line install so you can make sure you
>>> have the right version.
>>>
>>> Michael
>>>
>>> On Mon, Dec 12, 2011 at 1:40 PM, Michael <comtech.usa at gmail.com> wrote:
>>> > Oh thx a lot Zachary!
>>> >
>>> > I would have thought since I just installed the package on Sunday, it
>>> > should be very freshly new/recent!
>>> > But even after I used "update.packages()" following your advice,
>>> >
>>> > I am still getting:
>>> >
>>> >
>>> >> library(forecast)
>>> >
>>> >> ?msts
>>> >
>>> > No documentation for 'msts' in specified packages and libraries:
>>> >
>>> > you could try '??msts'
>>> >
>>> >
>>> >
>>> >
>>> > On Mon, Dec 12, 2011 at 12:30 PM, Zachary Mayer <zach.mayer at gmail.com
>>> >wrote:
>>> >
>>> >> msts was just added to the forecast package<
>>> http://cran.r-project.org/web/packages/forecast/ChangeLog>.
>>>  >>  Make sure you are using version 3.14 by running "update.packages()"
>>> >>
>>> >>
>>> >> 2011/12/12 Michael <comtech.usa at gmail.com>
>>> >>
>>> >>> Of course loaded...
>>> >>>
>>> >>> I can do "auto.arima", etc...
>>> >>>
>>> >>> But just couldn't do "msts"...
>>> >>>
>>> >>> > fit1=auto.arima(as.vector(dDiffPrices))
>>> >>>
>>> >>> > msts
>>> >>>
>>> >>> Error: object 'msts' not found
>>> >>>
>>> >>>
>>> >>> 2011/12/12 Daniel Cegiełka <daniel.cegielka at gmail.com>
>>> >>>
>>> >>> >
>>> >>> >
>>> >>> >  2011/12/12 Michael <comtech.usa at gmail.com>
>>> >>> >
>>> >>> >> Hi all,
>>> >>> >>
>>> >>> >> When I tried to use the "msts" command in the Forecast package...
>>> >>> >>
>>> >>> >>
>>> >>> >> > fcast <- msts(as.vector(my data), c(4, 40))
>>> >>> >>
>>> >>> >> Error: could not find function "msts"
>>> >>> >>
>>> >>> >
>>> >>> > Have you loaded the forecast package?
>>> >>> >
>>> >>> > > library(forecast)
>>> >>> >
>>> >>> >
>>> >>> >
>>> >>> >
>>> >>> >>
>>> >>> >>
>>> >>> >>
>>> >>> >> What could be the problem? I had made sure that the
>>> "library(forecast)"
>>> >>> >> has
>>> >>> >> been used...
>>> >>> >>
>>> >>> >> Thank you!
>>> >>> >>
>>> >>> >>        [[alternative HTML version deleted]]
>>> >>> >>
>>> >>> >> _______________________________________________
>>> >>> >> R-SIG-Finance at r-project.org mailing list
>>> >>> >> https://stat.ethz.ch/mailman/listinfo/r-sig-finance
>>> >>> >> -- Subscriber-posting only. If you want to post, subscribe first.
>>> >>> >> -- Also note that this is not the r-help list where general R
>>> questions
>>> >>> >> should go.
>>> >>> >>
>>> >>> >
>>> >>> >
>>> >>>
>>> >>>        [[alternative HTML version deleted]]
>>> >>>
>>> >>>
>>> >>> _______________________________________________
>>> >>> R-SIG-Finance at r-project.org mailing list
>>> >>> https://stat.ethz.ch/mailman/listinfo/r-sig-finance
>>> >>> -- Subscriber-posting only. If you want to post, subscribe first.
>>> >>> -- Also note that this is not the r-help list where general R
>>> questions
>>> >>> should go.
>>> >>>
>>> >>
>>> >>
>>> >
>>> >        [[alternative HTML version deleted]]
>>> >
>>> >
>>> > _______________________________________________
>>> > R-SIG-Finance at r-project.org mailing list
>>> > https://stat.ethz.ch/mailman/listinfo/r-sig-finance
>>> > -- Subscriber-posting only. If you want to post, subscribe first.
>>> > -- Also note that this is not the r-help list where general R questions
>>> should go.
>>>
>>
>>
>
>        [[alternative HTML version deleted]]
>
>
> _______________________________________________
> R-SIG-Finance at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-sig-finance
> -- Subscriber-posting only. If you want to post, subscribe first.
> -- Also note that this is not the r-help list where general R questions should go.



More information about the R-SIG-Finance mailing list