datos<-read.table("http://math.uprag.edu/area-precio.dat",header=T)
attach(datos)
plot(area,precio)
fit1<-coef(lm(precio~area,data=datos))

library(MASS)
fit2<-coef(rlm(precio~area,data=datos))

abline(fit1,col=""blue"")
abline(fit2,col=""red"")
legend(locator(1),legend=c('lm azul','rlm rojo'),lty=1:2)

r1<-(lm(precio~area,data=datos))
r2<-(rlm(precio~area,data=datos))
resid(r1)

hist(resid(r1))
library(UsingR)
Warning message:
package 'UsingR' was built under R version 2.7.2
?simple.lm
simple.lm(area,precio,show.ci=TRUE,conf.level=.90)

https://stat.ethz.ch/pipermail/r-help/2006-April/103153.html