Maybe the unix time command comes in handy (provided you work with linux)?
http://en.wikipedia.org/wiki/Time_(Unix)
Best
Jan
-Ursprüngliche Nachricht-
Von: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] Im
Auftrag von William Dunlap
Gesendet: Montag, 27. August 2012 1
I found something that looks a bit odd to me:
The memory consumption of reference classes seems to increase dramatically
(roughly 10x in the example below) with serialization/deserialization
(saveRDS() / readRDS()).
Maybe creating instances of the same class has a synergy effect (references?)
w
Dear Martin,
thank you for your hints. They were very helpful. Maybe memory.size() is a more
reasonable measure of memory consumption?
Here's a rough comparison of 10.000 instances of a reference class, an S3 class
and a simple vector:
Reference Class: 14MB
S3 class: 1,76MB
Vector: 0.08MB
So c
Dear All,
It seems that reference classes consume a lot of memory which became a problem
for my rather extensive simulation.
I prepared a small example. An instance of this minimal class uses about 20K on
disk.
rm(list=ls(all=TRUE));
MySmallClass = setRefClass("MySmallClass",
fields =
4 matches
Mail list logo