Is it possible to use R on an iPad?
Solution 1:
Your question is basically:
“Is it possible to use R on an iPad?”
And the answer to that is a simple:
No.
While you are well intentioned in your post, from a basic operating system there is no way you can program on any iOS device since you won’t be able to ever selfie-install tools or get to the command line to install R to begin with.
Some might say you could do this by using the iPad to remotely connect to another machine—such as a MacBook or a Mac mini and such—but that is really not a solution. You would simply be remotely accessing a real computer in a kludgy way. If you want to use R, you need a real macOS computer… Or Windows… But you asked for Mac so I will say… Mac.