File: resources_OP.R

package info (click to toggle)
r-cran-future.batchtools 0.12.1%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 528 kB
  • sloc: sh: 82; makefile: 2
file content (13 lines) | stat: -rw-r--r-- 305 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
source("incl/start.R")

message("*** %resources% ...")

plan(batchtools_local)

## This will test `%resources%` but it'll be ignored (with a warning)
## by batchtools_local()
y %<-% { 42 } %resources% list(memory = 16000) ## 16,000 MiB of memory

message("*** %resources% ... DONE")

source("incl/end.R")