I'm working with some large objects in R and going out of memory is a concern. I want to save on memory by defining them once as global variables, rather than passing them as arguments to functions where they'd be defined twice, once outside the function and once as an argument.
Will this really save memory? If so, is there any "weird" behaviour using global variables this way that I should be aware of?