[SPARK-11407][SPARKR] Add doc for running from RStudio
[SPARK-11407][SPARKR] Add doc for running from RStudio

![image](https://cloud.githubusercontent.com/assets/8969467/10871746/612ba44a-80a4-11e5-99a0-40b9931dee52.png)
(This is without css, but you get the idea)
shivaram

Author: felixcheung <felixcheung_m@hotmail.com>

Closes #9401 from felixcheung/rstudioprogrammingguide.

ueshin/apache-spark,tejasapatil/spark,big-pegasus/spark,dongjoon-hyun/spark,adrian-ionescu/apache-spark,hhbyyh/spark,kissmetrics/spark,witgo/spark,rednaxelafx/apache-spark,ConeyLiu/spark,darionyaphet/spark,LantaoJin/spark,metamx/spark,haowu80s/spark,poffuomo/spark,debugger87/spark,szhem/spark,wzhfy/spark,hhbyyh/spark,ioana-delaney/spark,zero323/spark,maropu/spark,lvdongr/spark,vinodkc/spark,kevinyu98/spark,markhamstra/spark,caneGuy/spark,markhamstra/spark,mike0sv/spark,michalsenkyr/spark,publicRoman/spark,cin/spark,brad-kaiser/spark,sureshthalamati/spark,ConeyLiu/spark,zuotingbing/spark,mzl9039/spark,nchammas/spark,LantaoJin/spark,hvanhovell/spark,wangmiao1981/spark,aokolnychyi/spark,ron8hu/spark,shaneknapp/spark,kiszk/spark,Panos-Bletsos/spark-cost-model-optimizer,jianran/spark,wangyum/spark,ericvandenbergfb/spark,jianran/spark,mahak/spark,ibm-research-ireland/sparkoscope,tejasapatil/spark,zero323/spark,goldmedal/spark,pgandhi999/spark,sahilTakiar/spark,1haodian/spark,ptkool/spark,SHASHANKB/spark,patrick-nicholson/spark,Aegeaner/spark,shuangshuangwang/spark,nilsgrabbert/spark,kimoonkim/spark,goldmedal/spark,byakuinss/spark,facaiy/spark,skonto/spark,yanboliang/spark,apache-spark-on-k8s/spark,shubhamchopra/spark,shubhamchopra/spark,narahari92/spark,panfengfeng/spark,SnappyDataInc/spark,markhamstra/spark,aray/spark,caneGuy/spark,dongjoon-hyun/spark,JerryLead/spark,stanzhai/spark,guoxiaolongzte/spark,mdespriee/spark,zuotingbing/spark,huang1900/spark,wzhfy/spark,aray/spark,chuckchen/spark,ericvandenbergfb/spark,mike0sv/spark,ajaysaini725/spark,spark-test/spark,WindCanDie/spark,rekhajoshm/spark,dbtsai/spark,ioana-delaney/spark,rezasafi/spark,someorz/spark,dhruve/spark,bdrillard/spark,kimoonkim/spark,joseph-torres/spark,witgo/spark,MLnick/spark,wangyum/spark,brad-kaiser/spark,gioenn/xSpark,minixalpha/spark,vinodkc/spark,Aegeaner/spark,xuanyuanking/spark,jianran/spark,haowu80s/spark,ioana-delaney/spark,ahnqirage/spark,Aegeaner/spark,huang1900/spark,zhouyejoe/spark,actuaryzhang/spark,sachintyagi22/spark,xuanyuanking/spark,bOOm-X/spark,wangyum/spark,janewangfb/spark,guoxiaolongzte/spark,HyukjinKwon/spark,ahnqirage/spark,SHASHANKB/spark,lvdongr/spark,huang1900/spark,liyichao/spark,jrshust/spark,apache-spark-on-k8s/spark,JerryLead/spark,debugger87/spark,spark-test/spark,haowu80s/spark,ioana-delaney/spark,haowu80s/spark,highfei2011/spark,szhem/spark,gioenn/xSpark,rekhajoshm/spark,janewangfb/spark,wangmiao1981/spark,actuaryzhang/spark,mahak/spark,ajaysaini725/spark,map222/spark,nchammas/spark,xuanyuanking/spark,wangyum/spark,lxsmnv/spark,kevinyu98/spark,kissmetrics/spark,gengliangwang/spark,narahari92/spark,publicRoman/spark,sahilTakiar/spark,Panos-Bletsos/spark-cost-model-optimizer,liyichao/spark,taroplus/spark,xflin/spark,mzl9039/spark,Panos-Bletsos/spark-cost-model-optimizer,WindCanDie/spark,SnappyDataInc/spark,joseph-torres/spark,holdenk/spark,WeichenXu123/spark,ueshin/apache-spark,hvanhovell/spark,gioenn/xSpark,taroplus/spark,narahari92/spark,bdrillard/spark,ioana-delaney/spark,witgo/spark,apache/spark,gioenn/xSpark,metamx/spark,SHASHANKB/spark,ron8hu/spark,big-pegasus/spark,minixalpha/spark,markhamstra/spark,Panos-Bletsos/spark-cost-model-optimizer,pgandhi999/spark,nchammas/spark,dhruve/spark,dbtsai/spark,akopich/spark,narahari92/spark,taroplus/spark,zhouyejoe/spark,holdenk/spark,jiangxb1987/spark,SHASHANKB/spark,publicRoman/spark,milliman/spark,caneGuy/spark,MLnick/spark,MLnick/spark,debugger87/spark,jianran/spark,hhbyyh/spark,skonto/spark,eyalfa/spark,taroplus/spark,milliman/spark,janewangfb/spark,JoshRosen/spark,ibm-research-ireland/sparkoscope,liyichao/spark,ericvandenbergfb/spark,bOOm-X/spark,szhem/spark,pgandhi999/spark,bOOm-X/spark,ptkool/spark,map222/spark,brad-kaiser/spark,holdenk/spark,ibm-research-ireland/sparkoscope,big-pegasus/spark,bravo-zhang/spark,akopich/spark,BryanCutler/spark,mzl9039/spark,zhouyejoe/spark,someorz/spark,jiangxb1987/spark,ajaysaini725/spark,sureshthalamati/spark,patrick-nicholson/spark,tengpeng/spark,facaiy/spark,UndeadBaneGitHub/spark,poffuomo/spark,saltstar/spark,holdenk/spark,ptkool/spark,Panos-Bletsos/spark-cost-model-optimizer,zero323/spark,holdenk/spark,vinodkc/spark,SHASHANKB/spark,techaddict/spark,goldmedal/spark,publicRoman/spark,brad-kaiser/spark,SnappyDataInc/spark,shubhamchopra/spark,minixalpha/spark,WindCanDie/spark,saturday-shi/spark,ron8hu/spark,bravo-zhang/spark,actuaryzhang/spark,MLnick/spark,nlalevee/spark,LantaoJin/spark,shuangshuangwang/spark,nilsgrabbert/spark,alunarbeach/spark,gengliangwang/spark,pgandhi999/spark,esi-mineset/spark,alunarbeach/spark,apache/spark,zhouyejoe/spark,WindCanDie/spark,mahak/spark,apache/spark,joseph-torres/spark,srowen/spark,saturday-shi/spark,gengliangwang/spark,gengliangwang/spark,loneknightpy/spark,ajaysaini725/spark,eyalfa/spark,cloud-fan/spark,actuaryzhang/spark,maropu/spark,darionyaphet/spark,SnappyDataInc/spark,xflin/spark,cin/spark,saturday-shi/spark,rekhajoshm/spark,yanboliang/spark,aokolnychyi/spark,highfei2011/spark,jkbradley/spark,tengpeng/spark,ConeyLiu/spark,spark-test/spark,alunarbeach/spark,liutang123/spark,jiangxb1987/spark,skonto/spark,lvdongr/spark,panfengfeng/spark,rednaxelafx/apache-spark,witgo/spark,lxsmnv/spark,dhruve/spark,rikima/spark,Panos-Bletsos/spark-cost-model-optimizer,markhamstra/spark,byakuinss/spark,janewangfb/spark,setjet/spark,nlalevee/spark,highfei2011/spark,kimoonkim/spark,adrian-ionescu/apache-spark,cloud-fan/spark,saturday-shi/spark,narahari92/spark,xuanyuanking/spark,rikima/spark,jlopezmalla/spark,ron8hu/spark,SnappyDataInc/spark,rezasafi/spark,jlopezmalla/spark,mdespriee/spark,aosagie/spark,hhbyyh/spark,tejasapatil/spark,WeichenXu123/spark,eyalfa/spark,stanzhai/spark,aokolnychyi/spark,minixalpha/spark,JoshRosen/spark,xflin/spark,aokolnychyi/spark,eyalfa/spark,bdrillard/spark,skonto/spark,facaiy/spark,kevinyu98/spark,wangyum/spark,UndeadBaneGitHub/spark,JerryLead/spark,kevinyu98/spark,zero323/spark,WeichenXu123/spark,wangyum/spark,map222/spark,spark-test/spark,MLnick/spark,loneknightpy/spark,Aegeaner/spark,zzcclp/spark,caneGuy/spark,patrick-nicholson/spark,ddna1021/spark,BryanCutler/spark,goldmedal/spark,aray/spark,UndeadBaneGitHub/spark,Panos-Bletsos/spark-cost-model-optimizer,markhamstra/spark,aray/spark,byakuinss/spark,huang1900/spark,sachintyagi22/spark,rednaxelafx/apache-spark,hvanhovell/spark,jianran/spark,setjet/spark,dbtsai/spark,jlopezmalla/spark,LantaoJin/spark,zzcclp/spark,hhbyyh/spark,witgo/spark,skonto/spark,nlalevee/spark,maropu/spark,facaiy/spark,zzcclp/spark,eyalfa/spark,loneknightpy/spark,Aegeaner/spark,shuangshuangwang/spark,lxsmnv/spark,ahnqirage/spark,dhruve/spark,andrewor14/spark,patrick-nicholson/spark,gengliangwang/spark,map222/spark,JoshRosen/spark,metamx/spark,loneknightpy/spark,brad-kaiser/spark,alunarbeach/spark,kiszk/spark,BryanCutler/spark,patrick-nicholson/spark,andrewor14/spark,esi-mineset/spark,liutang123/spark,ajaysaini725/spark,caneGuy/spark,BryanCutler/spark,techaddict/spark,xflin/spark,esi-mineset/spark,someorz/spark,LantaoJin/spark,facaiy/spark,spark-test/spark,highfei2011/spark,dbtsai/spark,wzhfy/spark,rekhajoshm/spark,sureshthalamati/spark,jkbradley/spark,srowen/spark,nchammas/spark,HyukjinKwon/spark,xuanyuanking/spark,ConeyLiu/spark,cloud-fan/spark,jiangxb1987/spark,HyukjinKwon/spark,cloud-fan/spark,cloud-fan/spark,kiszk/spark,mike0sv/spark,highfei2011/spark,loneknightpy/spark,apache/spark,bravo-zhang/spark,dongjoon-hyun/spark,akopich/spark,nilsgrabbert/spark,dhruve/spark,pgandhi999/spark,rikima/spark,guoxiaolongzte/spark,jrshust/spark,milliman/spark,zuotingbing/spark,rednaxelafx/apache-spark,saltstar/spark,Aegeaner/spark,apache/spark,yanboliang/spark,zuotingbing/spark,setjet/spark,SnappyDataInc/spark,mahak/spark,dongjoon-hyun/spark,ron8hu/spark,patrick-nicholson/spark,metamx/spark,shuangshuangwang/spark,JerryLead/spark,srowen/spark,panfengfeng/spark,skonto/spark,aray/spark,saltstar/spark,alunarbeach/spark,esi-mineset/spark,WindCanDie/spark,bOOm-X/spark,1haodian/spark,debugger87/spark,someorz/spark,kevinyu98/spark,sureshthalamati/spark,jkbradley/spark,cloud-fan/spark,spark-test/spark,ueshin/apache-spark,aosagie/spark,chuckchen/spark,mdespriee/spark,guoxiaolongzte/spark,shaneknapp/spark,spark-test/spark,jkbradley/spark,goldmedal/spark,wangmiao1981/spark,JoshRosen/spark,debugger87/spark,mike0sv/spark,ueshin/apache-spark,pgandhi999/spark,tejasapatil/spark,adrian-ionescu/apache-spark,xflin/spark,rekhajoshm/spark,sachintyagi22/spark,cin/spark,kevinyu98/spark,esi-mineset/spark,Aegeaner/spark,byakuinss/spark,xflin/spark,bOOm-X/spark,BryanCutler/spark,jiangxb1987/spark,zzcclp/spark,zero323/spark,actuaryzhang/spark,ptkool/spark,szhem/spark,gioenn/xSpark,jlopezmalla/spark,michalsenkyr/spark,icexelloss/spark,ptkool/spark,sureshthalamati/spark,lvdongr/spark,ueshin/apache-spark,mike0sv/spark,saturday-shi/spark,metamx/spark,ibm-research-ireland/sparkoscope,publicRoman/spark,jrshust/spark,MLnick/spark,lvdongr/spark,liyichao/spark,setjet/spark,LantaoJin/spark,shaneknapp/spark,saltstar/spark,setjet/spark,WeichenXu123/spark,janewangfb/spark,1haodian/spark,zhouyejoe/spark,jianran/spark,JerryLead/spark,big-pegasus/spark,nlalevee/spark,poffuomo/spark,szhem/spark,mike0sv/spark,jkbradley/spark,zzcclp/spark,ahnqirage/spark,andrewor14/spark,ahnqirage/spark,kissmetrics/spark,esi-mineset/spark,michalsenkyr/spark,mahak/spark,highfei2011/spark,1haodian/spark,pgandhi999/spark,adrian-ionescu/apache-spark,ueshin/apache-spark,ddna1021/spark,byakuinss/spark,ibm-research-ireland/sparkoscope,icexelloss/spark,ptkool/spark,rezasafi/spark,shuangshuangwang/spark,sahilTakiar/spark,mzl9039/spark,jkbradley/spark,nlalevee/spark,ddna1021/spark,vinodkc/spark,matthewfranglen/spark,UndeadBaneGitHub/spark,saltstar/spark,minixalpha/spark,ahnqirage/spark,rezasafi/spark,hvanhovell/spark,hhbyyh/spark,bdrillard/spark,nchammas/spark,alunarbeach/spark,goldmedal/spark,tengpeng/spark,eyalfa/spark,rednaxelafx/apache-spark,ericvandenbergfb/spark,icexelloss/spark,ron8hu/spark,mzl9039/spark,publicRoman/spark,saturday-shi/spark,kissmetrics/spark,vinodkc/spark,janewangfb/spark,zero323/spark,rednaxelafx/apache-spark,mdespriee/spark,zuotingbing/spark,stanzhai/spark,zuotingbing/spark,tejasapatil/spark,andrewor14/spark,esi-mineset/spark,ajaysaini725/spark,actuaryzhang/spark,UndeadBaneGitHub/spark,UndeadBaneGitHub/spark,map222/spark,shubhamchopra/spark,kiszk/spark,stanzhai/spark,narahari92/spark,MLnick/spark,holdenk/spark,ConeyLiu/spark,panfengfeng/spark,darionyaphet/spark,wangmiao1981/spark,huang1900/spark,ajaysaini725/spark,stanzhai/spark,cin/spark,ueshin/apache-spark,rikima/spark,hvanhovell/spark,bravo-zhang/spark,huang1900/spark,apache/spark,icexelloss/spark,saltstar/spark,aray/spark,ConeyLiu/spark,rekhajoshm/spark,dbtsai/spark,WindCanDie/spark,darionyaphet/spark,bdrillard/spark,srowen/spark,aray/spark,aosagie/spark,techaddict/spark,taroplus/spark,liyichao/spark,big-pegasus/spark,someorz/spark,ibm-research-ireland/sparkoscope,srowen/spark,bOOm-X/spark,debugger87/spark,lvdongr/spark,poffuomo/spark,aosagie/spark,liutang123/spark,ddna1021/spark,map222/spark,SHASHANKB/spark,jlopezmalla/spark,techaddict/spark,JoshRosen/spark,gengliangwang/spark,chuckchen/spark,apache-spark-on-k8s/spark,WeichenXu123/spark,stanzhai/spark,szhem/spark,shubhamchopra/spark,shaneknapp/spark,techaddict/spark,HyukjinKwon/spark,panfengfeng/spark,rednaxelafx/apache-spark,yanboliang/spark,HyukjinKwon/spark,byakuinss/spark,jlopezmalla/spark,loneknightpy/spark,patrick-nicholson/spark,haowu80s/spark,mdespriee/spark,metamx/spark,apache-spark-on-k8s/spark,HyukjinKwon/spark,joseph-torres/spark,ericvandenbergfb/spark,wangmiao1981/spark,nilsgrabbert/spark,byakuinss/spark,akopich/spark,xuanyuanking/spark,aosagie/spark,rikima/spark,shuangshuangwang/spark,xuanyuanking/spark,someorz/spark,jiangxb1987/spark,adrian-ionescu/apache-spark,kissmetrics/spark,bravo-zhang/spark,tengpeng/spark,kimoonkim/spark,joseph-torres/spark,wangmiao1981/spark,cin/spark,janewangfb/spark,tengpeng/spark,cin/spark,srowen/spark,HyukjinKwon/spark,srowen/spark,actuaryzhang/spark,bdrillard/spark,SHASHANKB/spark,markhamstra/spark,liutang123/spark,guoxiaolongzte/spark,chuckchen/spark,eyalfa/spark,WeichenXu123/spark,caneGuy/spark,shaneknapp/spark,bravo-zhang/spark,shubhamchopra/spark,dhruve/spark,ibm-research-ireland/sparkoscope,wangyum/spark,zhouyejoe/spark,wzhfy/spark,liutang123/spark,hhbyyh/spark,nlalevee/spark,zzcclp/spark,huang1900/spark,yanboliang/spark,hvanhovell/spark,nchammas/spark,shubhamchopra/spark,chuckchen/spark,mike0sv/spark,highfei2011/spark,kevinyu98/spark,lvdongr/spark,haowu80s/spark,shuangshuangwang/spark,yanboliang/spark,bOOm-X/spark,andrewor14/spark,jrshust/spark,aosagie/spark,nilsgrabbert/spark,apache-spark-on-k8s/spark,lxsmnv/spark,caneGuy/spark,sahilTakiar/spark,loneknightpy/spark,kimoonkim/spark,vinodkc/spark,brad-kaiser/spark,tengpeng/spark,mdespriee/spark,setjet/spark,nchammas/spark,narahari92/spark,guoxiaolongzte/spark,JerryLead/spark,mzl9039/spark,michalsenkyr/spark,alunarbeach/spark,joseph-torres/spark,milliman/spark,sahilTakiar/spark,debugger87/spark,adrian-ionescu/apache-spark,liutang123/spark,jrshust/spark,zuotingbing/spark,techaddict/spark,1haodian/spark,aokolnychyi/spark,sachintyagi22/spark,ddna1021/spark,ddna1021/spark,taroplus/spark,poffuomo/spark,rikima/spark,jiangxb1987/spark,zero323/spark,metamx/spark,guoxiaolongzte/spark,michalsenkyr/spark,chuckchen/spark,cin/spark,taroplus/spark,sahilTakiar/spark,gengliangwang/spark,akopich/spark,stanzhai/spark,lxsmnv/spark,akopich/spark,mahak/spark,jrshust/spark,michalsenkyr/spark,minixalpha/spark,tejasapatil/spark,gioenn/xSpark,mahak/spark,UndeadBaneGitHub/spark,maropu/spark,rikima/spark,adrian-ionescu/apache-spark,jlopezmalla/spark,sachintyagi22/spark,panfengfeng/spark,wzhfy/spark,ron8hu/spark,sachintyagi22/spark,mzl9039/spark,liutang123/spark,rezasafi/spark,skonto/spark,liyichao/spark,milliman/spark,BryanCutler/spark,nilsgrabbert/spark,facaiy/spark,andrewor14/spark,dbtsai/spark,tengpeng/spark,icexelloss/spark,lxsmnv/spark,ioana-delaney/spark,JoshRosen/spark,saturday-shi/spark,szhem/spark,someorz/spark,bravo-zhang/spark,ConeyLiu/spark,sachintyagi22/spark,kiszk/spark,publicRoman/spark,shaneknapp/spark,panfengfeng/spark,rezasafi/spark,liyichao/spark,wzhfy/spark,poffuomo/spark,minixalpha/spark,setjet/spark,shaneknapp/spark,darionyaphet/spark,goldmedal/spark,facaiy/spark,rekhajoshm/spark,ioana-delaney/spark,vinodkc/spark,dhruve/spark,WeichenXu123/spark,jrshust/spark,andrewor14/spark,wangmiao1981/spark,1haodian/spark,dongjoon-hyun/spark,icexelloss/spark,rezasafi/spark,dongjoon-hyun/spark,ericvandenbergfb/spark,ddna1021/spark,dongjoon-hyun/spark,kiszk/spark,kissmetrics/spark,ahnqirage/spark,ptkool/spark,wzhfy/spark,joseph-torres/spark,maropu/spark,milliman/spark,WindCanDie/spark,nilsgrabbert/spark,maropu/spark,tejasapatil/spark,zzcclp/spark,witgo/spark,bdrillard/spark,milliman/spark,nlalevee/spark,JoshRosen/spark,brad-kaiser/spark,poffuomo/spark,maropu/spark,yanboliang/spark,apache-spark-on-k8s/spark,kimoonkim/spark,map222/spark,aokolnychyi/spark,aokolnychyi/spark,JerryLead/spark,BryanCutler/spark,cloud-fan/spark,witgo/spark,1haodian/spark,big-pegasus/spark,apache/spark,jkbradley/spark,holdenk/spark,kimoonkim/spark,dbtsai/spark,xflin/spark,darionyaphet/spark,lxsmnv/spark,techaddict/spark,LantaoJin/spark,michalsenkyr/spark,icexelloss/spark,zhouyejoe/spark,kissmetrics/spark,darionyaphet/spark,sahilTakiar/spark,ericvandenbergfb/spark,akopich/spark,mdespriee/spark,kiszk/spark,big-pegasus/spark,chuckchen/spark,hvanhovell/spark,SnappyDataInc/spark,sureshthalamati/spark,sureshthalamati/spark,gioenn/xSpark,jianran/spark,aosagie/spark,saltstar/spark,apache-spark-on-k8s/spark