franknarf1 / r-tutorial

This book covers the essentials of using R
Creative Commons Zero v1.0 Universal
13 stars 4 forks source link

note treatment of locals in j for by= loops #18

Open franknarf1 opened 7 years ago

franknarf1 commented 7 years ago

When j evaluates, it's in a static scope where local variables retain their values from the previous group. -- https://stackoverflow.com/a/47209858/

This can be added to my bullets re "The use of by= is very similar to a for loop" in the tables chapter.