Write a R program to get the details of the objects in memory.
name = "Python"; n1 = 10; n2 = 0.5 nums = c(10, 20, 30, 40, 50, 60) print(ls()) print("Details of the objects in memory:") print(ls.str())
Sample Output:
[1] "n1" "n2" "name" "nums" [1] "Details of the objects in memory:" n1 : num 10 n2 : num 0.5 name : chr "Python" nums : num [1:6] 10 20 30 40 50 60
total answers (1)
start bookmarking useful questions and collections and save it into your own study-lists, login now to start creating your own collections.
Sample Output:
need an explanation for this answer? contact us directly to get an explanation for this answer