[ESS] ess-developer interacting with orgmode
Andreas Leha
andreas.leha at med.uni-goettingen.de
Wed Jun 5 14:58:43 CEST 2013
Hi Vitalie,
Vitalie Spinu <spinuvit at gmail.com> writes:
> Yeh, there is very little that I can do on ESS side. It could be solved
> in org, but it looks to me like an R issue. The behavior is not
> documented and by all means violates the definition of .Last.value.
>
> 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
>
>
> Feel free to complain to R folks.
>
I did. Here is what I got:
--8<---------------cut here---------------start------------->8---
I think you'll need to ask on the ESS list what the intentions are in
this case. The result of source() is a list with the value and
visible entries. This has been true "forever", it's not new
behaviour. (It's unfortunate that this is not clearly documented.)
Duncan Murdoch
--8<---------------cut here---------------end--------------->8---
(http://permalink.gmane.org/gmane.comp.lang.r.devel/33686)
So I come back with this issue.
Best Andreas
More information about the ESS-help
mailing list