xfun (version 0.34)

stringsAsStrings: Set the global option options(stringsAsFactors = FALSE) inside a parent function and restore the option after the parent function exits

Description

This is a shorthand of opts = options(stringsAsFactors = FALSE); on.exit(options(opts), add = TRUE).

Usage

stringsAsStrings()

Arguments