On Mon, Dec 10, 2012 at 7:13 PM, Sam Steingold <s...@gnu.org> wrote: >> * Richard M. Heiberger <e...@grzcyr.rqh> [2012-02-09 21:48:50 -0500]: >> >> .Last.value > > Thanks; it worked for a while, but not anymore: > > http://stat.ethz.ch/R-manual/R-patched/library/base/html/Last.value.html > --8<---------------cut here---------------start------------->8--- >> gamma(1:15) > [1] 1 1 2 6 24 120 > [7] 720 5040 40320 362880 3628800 39916800 > [13] 479001600 6227020800 87178291200 >> z <- .Last.value >> z > NULL > --8<---------------cut here---------------end--------------->8---
That's certainly odd.... I don't see anything in your .Rprofile which raises red flags, but you can confirm by running R --vanilla which will ignore all environment settings, .*(rc|profile), saved sessions etc. I presume you've tested in a fresh session and seen this behavior consistently? If so, could you provide your sessionInfo() and source of the binary you're using. > > could my .Rprofile be at fault? > --8<---------------cut here---------------start------------->8--- > ## breaks ess > ## options(error = utils::recover) > options(max.print = 100, repos = c(CRAN = "http://lib.stat.cmu.edu/R/CRAN/")) > library(compiler) > compiler::enableJIT(3) > compiler::compilePKGS(1) > --8<---------------cut here---------------end--------------->8--- > > ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.