Skip to contents

This function splits a large ICS calendar file into smaller files.

Usage

cal_split(file, n_splits = 5, prefix = "calendar_split_", dir = NULL)

Arguments

file

Character. Path to the ICS file to split.

n_splits

Integer. Number of files to split into.

prefix

Character. Prefix for the output filenames.

dir

Character. Directory to save the output files. Defaults to same directory as input file.

Value

Invisible list. The paths of the created files.