Skip to content

Commit

Permalink
Vignette bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
azimov committed Oct 3, 2024
1 parent 2e9a7ba commit 8096da2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions vignettes/UsingPythonUploads.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ Please consult the [reticulate documentation](https://rstudio.github.io/reticula
By default, this functionality will not be enabled when uploading tables and the function `pyUploadCsv` will fail.
To enable, and directly upload a csv, try the following example code.

```{r, eval = FALSE}
```{r eval = FALSE}
ResultModelManager::enablePythonUploads()
connectionDetails <- DabaseConnector::createConnectionDetails(dbms = "postgreql",
server = "myserver.com",
Expand Down Expand Up @@ -86,7 +86,7 @@ will be a major bottleneck.
A much more sensible approach is to use a string buffer.
Thankfully, the author of this package has provided such an interface!

```{r eval=FALSE}
```{r eval=F}
ResultModelManager::pyUploadDataframe(connection,
table = "my_table",
filepath = "my_massive_csv.csv",
Expand All @@ -97,7 +97,7 @@ Note - that this approach is actually already implemented for you when you use `
That's right - if you call `ResultModelManager::enablePythonUploads()` (and you are using postgres) you will be able
to upload your large R `data.frames` to postgres!

```{r, eval=FALSE}
```{r eval=F}
ResultModelManager::enablePythonUploads()
ResultModelManager::uploadResults(
Expand Down

0 comments on commit 8096da2

Please sign in to comment.