Skip to content

Commit

Permalink
port r59528 from trunk
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.r-project.org/R/branches/R-2-15-branch@59529 00db46b3-68df-0310-9c12-caf00c1e9a41
  • Loading branch information
ripley committed Jun 5, 2012
1 parent 51f8fdc commit db13e8e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion doc/manual/R-ints.texi
Expand Up @@ -1688,7 +1688,10 @@ The memory used by @code{R_alloc} is allocated as @R{} vectors, of type
@code{RAWSXP} for `small' allocations (less than 2^31 - 1 bytes) and of
type @code{REALSXP} for allocations up to 2^34 - 1 bytes on 64-bit
machines. Thus the allocation is in units of 8 bytes, and is rounded
up.
up. A request for zero bytes currently returns @code{NULL} (but
this should not be relied on). For historical reasons, in all other
cases 1 byte is added before rounding up so the allocation is always
1--8 bytes more than was asked for: again this should not be relied on.

The vectors allocated are protected via the setting of @code{R_VStack},
as the garbage collector marks everything that can be reached from that
Expand Down

0 comments on commit db13e8e

Please sign in to comment.