Re: [R] Issues with R's forecast function

2024-05-27 Thread Paul Bernal
Dear Sarah, I installed the latest R version available (4.4.0), installed the forecast package and related packages from scratch and the issue was resolved. Kind regards, Paul El lun, 27 may 2024 a las 13:51, Sarah Goslee () escribió: > Hi Paul, > > Looking at this, you aren't running the most

Re: [R] Issues with R's forecast function

2024-05-27 Thread Paul Bernal
Hi Sarah, I ran update.packages, reloaded the forecast package, but kept on getting the same errors. I am going to install the latest R version (4.4.0), as I was using version 4.3.2 and reinstall the package. Cheers, Paul El lun, 27 may 2024 a las 13:51, Sarah Goslee () escribió: > Hi Paul, >

Re: [R] Issues with R's forecast function

2024-05-27 Thread Sarah Goslee
Hi Paul, Looking at this, you aren't running the most recent version of forecast. If I were having a problem of this sort, I'd update R (if you can), run update.packages() and then try again with a minimal set of packages. As one of the other responses suggested, you probably have mismatched vers

Re: [R] Issues with R's forecast function

2024-05-27 Thread Paul Bernal
Dear Sarah, Here is the sessionInfo() output, I forgot to include it in my reply. sessionInfo() R version 4.3.2 (2023-10-31 ucrt) Platform: x86_64-w64-mingw32/x64 (64-bit) Running under: Windows 11 x64 (build 22631) Matrix products: default locale: [1] LC_COLLATE=English_United States.utf8 LC

Re: [R] Issues with R's forecast function

2024-05-27 Thread Paul Bernal
Thanks for the kind feedback. I will go ahead and update the packages and see what happens. I will keep you posted. Cheers, Paul El lun, 27 may 2024 a las 13:51, Sarah Goslee () escribió: > Hi Paul, > > Looking at this, you aren't running the most recent version of forecast. > > If I were havin

Re: [R] Issues with R's forecast function

2024-05-27 Thread Paul Bernal
Dear Sarah, Thank you for kindly reaching back. I did load the package, which makes this issue really odd. I ran the same model about a week ago and everything was working to perfection. Best regards, Paul El lun, 27 may 2024 a las 12:15, Sarah Goslee () escribió: > Hi Paul, > > It looks like

Re: [R] Issues with R's forecast function

2024-05-27 Thread Jeff Newmiller via R-help
You have completely ignored mentioning what R contributed packages you may have been using in "back when it worked". It is critical that you keep track of which "library" statements are necessary to run your code, if any. I searched for "R usemethod forecast" in Google and this [1] came up. Perh

Re: [R] Issues with R's forecast function

2024-05-27 Thread Sarah Goslee
Hi Paul, It looks like you're using the forecast package, right? Have you loaded it? What is the output of sessionInfo() ? It looks to me like you either haven't loaded the needed packages, or there's some kind of conflict. Your examples don't give me errors when I run them, so we need more info

[R] Issues with R's forecast function

2024-05-27 Thread Paul Bernal
Dear all, I am currently using R 4.3.2 and the data I am working with is the following: ts_ingresos_reservas= ts(ingresos_reservaciones$RESERVACIONES, start = c(1996,11), end = c(2024,4), frequency = 12) structure(c(11421.54, 388965.46, 254774.78, 228066.02, 254330.44, 272561.38, 377802.1, 3