Re: [R] package usage statistics.

From: Gabor Grothendieck <ggrothendieck_at_gmail.com>
Date: Tue 26 Sep 2006 - 10:37:36 GMT

You could just check what the last time is that the file system was accessed on each package listing out the packages in order of last time accessed. From the Windows console:

cd \Program Files\R\R-2.3.1pat\library
dir /od

or the analogous cd and ls -lt commands on UNIX

On 9/26/06, Vladimir Eremeev <wl@eimb.ru> wrote:
> Dear useRs,
>
> Is it possible to get the R package usage statistics?
> That is, does R contain any tools to estimate which packages were
> used and how often?
>
> I am going to temporary change the workplace and packing the data
> and their processing scripts on my computer in order to continue my
> projects.
>
> During my work on the current workplace I periodically have had installed
> new R packages, have investigated them and used them in my work or did
> not used them, depending on their functionality.
>
> Now I am thinking about writing an R script which will automatically
> download and install everything I need from the R repository.
> So, I need a list of packages I have used in R.
>
> The first solution in my head is to scan all disks for R
> scripts and .Rhistory files, extract calls for "library" from them
> and save names of loaded packages.
>
> I would appreciate other variants.
>
>
> ---
> Best regards,
> Vladimir mailto:wl@eimb.ru
>
> ______________________________________________
> R-help@stat.math.ethz.ch 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@stat.math.ethz.ch 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. Received on Tue Sep 26 20:40:30 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Tue 26 Sep 2006 - 11:30:06 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.