2025 COMPLETE MULTIPLE CHOICE
QUESTION BANK WITH VERIFIED
ANSWERS,DETAILED
EXPLANATIONS AND 100%
GUARANTEE PASS (ORIGINAL
COPY!!!!!!)
? - THE CORRECT ANSWER-Use this to prompt the help page (e.g.,
?list.files will bring up the help page for the list.files function).
Note that symbols must be enclosed in backticks after the ?
(e.g., ?`:`).
args() - THE CORRECT ANSWER-Displays the argument names and
corresponding default values of a function or primitive
dir.create() - THE CORRECT ANSWER-Create a directory in the current
working directory
file.create() - THE CORRECT ANSWER-Create a new file in the working
directory
file.exists() - THE CORRECT ANSWER-Check to see if a file exists in the
working directory
file.info() - THE CORRECT ANSWER-Get information about the file
, file.rename() - THE CORRECT ANSWER-Change the name of a file
file.remove() - THE CORRECT ANSWER-Delete a file
file.copy() - THE CORRECT ANSWER-Make a copy of a file
file.path() - THE CORRECT ANSWER-Create a file path
Create a directory in the current working directory called
"testdir2" and a subdirectory for it called "testdir3" all in one
command - THE CORRECT ANSWER-dir.create(file.path('testdir2',
'testdir3'), recursive = TRUE)
unlink() - THE CORRECT ANSWER-Delete a directory
Delete a directory named "testdir2" - THE CORRECT ANSWER-
unlink("testdir2", recursive = TRUE)
Assign the value of the current working directory to a variable
called "old.dir" - THE CORRECT ANSWER-old.dir <- dir()
Create a sequence of numbers from 1 through 20 - THE CORRECT
ANSWER-1:20 or seq(1,20)
This will create 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20