in Education by
If commands are stored in an external file, say commands.R in the working directory work, they may be executed at any time in an R session with the command ____________ (a) source(“commands.R”) (b) exec(“commands.R”) (c) execute(“commands.R”) (d) exect(“command.R”) This question was addressed to me in an international level competition. This intriguing question comes from Console Input and Evaluation topic in chapter History, Overview and Getting Started of R Programming Select the correct answer from above options

1 Answer

0 votes
by
 
Best answer
The correct answer is (a) source(“commands.R”) Easy explanation: For Windows, Source is also available on the File menu.

Related questions

0 votes
    If the code is stored in the external file, which of the following function is used to call them to a ... Started of R Programming Select the correct answer from above options...
asked Feb 13, 2022 in Education by JackTerrance
0 votes
    If a command is not complete at the end of a line, R will give a different prompt, by default it is ... Started of R Programming Select the correct answer from above options...
asked Feb 13, 2022 in Education by JackTerrance
0 votes
    Elementary commands in R consist of either _______ or assignments. (a) utilstats (b) language (c) expressions (d ... of R Programming Select the correct answer from above options...
asked Feb 15, 2022 in Education by JackTerrance
0 votes
    _______ will divert all subsequent output from the console to an external file. (a) sink (b) div (c) exp ... Started of R Programming Select the correct answer from above options...
asked Feb 15, 2022 in Education by JackTerrance
0 votes
    Which of the following can be used to display the names of (most of) the objects which are currently stored ... of R Programming Select the correct answer from above options...
asked Feb 15, 2022 in Education by JackTerrance
0 votes
    Which of the following command is used to print an object x in R? (a) printf(x) (b) print(x) ... Getting Started of R Programming Select the correct answer from above options...
asked Feb 13, 2022 in Education by JackTerrance
0 votes
    They primary R system is available from the ______ (a) CRAN (b) CRWO (c) GNU (d) CRDO This question ... Started of R Programming Select the correct answer from above options...
asked Feb 15, 2022 in Education by JackTerrance
0 votes
    R runs on the ____________ operating system. (a) Linux (b) Windows (c) Ubuntu (d) Any operating system I ... Started of R Programming Select the correct answer from above options...
asked Feb 15, 2022 in Education by JackTerrance
0 votes
    What is the function used to test objects (returns a logical operator) if they are NA? (a) is.na() ... Started of R Programming Select the correct answer from above options...
asked Feb 15, 2022 in Education by JackTerrance
0 votes
    What is the function used to test objects (returns a logical operator) if they are NaN? (a) as.nan() ... Started of R Programming Select the correct answer from above options...
asked Feb 12, 2022 in Education by JackTerrance
0 votes
    Command lines entered at the console are limited to about ________ bytes. (a) 3000 (b) 4095 (c) 5000 (d ... Started of R Programming Select the correct answer from above options...
asked Feb 15, 2022 in Education by JackTerrance
0 votes
    The most convenient way to use R is at a graphics workstation running a ________ system. (a) windowing (b) ... Started of R Programming Select the correct answer from above options...
asked Feb 15, 2022 in Education by JackTerrance
0 votes
    In 1991, R was created by Ross Ihaka and Robert Gentleman in the Department of Statistics at the University of ... of R Programming Select the correct answer from above options...
asked Feb 15, 2022 in Education by JackTerrance
0 votes
    At higher level one limitation of R is that its functionality is based on __________ (a) Consumer demand ( ... of R Programming Select the correct answer from above options...
asked Feb 13, 2022 in Education by JackTerrance
0 votes
    ___________ hosts many add-on packages that can be used to extend the functionality of R. (a) CRAN (b) ... Started of R Programming Select the correct answer from above options...
asked Feb 13, 2022 in Education by JackTerrance
...