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: rr5r.qmd
+16-25Lines changed: 16 additions & 25 deletions
Original file line number
Diff line number
Diff line change
@@ -15,11 +15,9 @@ In this chapter we will guide you through the installation of R, RStudio and the
15
15
16
16
## R
17
17
18
-
You will need **R** installed on your computer.
19
-
**R stats** (how it is also known) is a programming language and free software environment for statistical computing and graphics supported by the R Foundation for Statistical Computing.
18
+
You will need **R** installed on your computer. **R stats** (how it is also known) is a programming language and free software environment for statistical computing and graphics supported by the R Foundation for Statistical Computing.
20
19
21
-
The download links live at [The Comprehensive R Archive Network](https://cran.r-project.org/) (aka CRAN).
22
-
The most recent version is `4.5.1`, but you can use `>= 4.1.x` if you already have it installed.
20
+
The download links live at [The Comprehensive R Archive Network](https://cran.r-project.org/) (aka CRAN). The most recent version is `4.5.1`, but you can use `>= 4.1.x` if you already have it installed.
23
21
24
22
:::: {.panel-tabset .nav-pills}
25
23
### Windows
@@ -32,15 +30,13 @@ You will also need to install [Rtools](https://cran.r-project.org/bin/windows/Rt
32
30
33
31
### Mac
34
32
35
-
[Download R-4.5.1 for MacOX](https://cran.r-project.org/).
36
-
You will have to choose between the *arm64* or the *x86-64* version.
33
+
[Download R-4.5.1 for MacOX](https://cran.r-project.org/). You will have to choose between the *arm64* or the *x86-64* version.
37
34
38
35
Download the `.pkg` file and install it as usual.
39
36
40
37
### Ubuntu
41
38
42
-
> These are instructions for Ubuntu.
43
-
> If you use other linux distribution, please follow the instructions on [The Comprehensive R Archive Network - CRAN](https://cran.r-project.org/bin/linux/).
39
+
> These are instructions for Ubuntu. If you use other linux distribution, please follow the instructions on [The Comprehensive R Archive Network - CRAN](https://cran.r-project.org/bin/linux/).
44
40
45
41
You can look for R in the Ubuntu **Software Center** or install it via the terminal:
\[*Optional*\] To keep up-to-date r version and packages, you can follow the instructions at [r2u](https://eddelbuettel.github.io/r2u/)
72
68
::::
73
69
74
-
After this installation, you don't need to open R base.
75
-
Please proceed to install RStudio.
70
+
After this installation, you don't need to open R base. Please proceed to install RStudio.
76
71
77
72
## RStudio
78
73
79
-
RStudio Desktop is an integrated development environment (IDE) for R.
80
-
It includes a console, syntax-highlighting editor that supports direct code execution, as well as tools for plotting, history, debugging and workspace management.
74
+
RStudio Desktop is an integrated development environment (IDE) for R. It includes a console, syntax-highlighting editor that supports direct code execution, as well as tools for plotting, history, debugging and workspace management.
81
75
82
76
RStudio is available for free download from [Posit RStudio](https://posit.co/download/rstudio-desktop/).
83
77
@@ -92,8 +86,7 @@ RStudio is available for free download from [Posit RStudio](https://posit.co/dow
92
86
93
87
### Ubuntu
94
88
95
-
> These are instructions for Ubuntu **24**.
96
-
> If you use other linux distribution, please follow the instructions on [Posit RStudio](https://posit.co/download/rstudio-desktop/).
89
+
> These are instructions for Ubuntu **24**. If you use other linux distribution, please follow the instructions on [Posit RStudio](https://posit.co/download/rstudio-desktop/).
The simplest way to install `r5r` is by running the code below on RStudio Console.
134
-
This might take a few minutes if this is the first time you install these packages.
127
+
The simplest way to install `r5r` is by running the code below on RStudio Console. This might take a few minutes if this is the first time you install these packages.
To use the `{r5r}` package (version v2.0 or higher), you will need to have *Java Development Kit (JDK) 21* installed on your computer.
149
-
There are numerous open-source JDK implementations.
150
-
The easiest way to install JDK is using the new [{rJavaEnv}](https://www.ekotov.pro/rJavaEnv/) package in R.
141
+
To use the `{r5r}` package (version v2.0 or higher), you will need to have *Java Development Kit (JDK) 21* installed on your computer. There are numerous open-source JDK implementations. The easiest way to install JDK is using the new [{rJavaEnv}](https://www.ekotov.pro/rJavaEnv/) package in R.
151
142
152
143
```{r}
153
144
# check version of Java currently installed (if any)
Go to [Java Development Kit 21](https://jdk.java.net/archive/) or [Oracle JDK](https://www.oracle.com/java/technologies/javase/jdk21-archive-downloads.html), download the latest 21 build corresponding to your operating system and run the executable (installer) file.
163
+
Go to [Java Development Kit 21](https://jdk.java.net/archive/), download the latest 21 build corresponding to your operating system and run the executable file.
173
164
174
165
### Ubuntu
175
166
@@ -181,10 +172,10 @@ java -version
181
172
```
182
173
:::
183
174
184
-
###Check r5r installation
175
+
<!-- Check if `r5r` is successfully installed and running with no errors: -->
185
176
186
-
Check if `r5r` is successfully installed and running with no errors:
0 commit comments