

MCQOPTIONS
Saved Bookmarks
This section includes 6 Mcqs, each offering curated multiple-choice questions to sharpen your R Programming knowledge and support exam preparation. Choose a topic below to get started.
1. |
Which of the following code would read 100 rows? |
A. | initial <- read.table( datatable.txt , nrows = 100) |
B. | tabAll <- read.table( datatable.txt , colClasses = classes) |
C. | initial <- read.table( datatable.txt , nrows = 99) |
D. | initial <- read.table( datatable.txt , nrows = 101) |
Answer» B. tabAll <- read.table( datatable.txt , colClasses = classes) | |
2. |
Which of the following function is identical to read .table? |
A. | read.csv |
B. | read.data |
C. | read.tab |
D. | read.del |
Answer» B. read.data | |
3. |
Which of the following statement would read file foo.txt ? |
A. | data <- read.table( foo.txt ) |
B. | read.data <- read.table( foo.txt ) |
C. | data <- read.data( foo.txt ) |
D. | data <- data( foo.txt ) |
Answer» B. read.data <- read.table( foo.txt ) | |
4. |
Which of the following argument denotes if the file has a header line? |
A. | header |
B. | sep |
C. | file |
D. | footer |
Answer» B. sep | |
5. |
________ is used for outputting a textual representation of an R object. |
A. | dput |
B. | dump |
C. | dget |
D. | dset |
Answer» B. dump | |
6. |
Which of the following is used for reading in saved workspaces? |
A. | unserialize |
B. | load |
C. | get |
D. | set |
Answer» C. get | |