[ESS] ess-developer interacting with orgmode

Vitalie Spinu spinuvit at gmail.com
Wed Jun 5 17:23:28 CEST 2013


Solved in DEV. 

Thanks, 
    Vitalie

 >> Andreas Leha <andreas.leha at med.uni-goettingen.de>
 >> on Wed, 5 Jun 2013 14:58:43 +0200 wrote:

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


 > 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


 > (http://permalink.gmane.org/gmane.comp.lang.r.devel/33686)

 > So I come back with this issue.

 > Best Andreas

 > ______________________________________________
 > ESS-help at r-project.org mailing list
 > https://stat.ethz.ch/mailman/listinfo/ess-help



More information about the ESS-help mailing list