Displaying 1 result from an estimated 1 matches for "lostobject".
Did you mean:
hostobject
2008 Jul 20
1
garbage collection, "preserved" variables, and different outcome depending on "--verbose" or not
...nd of this email)
R --no-save < test.R
[The two last lines of the output are:]
> x[1:3]
[1] 0 0 0
while with
R --verbose --no-save < test.R
[The two last lines of the output are:]
> x[1:3]
[1] 3.733188e-317 3.137345e-317 3.137345e-317
The C code is compiled with:
R CMD SHLIB test_lostobject.c
> sessionInfo()
R version 2.7.1 Patched (2008-07-19 r46081)
x86_64-unknown-linux-gnu
locale:
LC_CTYPE=en_US.UTF-8;LC_NUMERIC=C;LC_TIME=en_US.UTF-8;LC_COLLATE=en_US.UTF-8;LC_MONETARY=C;LC_MESSAGES=en_US.UTF-8;LC_PAPER=en_US.UTF-8;LC_NAME=C;LC_ADDRESS=C;LC_TELEPHONE=C;LC_MEASUREMENT=en_US.UTF...