R interview questions part 28

R interview questions part 28

Take as many assements as you can to improve your validate your skill rating

Total Questions: 20

1. Which Package contains most fundamental functions to run R?

Correct Answer is : base

2. Point out the wrong statement :

Correct Answer is : S’s base graphics system allows for very fine control over essentially every aspect of a plot or graph

3. Which of the following is a base package for R language?

Correct Answer is : tools

4. Which of the following is “Recommended” package in R?

Correct Answer is : spatial

5. What is the output of getOption(“defaultPackages”) in R studio?

Correct Answer is : Shows default packages in R

6. Advanced users can write ___ code to manipulate R objects directly.

Correct Answer is : C, C++

7. Which of the following is used for Statistical analysis in R language?

Correct Answer is : RStudio

8. What is the output of the following R program? r<-0:10 r[2]

Correct Answer is : 1

9. What is the output of the following R program? r<-0:10 r[2]

Correct Answer is : 1

10. Which of the following operator is used to create integer sequences?

Correct Answer is : :

11. Which of the following operator is used to create integer sequences?

Correct Answer is : :

12. What will be the output of the following R program? y<-0:5 vector(y) y[3]

Correct Answer is : Error in vector(y): invalid ‘mode’ argument

13. What will be the output of the following R program? y<-0:5 vector(y) y[3]

Correct Answer is : Error in vector(y): invalid ‘mode’ argument

14. In R language, a vector is defined that it can only contain objects of the ________

Correct Answer is : Same class

15. In R language, a vector is defined that it can only contain objects of the ________

Correct Answer is : Same class

16. A list is represented as a vector but can contain objects of ___________

Correct Answer is : Different class

17. A list is represented as a vector but can contain objects of ___________

Correct Answer is : Different class

18. How can we define ‘undefined value’ in R language?

Correct Answer is :

19. How can we define ‘undefined value’ in R language?

Correct Answer is :

20. What is NaN called?

Correct Answer is : Not a Number

Similar Interview Questions

    Search for latest jobs

    Icon
    Icon