The advantage is that when the server is updated and you run apt update it will offer a newer version that you can install with apt upgrade. The script above configures an APT repository to my server v, which offers the same stable RStudio version as. One advantage of this approach is that it shall satisfy all dependencies (i.e., it will install libpq-dev when installing RPostgres). There are binary versions available but the source versions are later:ĭo you prefer later versions from sources? (Yes/no/cancel) nĪfter selecting “n”, to install from binaries, R internally communicates with Ubuntu package manager, and installing ‘devtools’ takes around 10 seconds versus around 5 minutes when building from sources (10 minutes if you need to reinstall because a system dependency was missing). When you reopen RStudio after running the script, you’ll see an output like this: > install.packages("devtools") You can use it on a fresh or existing setup. BSPM (R’s Bridge to System Package Manager).Just copy and paste this one-line command: sudo bash -c "$(wget -qO- )" Hopefully, it can help people in the cyberspace too □ Instructions In addition, this script asks to install R development tools, Git and RStudio. Install R packages as you would do on Windows (i.e., no long compilation time). Additionally, I provide training services in the Spanish language and am available to discuss means by which I may contribute to your Shiny project. R and Shiny Training: If you find this blog to be interesting, please note that I offer personalized and group-based training sessions that may be reserved through Buy me a Coffee.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |