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: started.md
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -2,14 +2,14 @@
2
2
3
3
Extendr is available on [crates.io](https://crates.io/crates/extendr-api).
4
4
5
-
Simply add this line to the `[dependencies]` section of a rust crate.
5
+
Simply add this line to the `[dependencies]` section of a rust crate's `Cargo.toml`.
6
6
You will then be able to call R code from Rust.
7
7
8
8
```toml
9
9
[dependencies]
10
-
extendr-api = "0.4"
10
+
extendr-api = "0.6"
11
11
```
12
12
13
13
## Installation - R
14
14
15
-
There are two ways you can use the extendr API from R. First, you can use the [rextendr](https://extendr.github.io/rextendr/) package to call individual Rust functions from an R session. Second, you can write an R package that uses compiled Rust code, see the [helloextendr](https://github.com/extendr/helloextendr) repo for a minimal example.
15
+
There are two ways you can use the `extendr` API from R. First, you can use the [`rextendr`](https://extendr.github.io/rextendr/) package to call individual Rust functions from an R session. Second, you can write an R package that uses compiled Rust code, see the [`helloextendr`](https://github.com/extendr/helloextendr) repo for a minimal example.
0 commit comments