Questions tagged [rstudio-connect]
20 questions
4
votes
2 answers
Detect if R code is running from RStudio Connect
I have some content (written in the R language) deployed to an RStudio Connect instance.
I would like to be able to do something like:
if (isTRUE(is_connect)) {
print("Running on Connect")
} else {
print("Not running on Connect")
}
That is,…

jwalton
- 5,286
- 1
- 18
- 36
1
vote
1 answer
rsconnect cannot publish to server when account is setup programmatically with API Keys
I have a setup with an RStudio Workbench and Connect server, where I want to automatically publish content to Connect.
When I connect to the connect server manually (clicking the blue share button, authenticating etc, and then publishing the…

David
- 9,216
- 4
- 45
- 78
1
vote
1 answer
R Plumber API published to Posit Connect timeouts after 60s
We have a problem with a Plumber API which is deployed to Posit Connect (v. 2023.03.0) on an Ubuntu 20.04 virtual machine. The API runs processes which could take longer than 60s to complete (it fetches data from other APIs would could exceed…

Jaco
- 31
- 4
1
vote
1 answer
How to link to local html files in posit connect
How do I specify the path to a local html file in posit connect? The following code gives me a 404 error when I click on the link to "main.html" but the image and external links both work. I would like to have "main.html" in a child folder but I…

itsMeInMiami
- 2,324
- 1
- 13
- 34
1
vote
0 answers
Rstudio Connect Shiny dashboard only shows plot if table is visible
I want to have a Shiny dashboard on Rstudio Connect where data is read from my companies data store via JDBC, and then plotted. Ultimately the user would be able to give some parameters and the appropriate output would be displayed.
What I've…

Col Bates - collynomial
- 643
- 5
- 29
1
vote
1 answer
How to take down a bookdown page?
I've accidentally created two bookdown instances:
https://bookdown.org/stanfordgsbsilab/tutorial/
https://bookdown.org/stanfordgsbsilab/ml-ci-tutorial/
Going forward I'd like to deprecate the first and keep only the latter. How can I take it down?…

halflearned
- 51
- 1
- 5
1
vote
0 answers
fetch logs for an application in RStudio Connect?
Is there a way to pulls the jobs from the logs in RStudio Connect? I know that we can go to the application, click on each job under the logs and look for info but is there a way I can pull all the logs as an API or anything? I am trying to pull the…

sk8
- 170
- 1
- 9
1
vote
0 answers
Filter data in a pin from Rstudio connect
I have pinned a list of datasets on Rstudio connect. (there are about 100 datasets in the list)
I am trying to create a shiny app that will use the datasets from the pin based on the user input.
Is it possible to pin_get part of the list ?
To add an…

ok1more
- 779
- 6
- 15
0
votes
0 answers
Deployment error from local to connect server: proj_api.h not found in standard or given locations
I am trying to use terra library in my code which is working locally but while deploying code to posit connect server (2023.01.0) getting error - proj_api.h not found in standard or given locations
Connect server is hosted in AWS EC2 Amazon Linux…

Nitin
- 1
0
votes
0 answers
Unable to publish Rshiny application using Rstudio connect
From AWS sagemaker Rstudio, I am trying to publish a simple shiny web application using Rstudio connect. 'rsonnect' package installed on rstudio IDE is '0.8.29'. Added the rstudio connect certificate and able to login to rstudio connect server via…

Villa
- 126
- 2
- 9
0
votes
0 answers
Publishing Jupyter notebook with SQL connection
I'm trying to publish a jupyter notebook to Posit (Rstudio) connect with a SQL connection. I've been using pyodbc without any luck.
cnxn = pyodbc.connect('Driver={SQL Server};'
'SERVER='+server +';'
'DATABASE=' +…
0
votes
0 answers
How to add tolerations and affinity to rstudio/posit connect pod using helm chart?
I am deploying rstudio connect on kubernetes and unable to add tolerations from the helm chart. When I check
kubectl describe pod rstudio-connect
The following tolerations are shown.
Tolerations: …

Diablo3093
- 963
- 4
- 15
- 26
0
votes
0 answers
Error while deploying RShiny app to RStudio Connect that requires pcaMethods R library
When I try to publish an RShiny app to RStudio Connect instance, I get the following 'A required R package was found in the package repository, but the specified version is not available.' error. Can someone help me fix this issue?
I tried the…

RanonKahn
- 853
- 10
- 34
0
votes
0 answers
RStudio Connect OAuth2 Authentication with Azure B2C
I am looking to setup OAuth2 authentication in RStudio Connect to authenticae against Azure B2C using OpenID. I have configured the rstudio-connect.gcfg file with the authentication settings mentioned in the documentation as…

Andy Groat
- 101
- 1
- 5
0
votes
0 answers
Storing SFTP zip files as objects rather than downloading the file
The goal is to store an object that can then be stored as a pin on R Studio Connect. I would prefer not to download the file on my local machine as this is a manual step. I want to automate the pulling of the data using the SFTP connection.
I…

QMan5
- 713
- 1
- 4
- 20