x <- 10
y <- 7
z <- 15
x[1] 10
y[1] 7
z[1] 15
format: html: embed_resources: true
An IDE is an integrated development process used to simplify the software development process.
The R console is the window where R studio shows the results of a command.
The emviornment is a window within Rstudio where the objects being used in each session are displayed. ##
The .Rhistory file automatically saves the commands used in your session, A .qmd is a quarto markdown file and is used for documants including code and text, an .Rproj file is used to organize and seperate each project within Rstudios.
Quarto documents allow text, code, and output.
x <- 10
y <- 7
z <- 15
x[1] 10
y[1] 7
z[1] 15
result <- x + z
result[1] 25
The Enviornment plane is populated by objects currently loaded into the R session such as variables or packages. The R console is populated by commands, message. and print statments.
b <- x + y
b[1] 17
install.packages("tidyverse")Installing package into '/cloud/lib/x86_64-pc-linux-gnu-library/4.4'
(as 'lib' is unspecified)
library(tidyverse)── Attaching core tidyverse packages ──────────────────────── tidyverse 2.0.0 ──
✔ dplyr 1.1.4 ✔ readr 2.1.5
✔ forcats 1.0.0 ✔ stringr 1.5.1
✔ ggplot2 3.5.1 ✔ tibble 3.2.1
✔ lubridate 1.9.4 ✔ tidyr 1.3.1
✔ purrr 1.0.2
── Conflicts ────────────────────────────────────────── tidyverse_conflicts() ──
✖ dplyr::filter() masks stats::filter()
✖ dplyr::lag() masks stats::lag()
ℹ Use the conflicted package (<http://conflicted.r-lib.org/>) to force all conflicts to become errors
Quarto enables you to weave together content and executable code into a finished document. To learn more about Quarto see https://quarto.org.
When you click the Render button a document will be generated that includes both content and the output of embedded code. You can embed code like this:
1 + 1[1] 2
You can add options to executable code like this
[1] 4
The echo: false option disables the printing of code (only output is displayed).