Hello Pankaj refer below article.
 
https://www.c-sharpcorner.com/article/connecting-r-software-with-oracle-db/