云引擎目前只能运行 Node.js 和 Python, 今后支持 R 这种较小众的语言希望不大。
但你可以用 LeanCloud 的 Rest API 来使用 LeanCloud 的功能 https://leancloud.cn/docs/rest_api.html