--8<---------------cut here---------------start------------->8---
R version 2.15.2 (2012-10-26)
Platform: x86_64-pc-linux-gnu (64-bit)
locale:
[1] C
attached base packages:
[1] stats graphics grDevices utils datasets compiler methods
[8] base
loaded via a namespace (and not attached):
[1] tools_2.15.2
--8<---------------cut here---------------end--------------->8---
sessionInfo()
R version 2.15.0 (2012-03-30)
Platform: x86_64-pc-linux-gnu (64-bit)
locale:
[1] LC_CTYPE=en_US.UTF-8 LC_NUMERIC=C
[3] LC_TIME=en_US.UTF-8 LC_COLLATE=en_US.UTF-8
[5] LC_MONETARY=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8
[7] LC_PAPER=C LC_NAME=C
[9] LC_ADDRESS=C LC_TELEPHONE=C
[11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] matrixStats_0.6.2 stringr_0.6 reshape_0.8.4 plyr_1.7.1
loaded via a namespace (and not attached):
[1] R.methodsS3_1.4.2 tools_2.15.0
A.K.
----- Original Message -----
From: Sam Steingold <sds at gnu.org>
To: r-help at r-project.org; Richard M. Heiberger <rmh at temple.edu>
Cc:
Sent: Monday, December 10, 2012 2:13 PM
Subject: Re: [R] the value of the last expression
* Richard M. Heiberger <ezu at grzcyr.rqh> [2012-02-09 21:48:50 -0500]:
.Last.value
[1] 1 1 2 6 24 120
[7] 720 5040 40320 362880 3628800 39916800
[13] 479001600 6227020800 87178291200
NULL
could my .Rprofile be at fault?
## 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)
On Thu, Feb 9, 2012 at 9:44 PM, Sam Steingold <sds at gnu.org> wrote:
Is there an analogue of common lisp "*" variable which contains the
value of the last expression?
E.g., in lisp:
3
I wish I could recover the value of the last expression without
re-evaluating it.