This is the personal blog of José Ramón Cuesta about the use of chemometric tools available in R to study the Near Infrared spectroscopy and develop models with the spectra and reference values.