Re: [Rd] NULL assignment will change the expression's class into list

2010-10-08 Thread Duncan Murdoch
Vitalie Spinu wrote: On Fri, Oct 8, 2010 at 7:49 PM, Duncan Murdoch wrote: On 08/10/2010 12:24 PM, Vitalie Spinu wrote: On Fri, Oct 8, 2010 at 12:14 PM, Duncan Murdoch wrote: Vitalie Spinu wrote: Hello Everyone! NULL replacement will change expression

Re: [Rd] NULL assignment will change the expression's class into list

2010-10-08 Thread Vitalie Spinu
On Fri, Oct 8, 2010 at 7:49 PM, Duncan Murdoch wrote: > On 08/10/2010 12:24 PM, Vitalie Spinu wrote: > >> On Fri, Oct 8, 2010 at 12:14 PM, Duncan Murdoch> >wrote: >> >> > Vitalie Spinu wrote: >> > >> >> Hello Everyone! >> >> >> >> NULL replacement will change expression object into list: >> >>

Re: [Rd] NULL assignment will change the expression's class into list

2010-10-08 Thread Duncan Murdoch
On 08/10/2010 12:24 PM, Vitalie Spinu wrote: On Fri, Oct 8, 2010 at 12:14 PM, Duncan Murdochwrote: > Vitalie Spinu wrote: > >> Hello Everyone! >> >> NULL replacement will change expression object into list: >> >> >> >>> te<- expression(a=23*4, b=33-2) >>> te >>> >>> >> expression(a = 23 *

Re: [Rd] NULL assignment will change the expression's class into list

2010-10-08 Thread Vitalie Spinu
On Fri, Oct 8, 2010 at 12:14 PM, Duncan Murdoch wrote: > Vitalie Spinu wrote: > >> Hello Everyone! >> >> NULL replacement will change expression object into list: >> >> >> >>> te <- expression(a=23*4, b=33-2) >>> te >>> >>> >> expression(a = 23 * 4, b = 33 - 2) >> >> >> >>> te[["a"]] <- quote(blab

Re: [Rd] NULL assignment will change the expression's class into list

2010-10-08 Thread Duncan Murdoch
Vitalie Spinu wrote: Hello Everyone! NULL replacement will change expression object into list: te <- expression(a=23*4, b=33-2) te expression(a = 23 * 4, b = 33 - 2) te[["a"]] <- quote(blabla) #ok te expression(a = blabla, b = 33 - 2) te[["a"]] <- NULL #change to list

[Rd] NULL assignment will change the expression's class into list

2010-10-08 Thread Vitalie Spinu
Hello Everyone! NULL replacement will change expression object into list: > > te <- expression(a=23*4, b=33-2) > te expression(a = 23 * 4, b = 33 - 2) > te[["a"]] <- quote(blabla) #ok > te expression(a = blabla, b = 33 - 2) > te[["a"]] <- NULL #change to list > te $b 33 - 2 I am on w32, versio