[Rd] strange value in .Last.value

Andreas Leha andreas.leha at med.uni-goettingen.de
Tue Jun 4 22:25:26 CEST 2013


Hi all,

the .Last.value sometimes contains a strange $visible FALSE value.  This
poses problems when using R with ESS (and ess-developer-mode) from
within org-mode.


>From http://permalink.gmane.org/gmane.emacs.ess.general/7299:

--8<---------------cut here---------------start------------->8---
Here is how to reproduce. Put df <- data.frame(a=1:3, b=1:3) in test.R
and then:

   source("test.R")
   print(.Last.value)

you should get:

   $value
     a b
   1 1 1
   2 2 2
   3 3 3
   
   $visible
   [1] FALSE
--8<---------------cut here---------------end--------------->8---


Regards,
Andreas



More information about the R-devel mailing list