Can I predict the size of an object R?
If I know the data types and the number of elements to input into list
or data.frame
, is it possible to predict the size of the R object?
i.e. for any n
(assuming replace = T if necessary):
obj <- list(some_letters = letters[sample(n)], some_months = month.name[sample(n)], some_nums = 1:n)
What will be the formula for predicting size obj
?
+3
richard ramontier
source
to share
No one has answered this question yet
See similar questions:
8
or similar:
2030
1377
1270
1064
930
709
629
466
222
183