I recently had to prepare a beamer presentation in hindi/devanagari. I usually use emacs-orgmode with a lot of R source code embedded in it to prepare my beamer presentations. To adapt the entire setup to work with devanagari, this is what I needed to do.
Make orgmode export to latex using xetex rather than

Zero Inflated Models and Generalized Linear Mixed Models with R.
Zuur, Saveliev, Ieno (2012).