src

0th

Percentile

Source a File from the Current Working Directory

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.

Keywords
utilities, file, programming
Usage
src(x)
Arguments
x

an unquoted file name aside from ".s". This base file name must be a legal S name.

Side Effects

Sets system option last.source

See Also

source

Aliases
  • src
Examples
# NOT RUN {
src(myfile)   # source("myfile.s")
src()         # re-source myfile.s
# }
Documentation reproduced from package Hmisc, version 4.1-1, License: GPL (>= 2)

Community examples

Looks like there are no examples yet.