bug in garbage collector function gc() documentation (PR#1970)

joshi@engr.orst.edu joshi@engr.orst.edu
Sat, 31 Aug 2002 23:40:53 +0200 (MET DST)


Full_Name: Saket Joshi
Version: 1.5.0
OS: Solaris 5.8
Submission from: (NULL) (128.193.38.91)


According to the documentation obtained by entering: help.search("gc"), the
command gc() forces garbage collection and gives the memory usage statistics
along with the trigger values in bytes also interpretted in megabytes. However
when I ran gc(), the result was a list giving the memory usage in bytes and
interpretted in Megabits and not mega bytes.

e.g.

> gc()

	   used  (Mb) gc trigger  (Mb)
Ncells   288733   7.8     818163  21.9
Vcells 30158416 230.1   48892294 373.1

As can be seen, 230.1 is the interpretation of 30158416 bytes as megabits. But
the documentation says megabytes.
 


-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._