[rkward-devel] ***SPAM*** Re: R2HTML orphaned on CRAN
nalimilan at club.fr
Wed Aug 27 12:54:51 UTC 2014
Le mercredi 27 août 2014 à 14:52 +0200, meik michalke a écrit :
> Am Mittwoch, 27. August 2014, 09:56:14 schrieb Milan Bouchet-Valat:
> > Honestly, I'm not sure I like it. It would look like
> > # Getter: OK
> > HTMLFile()
> > # Setter: weird
> > HTMLFile() <- "/my/path"
> > What do you both think about it? I think R is pretty inconsistent
> > already, with par(cex=3) instead of par("cex") <- 3.
> i implemented something similar in koRpus with functions explicitly called
> "get.kRp.env()" and "set.kRp.env()", instead of "kRp.env()" and "kRp.env()<-".
> so far no-one complained ;-)
> i do use the "()<-" notation when i'm changing values of objects in
> .GlobalEnv; e.g., change the language setting of a text object by
> language(object) <- "en"
> as this feels much more intuitive than something like
> yourFunct(obj, lang="en")
> so, if i did this, set.HTMLFile() and get.HTMLFile() or similar would be my
> naming of choice.
Thanks. Actually I've called them HTMLSetFile() and HTMLGetFile(), in
line with other names in R2HTML.
If Thomas agrees, I'll keep them as they are and send the message to the
More information about the Rkward-devel