processPckg {Visualize.CRAN.Downloads} | R Documentation |
main function to analyze a list of packages in a given time frame
Description
main function to analyze a list of packages in a given time frame
Usage
processPckg(
pckg.lst,
t0 = lastyear.date(),
t1 = today(),
opts = list(),
device = "PDF",
dirSave = NULL
)
Arguments
pckg.lst |
list of packages to process |
t0 |
initial date, begining of the time period given in "YYYY-MM-DD" format |
t1 |
final date, ending of the time period given in "YYYY-MM-DD" format |
opts |
a list of different options available for customizing the output |
device |
string to select the output format: 'PDF'/'PNG'/'JPEG' or 'screen' |
dirSave |
name of a valid directory where to save the file, eg. do not specify this argument or enter "." for using the current working directory |
Examples
# device is set to "screen" so no files are generated and plots will appear on "screen"
# alternative to 'device' are "PDF"/"PNG"/"JPEG"
processPckg("ehelp", device="screen")
processPckg(c("ehelp","plotly","ggplot2"), "2001-01-01", device="screen")
processPckg(c("ehelp","plotly","ggplot2"), "2001-01-01", opts="nostatic", device="screen")
processPckg(c("ehelp","plotly","ggplot2"), "2001-01-01",
opts=c("nostatic","nocombined","nointeractive"), device="screen")
[Package Visualize.CRAN.Downloads version 1.0.3 Index]