summary(lm(x ~ I(t^2))), but you should probably read the "Introduction to R" Pascal