What is the purpose of the search() function in R?
A. Displays the search path for loaded packages
B. Searches for a file in the working directory
C. Searches for a keyword in the help
D. Displays the search history
Answer: Option A
A. Displays the search path for loaded packages
B. Searches for a file in the working directory
C. Searches for a keyword in the help
D. Displays the search history
Answer: Option A
What is the primary purpose of R programming language?
A. Web Development
B. Data Analysis
C. Game Development
D. Mobile App Development
In R, what does the function length() do?
A. Returns the sum of elements
B. Returns the number of elements
C. Sorts the elements
D. Computes the mean
What does the function install.packages() do in R?
A. Load a package
B. Uninstall a package
C. Install a new package
D. Update all packages
Join The Discussion