initial commit for init.R to initialize and install required packages