changed attributes & ignore files

ignore .Rproj, .Rhistory, and .RData from updating.  Also, added
attribute to handle the different line endings for Mac and PC.