You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I R 3.4, I got the following error, when calling outlier twice.
library(seasonal)
m<- seas(AirPassengers)
outlier(m)
outlier(m)
# Error in stats::window(x = `*tmp*`, start = as.numeric(ol.time.R[[i]]), : # object '*tmp*' not found
Narrowing it down a bit it turns out this is probably caused by the new byte compiler which is turned on by default. So, here's the pure R problem:
z<-AirPassengers# this works
window(z, start= c(1955, 1), end= c(1955, 1)) <-NA# this works notfor (iin1) {
window(z, start= c(1955, 1), end= c(1955, 1)) <-NA
}
# Error in stats::window(x = `*tmp*`, start = c(1955, 1), end = c(1955, : # object '*tmp*' not found# turning off the byte compiler makes it working againcompiler::enableJIT(0)
for (iin1) {
window(z, start= c(1955, 1), end= c(1955, 1)) <-NA
}
If disabled before loading seasonal, this also fixes with the outlier problem:
I R 3.4, I got the following error, when calling
outlier
twice.Narrowing it down a bit it turns out this is probably caused by the new byte compiler which is turned on by default. So, here's the pure R problem:
If disabled before loading seasonal, this also fixes with the outlier problem:
The text was updated successfully, but these errors were encountered: