Bash version: RSTUDIO_LATEST=$(wget -no-check-certificate -qO- ) There is an even simpler version of the script, that reads the version of the RStudio-server. Unfortunately, the RStudio desktop download page has completely different layout, and I the same approach doesn't work here.Ĭan someone help me with this? I can't believe, that all the data scientist in the world manually upgrade their RStudio! The_r_uri<-stringr::str_match(the_link, ' cat(the_r_uri) The_links <- rvest::html_text(the_links_html) The_links_html <- rvest::html_nodes(thepage,xpath=xpath) If(!require('rvest')) install.packages('rvest', Ncpus=8, repos='') if(!require('stringr')) install.packages('stringr', Ncpus=8, repos='') Here is the R code for getting a download link for the 64bit RStudio-server for Ubuntu. I managed to scrape the download link for the RStudio server, but I still cannot get the RStudio itself. ![]() ![]() Since I am an R programmer, I started to write an R script using rvest package. I am struggling with writing a script that would somehow scrape the for the number of the latest RStudio version, download it and install it.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |