You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/lab-services/class-type-rstudio-linux.md
+9-9Lines changed: 9 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,8 +12,8 @@ ms.service: lab-services
12
12
13
13
[R](https://www.r-project.org/about.html) is an open-source language used for statistical computing and graphics. It's used in the statistical analysis of genetics to natural language processing to analyzing financial data. R provides an [interactive command line](https://cran.r-project.org/doc/manuals/r-release/R-intro.html#Invoking-R-from-the-command-line) experience. [RStudio](https://www.rstudio.com/products/rstudio/) is an interactive development environment (IDE) available for the R language. The free version provides code editing tools, an integrated debugging experience, and package development tools.
14
14
15
-
This article will focus on solely RStudio and R as a building block for a class that requires the use of statistical computing. The [deep learning](class-type-deep-learning-natural-language-processing.md) and [Python and Jupyter Notebooks](class-type-jupyter-notebook.md)
16
-
class types setup RStudio differently. Each article describes how to use the [Data Science Virtual Machine for Linux (Ubuntu)](https://azuremarketplace.microsoft.com/en-us/marketplace/apps?search=Data%20science%20Virtual%20machine&page=1&filters=microsoft%3Blinux) marketplace image, which has many [data science related tools](../machine-learning/data-science-virtual-machine/tools-included.md), including RStudio, pre-installed.
15
+
This article focuses on solely RStudio and R as a building block for a class that requires the use of statistical computing. The [deep learning](class-type-deep-learning-natural-language-processing.md) and [Python and Jupyter Notebooks](class-type-jupyter-notebook.md)
16
+
class types setup RStudio differently. Each article describes how to use the [Data Science Virtual Machine for Linux (Ubuntu)](https://azuremarketplace.microsoft.com/en-us/marketplace/apps?search=Data%20science%20Virtual%20machine&page=1&filters=microsoft%3Blinux) marketplace image, which has many [data science related tools](../machine-learning/data-science-virtual-machine/tools-included.md), including RStudio, preinstalled.
17
17
18
18
## Lab configuration
19
19
@@ -25,7 +25,7 @@ Some classes require files, such as large data files, to be stored externally.
25
25
26
26
If you choose to have a shared R Server for the students, the server should be set up before the lab is created. For more information on how to set up a shared server, see [how to create a lab with a shared resource in Azure Lab Services](how-to-create-a-lab-with-shared-resource.md). For instructions to create an RStudio Server, see [Download RStudio Server for Debian & Ubuntu](https://www.rstudio.com/products/rstudio/download-server/debian-ubuntu/) and [Accessing RStudio Server Open-Source](https://support.rstudio.com/hc/en-us/articles/200552306-Getting-Started).
27
27
28
-
If you choose to use any external resources, you’ll need to [Connect to your virtual network in Azure Lab Services](how-to-connect-vnet-injection.md) with your lab plan.
28
+
If you choose to use any external resources, you need to [Connect to your virtual network in Azure Lab Services](how-to-connect-vnet-injection.md) with your lab plan.
29
29
30
30
> [!IMPORTANT]
31
31
> [Advanced networking](how-to-connect-vnet-injection.md#connect-the-virtual-network-during-lab-plan-creation) must be enabled during the creation of your lab plan. It can't be added later.
@@ -50,7 +50,7 @@ For instructions on how to create a lab, see [Tutorial: Set up a lab](tutorial-s
50
50
| VM image | Ubuntu Server 18.04 LTS |
51
51
| Enable remote desktop connection | This setting should be enabled if you choose to use RDP. This setting isn't needed if you choose [X2Go to connect to lab machines](connect-virtual-machine-linux-x2go.md). |
52
52
53
-
If you choose to instead use RDP, you will need to connect to the Linux VM using SSH and install the RDP and GUI packages before publishing the lab. Then, students can connect to the Linux VM using RDP later. For more information, see [Enable graphical remote desktop for Linux VMs](how-to-enable-remote-desktop-linux.md).
53
+
If you choose to instead use RDP, you need to connect to the Linux VM using SSH and install the RDP and GUI packages before publishing the lab. Then, students can connect to the Linux VM using RDP later. For more information, see [Enable graphical remote desktop for Linux VMs](how-to-enable-remote-desktop-linux.md).
54
54
55
55
## Template configuration
56
56
@@ -65,7 +65,7 @@ sudo apt upgrade
65
65
66
66
### Install X2Go Server
67
67
68
-
If you choose to use X2Go, [install the server](https://aka.ms/azlabs/scripts/LinuxDesktop). You'll first need to [Connect to a Linux lab VM using SSH](connect-virtual-machine.md#connect-to-a-linux-lab-vm-using-ssh) to install the server component. Once that is completed, the rest of the setup can be completed after [connecting using the X2Go client](connect-virtual-machine-linux-x2go.md).
68
+
If you choose to use X2Go, [install the server](https://aka.ms/azlabs/scripts/LinuxDesktop). You first need to [Connect to a Linux lab VM using SSH](connect-virtual-machine.md#connect-to-a-linux-lab-vm-using-ssh) to install the server component. Once that is completed, the rest of the setup can be completed after [connecting using the X2Go client](connect-virtual-machine-linux-x2go.md).
69
69
70
70
The default installation of X2Go isn't compatible with RStudio. To work around this issue, update the x2goagent options file.
71
71
@@ -78,11 +78,11 @@ The default installation of X2Go isn't compatible with RStudio. To work around
78
78
sudo systemctl restart x2goserver
79
79
```
80
80
81
-
Alternatively, you can build the required libraries by following instructions at [Glx Xlib workaround for X2Go](https://wiki.x2go.org/doku.php/wiki:development:glx-xlib-workaround).
81
+
Alternatively, you can build the required libraries by following instructions at [GLX workaround for X2Go](https://wiki.x2go.org/doku.php/wiki:development:glx-xlib-workaround).
82
82
83
83
### Install R
84
84
85
-
There are a few ways to install R on the VM. We'll install R from the Comprehensive R Archive Network (CRAN) repository. It provides the most up-to-date versions of R. Once this repository is added to our machine, we can install R and many other related packages.
85
+
There are a few ways to install R on the VM. You install R from the Comprehensive R Archive Network (CRAN) repository. It provides the most up-to-date versions of R. Once this repository is added to our machine, you can install R and many other related packages.
86
86
87
87
We need to add the CRAN repository. Commands are modified from instructions available at [Ubuntu Packages for R brief instructions](https://cran.rstudio.com/bin/linux/ubuntu/).
88
88
@@ -103,15 +103,15 @@ sudo apt install r-base
103
103
104
104
### Install RStudio
105
105
106
-
Now that we have R installed locally, we can install the RStudio IDE. We'll install the free version of RStudio Desktop. For all available versions, see [RStudio downloads](https://www.rstudio.com/products/rstudio/download/).
106
+
Now that we have R installed locally, we can install the RStudio IDE. We install the free version of RStudio Desktop. For all available versions, see [RStudio downloads](https://www.rstudio.com/products/rstudio/download/).
107
107
108
108
1. [Import the code signing key](https://www.rstudio.com/code-signing/) for RStudio.
2. Download the [Debian Linux Package file (.deb) forR Studio](https://www.rstudio.com/products/rstudio/download/#download) for Ubuntu. File will bein the format `rstudio-{version}-amd64.deb`. For example:
114
+
2. Download the [Debian Linux Package file (.deb) forR Studio](https://www.rstudio.com/products/rstudio/download/#download) for Ubuntu. File isin the format `rstudio-{version}-amd64.deb`. For example:
0 commit comments