Re: [R] the difference between temp and .temp

2007-10-25 Thread Duncan Murdoch
On 25/10/2007 7:11 PM, Rolf Turner wrote: > > OTOH something called temp is unlikely to be something of which you are > passionately fond anyhow. Unless you put your thousand year temperature records into it. Duncan Murdoch __ R-help@r-project.org mai

Re: [R] the difference between temp and .temp

2007-10-25 Thread jim holtman
It is a holdover from my past when one of the languages that I used to use had that convention for 'local' variables in a block of code. I was used to the convention of being able to define a variable that was only known in the enclosing block. By convention I try to keep those objects active for

Re: [R] the difference between temp and .temp

2007-10-25 Thread Rolf Turner
On 26/10/2007, at 11:44 AM, Tim Calkins wrote: > Hi everyone - > > This came up within the last day -- Jim's response to Deepankar is > pasted below. (but snipped out of this response). > There are probably lots of reasons, but what is the advantage to using > .temp over, say, temp? >

[R] the difference between temp and .temp

2007-10-25 Thread Tim Calkins
Hi everyone - This came up within the last day -- Jim's response to Deepankar is pasted below. There are probably lots of reasons, but what is the advantage to using .temp over, say, temp? I often find myself writing temporary objects -- should I use the . preface? What would be the advantages