1.

If you explicitly want an integer, you need to specify the _____ suffix.(a) D(b) R(c) L(d) KI have been asked this question during an online interview.Question is from Data Types topic in section Nuts and Bolts and Getting Data In and Out of R Programming

Answer»

Correct choice is (c) L

To ELABORATE: Entering 1 in R GIVES you a NUMERIC object; entering 1L EXPLICITLY gives you an integer object.



Discussion

No Comment Found

Related InterviewSolutions