[ESS] r-autoyas update

Sven Hartenstein lists at svenhartenstein.de
Mon Apr 4 21:09:38 CEST 2011


Thanks, Ista. I am convinced now. :-)
Thanks, Andreas, for the original suggestion.

I've just updated it: now the R function names start with a dot.

Sven

Am 04.04.2011 20:23, schrieb Ista Zahn:
> I think this is a pretty standard R convention. ess uses .help.ESS,
> set.seed uses .Random.seed, I'm sure there are many others. I also
> think prefixing the functions with a dot is  very good idea, given
> that they are not ment to be called directly by the user from within
> R, and we don' t really need them cluttering up the workspace.
>
> Best,
> Ista
> On Mon, Apr 4, 2011 at 2:04 PM, Sven Hartenstein
> <lists at svenhartenstein.de>  wrote:
>> Hi all,
>>
>> Andreas suggested:
>>
>>> may I suggest, that the r functions (r-autoyas-create, ....) start
>>> with a dot? I use rm(list=ls()) quite regularly, which breaks yas
>>> here, and I suspect others might do the same.
>>
>> I am not sure about this. Hiding functions seems not very elegant to
>> me. What do others say, especially those who are more aware of coding
>> conventions and style than I am?
>>
>> Sven
>>
>> ______________________________________________
>> ESS-help at r-project.org mailing list
>> https://stat.ethz.ch/mailman/listinfo/ess-help
>>
>
>
>



More information about the ESS-help mailing list