R-alpha: Problem with gc()

Andreas Weingessel Andreas.Weingessel@ci.tuwien.ac.at
Thu, 26 Jun 1997 15:51:45 +0200


>>>>> On Thu, 26 Jun 1997 15:34:59 +0100 (NFT),
>>>>> Heiner Schwarte wrote:

> Could someone plese confirm the following ?
> (AIX 4.1.4, 0.49+patch1+patch2a)

> ################################################################

> schwarte@cauchy:[/home/schwarte]>/usr/local/R-0.49/bin/R

> R : Copyright 1997, Robert Gentleman and Ross Ihaka
> Version 0.49 Beta (April 23, 1997)

> R is free software and comes with ABSOLUTELY NO WARRANTY.
> You are welcome to redistribute it under certain conditions.
> Type "license()" for details.

>> logical(10)
>  [1] FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE
>> gc()
> Garbage collection ...
> 149210 cons cells free (74%)
> 1820k bytes of heap free (93%)
>> logical(10)
>  [1]  TRUE FALSE  TRUE FALSE  TRUE FALSE  TRUE FALSE  TRUE FALSE
>> logical(10)
>  [1]  TRUE FALSE  TRUE FALSE  TRUE FALSE  TRUE FALSE  TRUE FALSE

> #################################################################


The same on a PC with Linux/Debian-1.3:


R : Copyright 1997, Robert Gentleman and Ross Ihaka
Version 0.49 Beta (April 23, 1997)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type "license()" for details.

R> logical(10)
 [1] FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE
R>  gc()
Garbage collection ...
142276 cons cells free (71%)
3945k bytes of heap free (96%)
R>  logical(10)
 [1]  TRUE  TRUE  TRUE FALSE FALSE  TRUE  TRUE FALSE  TRUE FALSE
R>  logical(10)
 [1]  TRUE  TRUE  TRUE FALSE  TRUE FALSE  TRUE FALSE  TRUE FALSE
R> 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
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
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-