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
but whenever I open this project those two files (ui.R and server.R) don't open, nor is there any error message regarding it. I think that is because rstudioapi::isAvailable() returns FALSE.
To confirm, I removed the if condition from .Rprofile and I get Error: RStudio not running.
How do I fix this? I think this issue #100 is similar to mine but it is not yet resolved and I was unable to use the hook suggestion.
Any ideas?
The text was updated successfully, but these errors were encountered:
Thanks @gadenbuie , that worked. But I don't know this somehow blocks using the Run App button for shiny. As you mentioned I added this in my .Rprofile file and it opens these two ui and server files upon launch but when I click on Run App button it print runapp('R/') in the console and waits. Nothing happens after that.
On startup of a project I want to open two files. I have created
.Rprofile
file for the project which has the following content -but whenever I open this project those two files (
ui.R
andserver.R
) don't open, nor is there any error message regarding it. I think that is becauserstudioapi::isAvailable()
returns FALSE.To confirm, I removed the
if
condition from.Rprofile
and I getError: RStudio not running
.How do I fix this? I think this issue #100 is similar to mine but it is not yet resolved and I was unable to use the hook suggestion.
Any ideas?
The text was updated successfully, but these errors were encountered: