[SPARK-20192][SPARKR][DOC] SparkR migration guide to 2.2.0
[SPARK-20192][SPARKR][DOC] SparkR migration guide to 2.2.0

## What changes were proposed in this pull request?

Updating R Programming Guide

## How was this patch tested?

manually

Author: Felix Cheung <felixcheung_m@hotmail.com>

Closes #17816 from felixcheung/r22relnote.

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