created r directory for analysis