search for: exic

Displaying 5 results from an estimated 5 matches for "exic".

Did you mean: exit
2019 Aug 25
2
Conventions: Use of globals and main functions
This is a fair point; structuring functions into packages is probably ultimately the gold standard for code organization in R. However, lexical scoping in R is really not much different than in other languages, such as Python, in which use of main functions and defining other named functions outside of main are encouraged. For example, in Scheme, from which R derives its scoping rules, the community generally organizes code with almost e...
2019 Aug 26
2
Conventions: Use of globals and main functions
...019 at 5:09 PM Duncan Murdoch <murdoch.duncan at gmail.com> wrote: > On 25/08/2019 7:09 p.m., Cyclic Group Z_1 wrote: > > > > > > This is a fair point; structuring functions into packages is probably > ultimately the gold standard for code organization in R. However, lexical > scoping in R is really not much different than in other languages, such as > Python, in which use of main functions and defining other named functions > outside of main are encouraged. For example, in Scheme, from which R > derives its scoping rules, the community generally organize...
2019 Aug 26
0
Conventions: Use of globals and main functions
On 25/08/2019 7:09 p.m., Cyclic Group Z_1 wrote: > > > This is a fair point; structuring functions into packages is probably ultimately the gold standard for code organization in R. However, lexical scoping in R is really not much different than in other languages, such as Python, in which use of main functions and defining other named functions outside of main are encouraged. For example, in Scheme, from which R derives its scoping rules, the community generally organizes code with almost e...
2019 Aug 26
0
Conventions: Use of globals and main functions
....duncan at gmail.com>> wrote: > > On 25/08/2019 7:09 p.m., Cyclic Group Z_1 wrote: > > > > > > This is a fair point; structuring functions into packages is > probably ultimately the gold standard for code organization in R. > However, lexical scoping in R is really not much different than in > other languages, such as Python, in which use of main functions and > defining other named functions outside of main are encouraged. For > example, in Scheme, from which R derives its scoping rules, the > community ge...
2019 Aug 25
10
Conventions: Use of globals and main functions
In R scripts (as opposed to packages), even in reproducible scripts, it seems fairly conventional to use the global workspace as a sort of main function, and thus R scripts often populate the global environment with many variables, which may be mutated. Although this makes sense given R has historically been used interactively and this practice is common for scripting languages, this appears to