Sorry it is not a comma but a tilda. The R.help message editor Please replace the dash with a tilda as lm function requires -- View this message in context: http://r.789695.n4.nabble.com/lm-function-strange-error-tp4649065p4649074.html Sent from the R help mailing list archive at Nabble.com.