Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scoping of parallel modelling #146

Open
mitchelloharawild opened this issue Jan 8, 2020 · 0 comments
Open

Scoping of parallel modelling #146

mitchelloharawild opened this issue Jan 8, 2020 · 0 comments
Labels
bug Something isn't working

Comments

@mitchelloharawild
Copy link
Member

MRE:

library(fable)
#> Loading required package: fabletools
library(future)
plan(multiprocess)
#> Warning: [ONE-TIME WARNING] Forked processing ('multicore') is disabled
#> in future (>= 1.13.0) when running R from RStudio, because it is
#> considered unstable. Because of this, plan("multicore") will fall
#> back to plan("sequential"), and plan("multiprocess") will fall back to
#> plan("multisession") - not plan("multicore") as in the past. For more details,
#> how to control forked processing or not, and how to silence this warning in
#> future R sessions, see ?future::supportsMulticore
x <- 1:80
tsibble::tourism %>% 
  model(TSLM(Trips ~ I(x)))
#> Warning: 304 errors (1 unique) encountered for TSLM(Trips ~ I(x))
#> [304] object 'x' not found
#> # A mable: 304 x 4
#> # Key:     Region, State, Purpose [304]
#>    Region         State              Purpose  `TSLM(Trips ~ I(x))`
#>    <chr>          <chr>              <chr>    <model>             
#>  1 Adelaide       South Australia    Business <NULL model>        
#>  2 Adelaide       South Australia    Holiday  <NULL model>        
#>  3 Adelaide       South Australia    Other    <NULL model>        
#>  4 Adelaide       South Australia    Visiting <NULL model>        
#>  5 Adelaide Hills South Australia    Business <NULL model>        
#>  6 Adelaide Hills South Australia    Holiday  <NULL model>        
#>  7 Adelaide Hills South Australia    Other    <NULL model>        
#>  8 Adelaide Hills South Australia    Visiting <NULL model>        
#>  9 Alice Springs  Northern Territory Business <NULL model>        
#> 10 Alice Springs  Northern Territory Holiday  <NULL model>        
#> # … with 294 more rows

Created on 2020-01-08 by the reprex package (v0.3.0)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant