[R] package usage statistics.
Gabor Grothendieck
ggrothendieck at gmail.com
Tue Sep 26 12:37:36 CEST 2006
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 at 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 at eimb.ru
>
> ______________________________________________
> R-help at 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.
>
More information about the R-help
mailing list