![]() ![]() To get up and running with my standard set-up.įirst, let’s change the locale and add some needed tools sudo locale-gen "en_US.UTF-8" What follows are all the things I had to add Localhost:8787 Draw the rest of f***ing owlĪpologies if you have seen the “how to draw an owl”Īppropriate at this point. Then in your browser you can access your RStudio Server with I’m keep the instructions here mostly so I have access to them Update : Actually forgot to do this with my test of the xfceĭesktop and I had no trouble access the server. I’m switching to blogdown for my website and wanted to be able sbin/iptables -I INPUT -p tcp -dport 4321 -j to open up the port for While I was editing the file, I also added Then add /sbin/iptables -I INPUT -p tcp -dport 8787 -j to the end of It is a little easier to work with than vim. Will need to make sure the requests get through the chroot’s firewall. ![]() Since this is RStudio server, we will be accessing it via Chrome and Httr::GET(paste0(url,"/",deb_file),httr::write_disk(deb_file, overwrite = TRUE), Stringr::str_locate(deb_file,current_date)-1) Stop("Not a valid arch and file_type combination")ĭeb_file <- deb_files ![]() Like it could be done within the XML itself), let me know in theĬomments. Also if you have thoughts on a more direct root (seems You are interested, here’s the function that gets the current version of That as I convert to string and parse that for the current version. Next to nothing about working with XML so this code certainly reflects Without actually knowing what that version was. Wanted to be able to download the current version of RStudio Server Sudo gdebi rstudio-server-1.1.bĪs an aside, I got distracted when I started working on this section. To keep the footprint of this thing to a minimum. Gpg -a -export E084DAB9 | sudo apt-key add. sudo echo "deb xenial/" | sudo tee -a /etc/apt/sources.list With a shiny new chroot started, we can now start all of our installs.įirst one is R. Once that finishes (it takes a while), you can hop into the chroot with sudo enter-chroot sudo sh ~/Downloads/crouton -t xfce,extension -n rstudio The rest of thisĪnyway, here is what I used to get my chroot set up. Great as some needed tooling was obviously missing. So the idea of using the minimal install wasn’t so I tried a full desktop install and that appears to be Having problems with RStudio Server and R Session gettingĭiscombobulated. Update : While extension fixed the audio issue, I was still Most notably for me, sound was not working correctly. Update : With just core and cli-extra you are missing a few I didn’t as I was playingĪround with auto-starting the chroot when Chrome OS starts ( see here You can choose to encrypt the chroot or not. I chose core and cli-extra because, frankly, Iĭidn’t know the difference between the two and was just playing it safe. In particular take a look at Jenny Bryan’sįor RStudio Server we don’t need a full desktop so I decided to try this There are a lot of great resources for installing crouton so no need for So enough yammering, how do you do it? Install crouton and set up your chroot Tabs into a stand alone window and take advantage of the real estate of The biggest improvement is now I can pull out those source Improved with web pages and documents just opening up in new tabs as The long and short of it is that it is pretty easy to get set up (if youĪre comfortable setting up crouton) and the overall experience is much I figured I could stand up RStudio Server in a chroot, access itĭirectly in Chrome via localhost and have a much more native ChromeOS Host RStudio Server nor do I want to require an internet connection to RStudio Server in the browser, but I don’t want to pay for servers to I did not have these problems when accessing ![]() None of these are deal breakers, but they did lead to a bit of aīumpy workflow at times. (the big one) not being able to pull out a source tab into a separate RStudio, opening documents (PDF or Word), overall look and feel, and The top four of these are: opening web pages from But there have been a few issues that have kind I have been succesfully using RStudio Desktop on my Chromebook all yearĪnd it has worked great. In this post I will detail how to set up RStudio Server in aĬrouton chroot and access it directly via Chrome without having to fire This post is a reprise of that one as well as post #1 in my effort toĭouble my blog output from 2017 (I’m shooting for the stars on that The only post I got around to writing in 2017 was a single messy,Įvoloving set of notes on how to set up a Chromebook with R and RStudio. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |