The R Project SVN R

Rev

Rev 79507 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 79507 Rev 88907
Line 46... Line 46...
46
    2.0 Mbytes of vectors used (32\%)
46
    2.0 Mbytes of vectors used (32\%)
47
}
47
}
48
  Here the last two lines give the current memory usage rounded up to
48
  Here the last two lines give the current memory usage rounded up to
49
  the next 0.1Mb and as a percentage of the current trigger value.
49
  the next 0.1Mb and as a percentage of the current trigger value.
50
  The first line gives a breakdown of the number of garbage collections
50
  The first line gives a breakdown of the number of garbage collections
51
  at various levels (for an explanation see the \sQuote{R Internals} manual).
51
  at various levels (for an explanation see \manual{R-ints}{}).
52
}
52
}
53
 
53
 
54
\value{
54
\value{
55
  \code{gc} returns a matrix with rows \code{"Ncells"} (\emph{cons
55
  \code{gc} returns a matrix with rows \code{"Ncells"} (\emph{cons
56
    cells}), usually 28 bytes each on 32-bit systems and 56 bytes on
56
    cells}), usually 28 bytes each on 32-bit systems and 56 bytes on
Line 66... Line 66...
66
  to \code{gc(reset = TRUE)} (or since \R started).
66
  to \code{gc(reset = TRUE)} (or since \R started).
67
 
67
 
68
  \code{gcinfo} returns the previous value of the flag.
68
  \code{gcinfo} returns the previous value of the flag.
69
}
69
}
70
\seealso{
70
\seealso{
71
  The \sQuote{R Internals} manual.
71
  \manual{R-ints}{}.
72
 
72
 
73
  \code{\link{Memory}} on \R's memory management,
73
  \code{\link{Memory}} on \R's memory management,
74
  and \code{\link{gctorture}} if you are an \R developer.
74
  and \code{\link{gctorture}} if you are an \R developer.
75
 
75
 
76
  \code{\link{gc.time}()} reports \emph{time} used for garbage collection.
76
  \code{\link{gc.time}()} reports \emph{time} used for garbage collection.