These are the basic computing engines called by lm used to fit linear models. These should usually not be used directly unless by experienced users. .lm.fit() is bare bone wrapper to the innermost QR-based C code, on which glm.fit and lsfit are based as well, for even more experienced users.
上面是lm.fit给的帮助文档,没看到LZ的程序不知道你说的结果不一样是什么量级的不一样,具体差在哪儿只能看代码了。