Re: [R] Change R options only inside a package

2013-07-15 Thread Helios de Rosario
>>> El día 15/07/2013 a las 13:30, Duncan Murdoch escribió: > On 13-07-15 5:27 AM, Helios de Rosario wrote: >> Hi, >> >> What should I do if I want to use "non-default" R-options for the >> functions inside a package, but not affect the options of the rest of >> the session? Specifically, I'm thin

Re: [R] Change R options only inside a package

2013-07-15 Thread Duncan Murdoch
On 13-07-15 5:27 AM, Helios de Rosario wrote: Hi, What should I do if I want to use "non-default" R-options for the functions inside a package, but not affect the options of the rest of the session? Specifically, I'm thinking of using "sum contrasts" instead of the default, in functions like "lm

[R] Change R options only inside a package

2013-07-15 Thread Helios de Rosario
Hi, What should I do if I want to use "non-default" R-options for the functions inside a package, but not affect the options of the rest of the session? Specifically, I'm thinking of using "sum contrasts" instead of the default, in functions like "lm", etc. when they are called by other functions