globasn: assign an object to global environment

View source: R/package.R

globasnR Documentation

assign an object to global environment

Description

ONLY USE IF YOU KNOW WHAT YOU ARE DOING This function forces assignment of a variable/function to the global environment, or an environment of your choosing

Usage

globasn(
  obj,
  var = NULL,
  return_obj = TRUE,
  envir = .GlobalEnv,
  verbose = TRUE,
  vareval = F
)

Arguments

obj

The object to assign to the global environment

var

Optional name of variable, specified as string

Value

either NULL or the object being assigned


kevinmhadi/khtools documentation built on Jan. 16, 2025, 4:18 p.m.