Skip to content

Commit 0f7fb4d

Browse files
committed
Connect/R: Copy editing
1 parent 9bcca63 commit 0f7fb4d

File tree

1 file changed

+13
-8
lines changed

1 file changed

+13
-8
lines changed

docs/connect/r/index.md

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -52,13 +52,6 @@ res <- dbGetQuery(conn, "SELECT * FROM sys.summits ORDER BY height DESC LIMIT 10
5252
print(res)
5353
```
5454

55-
:::{include} ../_cratedb.md
56-
:::
57-
```shell
58-
Rscript example.r
59-
```
60-
61-
6255
:::{rubric} CrateDB Cloud
6356
:::
6457

@@ -76,7 +69,19 @@ conn <- dbConnect(RPostgres::Postgres(),
7669
)
7770
```
7871

79-
## Example
72+
:::{rubric} Quickstart example
73+
:::
74+
75+
Create the file `example.r` including the synopsis code shared above.
76+
77+
:::{include} ../_cratedb.md
78+
:::
79+
```shell
80+
Rscript example.r
81+
```
82+
83+
:::{rubric} Full example
84+
:::
8085

8186
:::{card}
8287
:link: https://github.com/crate/cratedb-examples/tree/main/by-language/r

0 commit comments

Comments
 (0)