if( !require(languageserver) ) {
install.packages("languageserver")
}
Loading required package: languageserver
if( !require(httpgd)) {
::install_github("nx10/httpgd")
remotes }
Loading required package: httpgd
Analyzing SNP data remotely on a server for demultiplexing, etc. can be a bit of a hastle if you would like to do some R analyses. Here is how I set up VSCode to run on my office machine (& laptop) and interface with our servers where all the data are analyzed. I would love to have RStudio be able to do this but, alas, it is not possible yet.
September 30, 2022
First of all, we’ll need to install some stuff on the R
side. The language serve is necessary for VSCode and the httpgd is helpful for viewing graphical output. The following code will check to see if you have them installed and if not, install them for you.
Loading required package: languageserver
Loading required package: httpgd
Now, download VSCode from the main server. You will also need to install the R Extension for Visual Studio Code, which can be installed from inside VSCode.