source {base} R Documentation

Run the external R# script. Read R Code from a File, a Connection or Expressions

Description


causes R to accept its input from the named file or URL or connection or expressions directly.
Input is read and parsed from that file until the end of the file is reached, then the parsed
expressions are evaluated sequentially in the chosen environment.

Usage

source(path,
    ... = NULL);

Arguments

path

a connection Or a character String giving the pathname Of the file Or URL To read from. "" indicates the connection stdin(). [as string]

envir

[as Environment]

Details

Authors

SMRUCC genomics Institute

Value

The value of special last variable or the value returns by the return keyword.

clr value class

Examples


[Package base version 2.33.856.6961 Index]