There are number of programs which can do PLS regression in QSAR study but these are commercial. I am looking for some R codes which can do PLS regression in stepwise manner i.e. variable selection, PLS regression, R metrices, leverages, generate plots etc.