From andreas.leha at med.uni-goettingen.de  Tue Jun  4 22:25:26 2013
From: andreas.leha at med.uni-goettingen.de (Andreas Leha)
Date: Tue, 4 Jun 2013 22:25:26 +0200
Subject: [Rd] strange value in .Last.value
Message-ID: <87wqq94o95.fsf@med.uni-goettingen.de>

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



[Rd] strange value in .Last.value
Andreas Leha