Google Colaboratory supports Python version 2.7 and 3.6
I see an example how to use Swift in Colab a while ago.
Today, I happened to run
!jup
Yes.
For a new R-notebook, use this link. (shorthand is colab.to/r )
You can learn from IRkernel demos, e.g. demo.ipynb
Save a copy in your Google Drive, and make any changes you need.
2 more demos:
See more details in IRkernel Github.