[SPARK-11717] Ignore R session and history files from git
[SPARK-11717] Ignore R session and history files from git

see: https://issues.apache.org/jira/browse/SPARK-11717

SparkR generates R session data and history files under current directory.
It might be useful to ignore these files even running SparkR on spark directory for test or development.

Author: Lewuathe <lewuathe@me.com>

Closes #9681 from Lewuathe/SPARK-11717.

(cherry picked from commit 2035ed392e0a9c18ff9c176a7b0f0097ed1276df)
Signed-off-by: Michael Armbrust <17b9e1c64588c7fa6419b4d29dc1f4426279ba01@databricks.com>

haowu80s/spark,haowu80s/spark,haowu80s/spark,haowu80s/spark,haowu80s/spark,haowu80s/spark