TidyTuesday: Deploying Shiny Apps using Docker

Поділитися
Вставка
  • Опубліковано 1 гру 2024

КОМЕНТАРІ • 17

  • @AndrewCouch
    @AndrewCouch  11 місяців тому +2

    Hey everyone a good website for determining package dependencies is packagemanager.posit.co/client/#/. You can set your system to whatever linux distribution, choose the R environment, and then lookup the packages used in scripts for the container. The packages will then tell you the necessary libraries you would need to import.
    Hope it helps!

  • @mkklindhardt
    @mkklindhardt 2 роки тому +2

    Thanks for sharing your experience on Docker and R! Looking forward to more

  • @forestquality5400
    @forestquality5400 2 роки тому

    Great help Andrew. Much appreciated

  • @thesixmax
    @thesixmax 3 роки тому +3

    Interesting! What I found less intuitive about Docker (only been using it for the last 6 months really) is the integration with 'renv' for library and package version control. In particular renv::restore(), which keeps reinstalling everything on any change to the renv lock file. And I agree with you that straightforward resources are scarce. Being an (Arch) Linux user, I found the lib part of the Docker script to be more straightforward; often times, I need to install certain dependencies for a R package to even work, so I already know which packages will cause issues prior to deploying my scripts in Docker. In particular packages creating graphical outputs and some ML packages can be a bit of hassle. Looking forward to the rest of Season 2!

  • @paraggemini
    @paraggemini 3 роки тому +5

    Thank you for this. Can you please do a video on hosting shiny apps on Azure using docker? And probably connecting a DB and user authentication too. Thanks!

    • @AndrewCouch
      @AndrewCouch  3 роки тому +3

      I actually am starting to use Azure at my work but I'm not sure if it is feasible to do it for my series since it would require viewers to have access to Azure resources. I think I can work on a video for authentication and DB stuff could also be in a separate video. Thanks for the video suggestions!

    • @paraggemini
      @paraggemini 3 роки тому +2

      @@AndrewCouch I will be waiting for that. AWS is free for a year. Maybe hosting app on AWS and can be accessible to public with user authentication (Auth0, maybe?). Also, connecting DB would be great. Probably, Mongo. I recently learnt that problem with SQL DB is SQL injection attack. lol

  • @安田源
    @安田源 2 роки тому +1

    hi ,if i want to share my deployed app in internel network ,what should i do ,cause localhost:3838 cannot open by other ,thanks

  • @joanne7644
    @joanne7644 2 роки тому

    Thanks Andrew for the explanation and informative video and resources! Great guide. Will you by any chance be possible to cover tutorial to set up a sample shinyproxy connecting to external database or authentication framework (eg. Keycloak)?

  • @carlbroker
    @carlbroker 3 роки тому +1

    Thanks for putting this together - by chance do you have the file `Final_Model.rds`? I appears you did not include it in your repo.

    • @AndrewCouch
      @AndrewCouch  3 роки тому

      Final_Model.rds is just all of the model files combined so you would need load them individually. github.com/andrew-couch/UFC-Sports-Betting-Model/tree/master/Models

  • @vinayak894
    @vinayak894 Рік тому

    when I run the same scripts on mac it says that "no matching manifest for linux/arm64/v8 in the manifest list entries"

  • @TURALOWEN
    @TURALOWEN Рік тому

    Could you do a video where you deploy this Shiny app to AWS?

  • @princesslizzy5675
    @princesslizzy5675 Рік тому

    Thank you very much

  • @My-NaMeS_jEfF
    @My-NaMeS_jEfF 11 місяців тому

    Of course, doesn’t take a genius, but they like to make you think it does. Nice video thank you