Howto compile chemometrics package from source
Dear Jose, First of all let me explain why your first approach did not work:
install.packages(chemometrics) Erro em install.packages(chemometrics) : objeto 'chemometrics' n?o encontrado
R does not know an object named "chemometrics" and therefore complains. You should have typed
install.packages("chemometrics")
Note the quotes around the name of the package. I just tried this in my Ubuntu machine and it worked as expected without the need of manually downloading anything. Of course the r-base-dev package needs to be installed as you already know. Kind regards, Johannes