Learn R Programming

Hmisc (version 5.3-0)

src: Source a File from the Current Working Directory

Description

src concatenates ".s" to its argument, quotes the result, and sources in the file. It sets options(last.source) to this file name so that src() can be issued to re-source the file when it is edited.

Usage

src(x)

Arguments

See Also

Examples

Run this code
if (FALSE) {
src(myfile)   # source("myfile.s")
src()         # re-source myfile.s
}

Run the code above in your browser using DataLab