# `calendR`: A nice R-tool for creating calender ## ###### tags: `R` JW, 2022-02-27 {%hackmd @nccudocs/medium-theme %} {%hackmd BJrTq20hE %} ## 1. Example ```r= library(calendR) calendR(year = 2022, start = "M", month = 6, #start_date = "2022-07-01", #end_date = "2022-12-31", special.days = "weekend", orientation = "p" ) # Defaults to current year ``` ## 2. Usage 1. If u wanna get a ==year calender==, just using `calendR(year = 2022, start = "M")`. (start from Monday) 2. If u need a period of time, setting `start_date` and `end_date`. 3. If u need a calender for a specific month, setting `month` (e.g. for June `=6`). 4. suggest use `orientation = "p"` for print a good pdf file.