l1fit(x, y, intercept=T, print=T)
L1 is the maximum likelihood estimate when the errors are distributed as a double exponential (Laplace), and is the logical objective in some situations. One reason for the increased interest in L1 regression is that it is robust with respect to heavy-tailed distributions. It is, however, susceptible to high leverage points, and has asymptotic efficiency of about 64% at the Gaussian distribution.
Barrodale, I. and Roberts, F. D. K. (1974). Solution of an Overdetermined System of Equations in the L1 Norm. Communications of the ACM, 17, 319-320.
Bloomfield, P. and Steiger, W. L. (1983). Least Absolute Deviations: Theory, Applications, and Algorithms. Birkhauser, Boston, Mass.
l1fit(stack.x, stack.loss)