I want to perform a stepwise linear Regression using p-values as a selection criterion, e.g.: at each step dropping variables that have the
Package rms: Regression Modeling Strategies has fastbw() that does exactly what you need. There is even a parameter to flip from AIC to p-value based elimination.
fastbw()