Skip to contents

install_timesfm() installs the underlying TimesFM Python package (PyTorch backend) into a dedicated virtualenv via reticulate::py_install(). You only need to run it once per machine.

Usage

install_timesfm(envname = "r-timesfm", ...)

Arguments

envname

Name of the virtualenv to install into. The default, "r-timesfm", is discovered automatically by reticulate when the package loads.

...

Additional arguments passed on to reticulate::py_install().

Value

NULL, invisibly. Called for its side effect.

See also

timesfm() to forecast once installation is complete.

Examples

if (FALSE) { # \dontrun{
install_timesfm()
} # }