Closed p-staub closed 4 years ago
I am unable to reproduce this issue.
library(forecast)
#> Registered S3 method overwritten by 'xts':
#> method from
#> as.zoo.xts zoo
#> Registered S3 method overwritten by 'quantmod':
#> method from
#> as.zoo.data.frame zoo
#> Registered S3 methods overwritten by 'forecast':
#> method from
#> fitted.fracdiff fracdiff
#> residuals.fracdiff fracdiff
snaive(AirPassengers)
#> Point Forecast Lo 80 Hi 80 Lo 95 Hi 95
#> Jan 1961 417 394.3746 439.6254 382.3974 451.6026
#> Feb 1961 391 368.3746 413.6254 356.3974 425.6026
#> Mar 1961 419 396.3746 441.6254 384.3974 453.6026
#> Apr 1961 461 438.3746 483.6254 426.3974 495.6026
#> May 1961 472 449.3746 494.6254 437.3974 506.6026
#> Jun 1961 535 512.3746 557.6254 500.3974 569.6026
#> Jul 1961 622 599.3746 644.6254 587.3974 656.6026
#> Aug 1961 606 583.3746 628.6254 571.3974 640.6026
#> Sep 1961 508 485.3746 530.6254 473.3974 542.6026
#> Oct 1961 461 438.3746 483.6254 426.3974 495.6026
#> Nov 1961 390 367.3746 412.6254 355.3974 424.6026
#> Dec 1961 432 409.3746 454.6254 397.3974 466.6026
#> Jan 1962 417 385.0028 448.9972 368.0646 465.9354
#> Feb 1962 391 359.0028 422.9972 342.0646 439.9354
#> Mar 1962 419 387.0028 450.9972 370.0646 467.9354
#> Apr 1962 461 429.0028 492.9972 412.0646 509.9354
#> May 1962 472 440.0028 503.9972 423.0646 520.9354
#> Jun 1962 535 503.0028 566.9972 486.0646 583.9354
#> Jul 1962 622 590.0028 653.9972 573.0646 670.9354
#> Aug 1962 606 574.0028 637.9972 557.0646 654.9354
#> Sep 1962 508 476.0028 539.9972 459.0646 556.9354
#> Oct 1962 461 429.0028 492.9972 412.0646 509.9354
#> Nov 1962 390 358.0028 421.9972 341.0646 438.9354
#> Dec 1962 432 400.0028 463.9972 383.0646 480.9354
Created on 2019-10-26 by the reprex package (v0.2.1)
Closing as MRE is not provided and I am unable to reproduce this issue.
Hi, I sometimes get this error when running snaive multiple times. Error: evaluation nested too deeply: infinite recursion / options(expressions=)? Error during wrapup: evaluation nested too deeply: infinite recursion / options(expressions=)?
The error then appears with any dataset even just running snaive(AirPassengers) gives return the error. Any idea? Thank you