Re: [Rd] strange value in .Last.value

2013-06-05 Thread Duncan Murdoch
On 05/06/2013 10:18 AM, Vitalie Spinu wrote: >> Duncan Murdoch >> on Wed, 5 Jun 2013 07:59:54 -0400 wrote: [...] >> As I take it, it is. Thus, ess/orgmode -- which relies on .Last.value >> for results handling and does not expect that $visible element -- should >> adapt and ignore

Re: [Rd] strange value in .Last.value

2013-06-05 Thread Vitalie Spinu
>> Duncan Murdoch >> on Wed, 5 Jun 2013 07:59:54 -0400 wrote: [...] >> As I take it, it is. Thus, ess/orgmode -- which relies on .Last.value >> for results handling and does not expect that $visible element -- should >> adapt and ignore that explicitly? > I think you'll need to ask on

Re: [Rd] strange value in .Last.value

2013-06-05 Thread Duncan Murdoch
On 13-06-05 3:35 AM, Andreas Leha wrote: Hi Winston, Winston Chang writes: This is the result of the withVisible() function, which is called by source(). This should illustrate what it does: withVisible(1+1) $value [1] 2 $visible [1] TRUE withVisible(invisible(1+1)) $value [1] 2 $vis

Re: [Rd] strange value in .Last.value

2013-06-05 Thread Andreas Leha
Hi Winston, Winston Chang writes: > This is the result of the withVisible() function, which is called by > source(). This should illustrate what it does: > >> withVisible(1+1) > $value > [1] 2 > > $visible > [1] TRUE > > >> withVisible(invisible(1+1)) > $value > [1] 2 > > $visible > [1] FALSE >

Re: [Rd] strange value in .Last.value

2013-06-04 Thread Winston Chang
This is the result of the withVisible() function, which is called by source(). This should illustrate what it does: > withVisible(1+1) $value [1] 2 $visible [1] TRUE > withVisible(invisible(1+1)) $value [1] 2 $visible [1] FALSE -Winston On Tue, Jun 4, 2013 at 3:25 PM, Andreas Leha wrote: >