Skip to content
Code to spider CRAN, tokenize package source code and analyze function usage both within and across packages.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.



This code was developed to perform a frequency analysis of function usage
in standard R source code. You will need functioning copies of Perl, Ruby and
R to use the code. The spidering code will download all of the packages
currently on CRAN to your local machine; this code is in Perl and uses the
WWW:Mechanize library. The tokenization code is written in Ruby; it has no
external dependencies. Finally, the analysis code is written in R and depends
upon the ggplot2 package to generate graphs.

To follow the steps you need to take to replicate these results, work through
the script, which needs to be slightly edited before it can be run.

Something went wrong with that request. Please try again.