News for hackers. Stuff that matters.
Re:ARrgh: a newcomer's angry guide to R (2013) by 0942v8653 on Sunday December 14, 2014 @07:34PM (#8750142)
You don't have to declare a variable before you use it, so there's no such thing as "a new T".
Re:ARrgh: a newcomer's angry guide to R (2013) by acqq on Sunday December 14, 2014 @07:45PM (#8750171)
But can I declare the local t in the function? And is the t in the function parameter local?
Re:ARrgh: a newcomer's angry guide to R (2013) by hadley on Sunday December 14, 2014 @10:54PM (#8750601)
Yes and yes. R is lexically scoped