Monthly Archives: February 2018

PMean: Do you need to name your function arguments in R?

This page is moving to a new website.

If you program anything in R, you’ll end up calling a lot of functions. You pass your data or your constants to these functions, and you can do it in one of two ways. You can either pass the data/constants in the order in which the function expects the arguments or you can match each data/constant value with a particular argument name. This came up in the context of a question: do I need to save everything using

save.image(file=”foo.RData”)

or can I save it with

save.image(“foo.RData”)? Continue reading