Temp table needs special care

So in lm and glm, use normal table for db.Rquery