6/7/2023 0 Comments R studio android![]() ![]() Long story short: I have a fully working R (complete with tidyverse) on my tablet, and I can access it from jupyter (which is not my first choice in general, but is probably appropriate for this platform and my use - I'm not planning to develop on Android, merely to try code snippets etc). Here is a summary of my experiments, as of October 2021. Step 6: Further customize with Nvim-R or whatever else you like Step 5: Launch R by typing an upper case R R Step 4: Configure your compiler setupclang-gfort-9 It might be wise to install each individually to monitor the warnings, I think some of these packages may be deprecated at this point in time. Mkdir -p "$PREFIX/etc/apt//"Įcho "deb termux extras" > "$PREFIX/etc/apt//pointless.list" Install from F-Droid Step 2: Add the its-pointless package repositoryĮnter the commands below one at a time: pkg install curl gnupg Step 1: Install Termux from F-Droid (or Google Play Store) follow this Installing R on Android via Termux guide from Conor Anderson's blog. Not exactly R Studio but still pretty cool. In a yoga book with android the answer didn't work. Notes:I also installed X11 in ubuntu, but didn't seem to improve the GUI experience of Rcmdr. Ggplot(diamonds) + geom_point(aes(x=carat, y=price, color=cut)) + geom_smooth(aes(x=carat, y=price, color=cut)) In VNC Viewer connect to 127.0.0.1:5901 which corresponds to the :1 display (showing the aterm in white), open R in aterm, then library(Rcmdr).Īfter ploting, see ggplot example, I had to write (blindly) dev.off() because there is no other way to return to the script window. In Android install VNC Viewer (google play).After installing R in ubuntu (see above), install R Commander GUI package:.As in the browser approach install termux and ubuntu.An option is the Rcmdr package, but as termux has not tcl-tk, as you can see inside R using capabilities(), I ended installing ubuntu in termux ![]() Note: In termux app (google play) is possible to install R, see Conor link the important setupclang-gfort-8 step can be accomplished after installing make and gcc-8 and using the new package names in the output of the (outdated) Conor protocol.
0 Comments
Leave a Reply. |