Create exportEvents.R