Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

start drafting "From quickstart to deep dive" #72

Merged
merged 2 commits into from
Sep 10, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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