Q:

Write a R program to get the details of the objects in memory

0

Write a R program to get the details of the objects in memory.

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

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

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

Similar questions


need a help?


find thousands of online teachers now