Skip to contents

Sets the anvl.backend option for the duration of the calling scope. Every array built and every operation run in that scope uses the backend, and R values materialize at its default data types (see default_dtypes()).

Usage

local_backend(backend, envir = parent.frame())

Arguments

backend

(character(1))
Backend to use ("pjrt" or "quickr").

envir

The environment to scope the change to.

Value

(character(1))
The previous value of the option, invisibly.