R: Use environment variables for directories
R: Fix relative path for labels
R: Use code convention naming