Skip to content

Commit

Permalink
Merge pull request #72 from b-rodrigues/51-quickstart-to-deep-dive
Browse files Browse the repository at this point in the history
start drafting "From quickstart to deep dive"
  • Loading branch information
philipp-baumann authored Sep 10, 2023
2 parents df01613 + f293529 commit 785ad1e
Show file tree
Hide file tree
Showing 2 changed files with 45 additions and 0 deletions.
21 changes: 21 additions & 0 deletions README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,27 @@ With Nix, it is essentially possible to replace `{renv}` and Docker combined. If
you need other tools or languages like Python or Julia, this can also be done
easily. Nix is available for Linux, macOS and Windows (via WSL2).

## From quickstart to deep dive

If you are already familiar with nix and R, you can dive deep quickly. You can
for example check out
[series 4 on nix for data science on Bruno's blog](https://www.brodrigues.co/blog/2023-08-12-nix_for_r_part4/).
Or, in case you like video tutorials, watch
[this one on Reproducible R development environments with Nix](https://www.youtube.com/watch?v=c1LhgeTTxaI).
If you have R installed, you can start straight away from your R session.

```{r, eval=FALSE}
install.packages("rix", repos = c("https://b-rodrigues.r-universe.dev",
"https://cloud.r-project.org"))
library("rix")
file.copy(
from = system.file("extdata", "default.nix", package = "rix"),
to = ".", overwrite = TRUE
)
nix_build(project_path = ".")
```


## The Nix package manager

Nix is a piece of software that can be installed on your computer (regardless of
Expand Down
24 changes: 24 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
id="toc-rix-reproducible-environments-with-nix">Rix: Reproducible
Environments with Nix</a>
- <a href="#introduction" id="toc-introduction">Introduction</a>
- <a href="#from-quickstart-to-deep-dive"
id="toc-from-quickstart-to-deep-dive">From quickstart to deep dive</a>
- <a href="#the-nix-package-manager" id="toc-the-nix-package-manager">The
Nix package manager</a>
- <a href="#rix-workflow" id="toc-rix-workflow">Rix workflow</a>
Expand Down Expand Up @@ -45,6 +47,28 @@ essentially possible to replace `{renv}` and Docker combined. If you
need other tools or languages like Python or Julia, this can also be
done easily. Nix is available for Linux, macOS and Windows (via WSL2).

## From quickstart to deep dive

If you are already familiar with nix and R, you can dive deep quickly.
You can for example check out [series 4 on nix for data science on
Bruno’s
blog](https://www.brodrigues.co/blog/2023-08-12-nix_for_r_part4/). Or,
in case you like video tutorials, watch [this one on Reproducible R
development environments with
Nix](https://www.youtube.com/watch?v=c1LhgeTTxaI). If you have R
installed, you can start straight away from your R session.

``` r
install.packages("rix", repos = c("https://b-rodrigues.r-universe.dev",
"https://cloud.r-project.org"))
library("rix")
file.copy(
from = system.file("extdata", "default.nix", package = "rix"),
to = ".", overwrite = TRUE
)
nix_build(project_path = ".")
```

## The Nix package manager

Nix is a piece of software that can be installed on your computer
Expand Down

0 comments on commit 785ad1e

Please sign in to comment.