Connecting to RStudio Connect


In order to publish apps to RStudio Connect, you will need to tell your RStudio IDE to authenticate against your RStudio Connect service. To do this, click on Tools and navigate to Global Options on the top. A window should pop open after which navigate to the Publishing tab and click Connect...

RStudio Connecting

Select RStudio Connect

Connect

Enter in your RStudio Connect workflow url and click next:

url

You'll see this screen:

Connecting

after which a new tab will pop up in your browser asking you to confirm the connection. If it doesn't, just click on the blue underlined link to open a new window.

Click on Connect.

Connect on Web

Once you arrive at this screen:

Connection Successful

navigate back to your RStudio IDE and your screen should change to Account Verified. Click Connect Account and it will be added to your Publishing Accounts list.

Connected

NOTE: If you are using RStudio Pro on Metworx in public subnets to link to RStudio Connect, make sure your allow_from ip access is set to 0.0.0.0/0. RStudio Pro will have trouble connecting to RStudio Connect if the ip address is set to anything else.

As you create/destroy workflow instances, you'll need to relink RStudio as the Metworx Workflow URL will have changed.

Now it's time to publish an app!