Mastering Environmental Data with R: From Basics to Efficiency