sg: Shortcut to Sys.getenv

Description Usage Arguments Details

View source: R/setpaths.R

Description

Sys.getenv is too much typing

Usage

1
sg(x)

Arguments

x

Environment variable string

Details

This function is included for backward compatibility. Paths are now in a list named path and are accessed via path$pathName or path[['pathName']]. Previously, paths were set in the system enironment. It is still capable of returning a system environment variable as it looks for x in the system environment before path.


HJAllen/gfuns documentation built on July 24, 2021, 8:47 a.m.