Can base R function args be set in configuration?

For example, if I wanted to never download any dependencies, in R I would

install.packages("A3", dependencies = false)

Is there something I could put into .Renviron or .Rprofile that would enforce that behaviour?

I presume it would look like this, but I can't see any documentation to indicate this would work:

install.packages.dependencies = false

Thanks
L.

I'd try this

1 Like

Thank you @nirgrahamuk

Yes. With options(na.rm = TRUE) is effective in changing the evaluation of c(1,NA,3,5) from NA to

> it
[1]  1 NA  3  5

Not recommended for anything to be shared with others.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.