[R] Clean programming with R

Prof Brian Ripley ripley at stats.ox.ac.uk
Mon Nov 26 21:56:03 CET 2007


It is part of recent versions of R (a recommended package), so if Mr 
Waller follows the advice of the posting guide, he will find it already 
installed.

On Mon, 26 Nov 2007, Gabor Csardi wrote:

> Try some other mirror, or the main site:
> http://cran.r-project.org/src/contrib/Descriptions/codetools.html
>
> You can easily install it via
>
> install.packages("codetools")
>
> and then selecting an appropriate mirror.
>
> Gabor
>
> On Mon, Nov 26, 2007 at 08:19:39PM +0000, Martin Waller wrote:
>> Hmm - I looked for the codetools package on the UK(London) cran site and
>> couldn't find it - where can I find it please?
>>
>> Martin
>>
>> cgenolin at u-paris10.fr wrote:
>>>>> library(codetools)
>>>>> findGlobals(power)
>>>
>>> Thanks for your answer.
>>> In addition, findGlobals(power,FALSE) gives the list of the globals
>>> variables alone :
>>>
>>>> findGlobals(power,F)
>>> $functions
>>> [1] "^"      "{"      "<-"     "return"
>>>
>>> $variables
>>> [1] "pp"
>>>
>>>
>>> ----------------------------------------------------------------
>>> Ce message a ete envoye par IMP, grace a l'Universite Paris 10 Nanterre
>>>
>>> ______________________________________________
>>> R-help at r-project.org mailing list
>>> https://stat.ethz.ch/mailman/listinfo/r-help
>>> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
>>> and provide commented, minimal, self-contained, reproducible code.
>>>
>>
>> ______________________________________________
>> R-help at r-project.org mailing list
>> https://stat.ethz.ch/mailman/listinfo/r-help
>> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
>> and provide commented, minimal, self-contained, reproducible code.
>
>

-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595



More information about the R-help mailing list