Skip to content
Prev 45997 / 63424 Next

strange value in .Last.value

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.
--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