source_r: read R code from a file, with changing directory.

View source: R/utility.R

source_rR Documentation

read R code from a file, with changing directory.

Description

Same with default source except: 1. local is TRUE in default, 2. chdir is TRUE in default.

Usage

source_r(file, local = TRUE, ..., chdir = TRUE)

Arguments

file

file name

local

local environment; default is current environment

...

argument for source

chdir

change dir


hmito/hmRLib documentation built on March 13, 2024, 9:41 p.m.