Please see: https://github.com/chendaniely/bitsi
- Open the
00-install/01-install_rpkgs.R
script - Select all the code and run it with CTRL+ENTER (or click the source button in RStudio)
- Repeat the process for the
00-install/02-install_tinytex.R
script
Make sure the 2 installation/setup scripts have been run.
On Windows, if you have R version 4.0.2 installed in the standard Program Files location, you should also be able to double click the runApp.bat
file.
You can edit this file in Rstudio (or any other text editor) if your version of R changes or is different.
Otherwise you can follow these steps:
-
go into rstudio and go to the top right corner
-
click the Project dropdown
-
go to Open Project
-
Navigate to the picta_act_infographics/pictaACTinfographics folder
-
You should see a pictaACTinfographics.Rproj file
-
Select that project file and click Open
-
The files panel in Rstudio should open to that folder
-
Navigate to the "shiny" folder
-
Open either the global.R server.R or ui.R (they all should do the same thing)
-
On the top you should see a Run App button with a drop-down
-
Click the arrow, and make sure the "Run External" is selected (this will open the app in a browser instead of within rstudio)
-
then click Run App and the app should launch.
Once you open and launch the project file in step 6, you can also run the shiny runApp command in the "Console" (make sure you don't type it in the "Terminal"):
shiny::runApp('shiny', launch.browser = TRUE)
- A browser should open up