Posit PBC
Posit PBC
  • 969
  • 2 623 374
{shinylive}: Serverless Shiny Apps | Barret Schloerke | Posit
In the rapidly evolving landscape of web technologies, the integration of R (and Python) with modern web frameworks has become increasingly important for data scientists and developers. This presentation introduces {shinylive}, a new R package that exports Shiny applications to be run within statically hosted websites. We will explore the capabilities of {shinylive} through its use of the innovative R package {webR}, which allows for the execution of R code in the browser (via WebAssembly and service workers) without the need for a centralized server.
The presentation will cover the technical foundation of {shinylive}, including its architecture and the integration process with Quarto documents. We will also discuss the practical aspects and drawbacks of exporting Shiny apps with {shinylive}, highlighting the ease of exporting apps to a folder for local use or hosting them on GitHub pages.
{shinylive} bridges the gap between Shiny and static websites, making it a valuable resource for interactive data analysis and presentation.
Link to app: schloerke.com/presentation-2024-04-18-appsilon-shinylive/
Link to script: github.com/posit-dev/r-shinylive/blob/main/examples/deploy-app.yaml
Link to use_github_action(): github.com/posit-dev/r-shinylive#github-pages
Shinylive website: posit-dev.github.io/r-shinylive/
{webr} docs: docs.r-wasm.org/webr/latest/
zhlédnutí: 2 169

Video

Analyze and explore data stored in Snowflake using R
zhlédnutí 1,2KPřed 14 hodinami
James Blair, Senior Product Manager, Cloud Integrations at Posit, will demonstrate using the R language to analyze and explore data stored in Snowflake. He will also show you how easy it is to set up an R environment inside Posit Workbench that runs as a native app on Snowpark Container Services. You also find out how using the dbplyr interface can be used to push computation data into Snowflak...
From Chaos to Clarity: Implementing Effective Data Stewardship
zhlédnutí 278Před 21 hodinou
As a data scientist or data leader, data is at the center of your work. However, management of that data can feel overlooked. Many of us have asked questions like: 🤔 How do we ensure data we create is easily discoverable and reusable? 🤔 What happens when multiple people make different data transformations for similar work? The focused effort of making data accessible and secure has been called ...
How to automate your reporting with Quarto Dashboards and Posit Connect
zhlédnutí 2,9KPřed dnem
Get ready to up your reporting game! Isabella Velásquez dives into the practical side of lightweight dashboards made with Quarto, the next-generation R Markdown, and Posit Connect, our premier publishing platform. You’ll learn how to build and automate Quarto Dashboards with Posit Connect. We'll showcase a Python example, but the same principles apply to R, Julia, and Observable. Helpful Links ...
How to Build, Deploy, & Share a Python Application in 20 minutes! (Using Shiny)
zhlédnutí 2,1KPřed 14 dny
This is a quick-start guide to Shiny for Python. It's part 1 of a multi-part series. Data scientists need to quickly build web applications to create and share interactive visualizations, giving others a way to interact with data and analytics. Shiny helps you do this. In this video, we'll walk you through the basics of setting up Shiny for Python, creating your first app, and deploying it so o...
Joe Cheng | Managing long-running operations in Shiny | Posit
zhlédnutí 1,9KPřed 21 dnem
It’s been years since Shiny evolved to allow asynchronous operations within applications, improving scalability. The introduction of the {promises} package enabled concurrent processing between multiple Shiny sessions, a significant step forward in handling background tasks. However, this did not address the need for intra-session concurrency, where users expect to interact with the application...
Rafi Kurlansik @ Databricks | Data Science Hangout
zhlédnutí 313Před 21 dnem
Rafi Kurlansik @ Databricks | Data Science Hangout
Laura Ellis @ Rapid7 | Data Science Hangout
zhlédnutí 302Před 21 dnem
Laura Ellis @ Rapid7 | Data Science Hangout
Warren Hearnes @ OptiML AI | Data Science Hangout
zhlédnutí 340Před měsícem
Warren Hearnes @ OptiML AI | Data Science Hangout
Liyang Diao @ ROME Therapeutics | Data Science Hangout
zhlédnutí 379Před měsícem
Liyang Diao @ ROME Therapeutics | Data Science Hangout
Using your dataset in Shiny Templates | Carson Sievert | Posit
zhlédnutí 2,4KPřed měsícem
Using your dataset in Shiny Templates | Carson Sievert | Posit
How to develop and deploy a machine learning model with Posit
zhlédnutí 3,3KPřed měsícem
How to develop and deploy a machine learning model with Posit
Greg Shick @ Charles Schwab | Data Science Hangout
zhlédnutí 402Před měsícem
Greg Shick @ Charles Schwab | Data Science Hangout
Data Science Hangout featuring all of us!
zhlédnutí 501Před měsícem
Data Science Hangout featuring all of us!
Zack Fragoso @ Domino's Pizza | Data Science Hangout
zhlédnutí 453Před měsícem
Zack Fragoso @ Domino's Pizza | Data Science Hangout
Liz Esarove @ AT&T | Data Science Hangout
zhlédnutí 339Před 2 měsíci
Liz Esarove @ AT&T | Data Science Hangout
Introducing Shiny for Python Templates | Carson Sievert | Posit
zhlédnutí 3,3KPřed 2 měsíci
Introducing Shiny for Python Templates | Carson Sievert | Posit
What is Posit Team? March 2024
zhlédnutí 1,6KPřed 2 měsíci
What is Posit Team? March 2024
Michael Derstine @ Wells Fargo | Data Science Hangout
zhlédnutí 377Před 2 měsíci
Michael Derstine @ Wells Fargo | Data Science Hangout
Connecting RStudio and Databricks with ODBC
zhlédnutí 516Před 2 měsíci
Connecting RStudio and Databricks with ODBC
Deploying Databricks-backed content on Posit Connect
zhlédnutí 293Před 2 měsíci
Deploying Databricks-backed content on Posit Connect
Connecting RStudio and Databricks with sparklyr
zhlédnutí 431Před 2 měsíci
Connecting RStudio and Databricks with sparklyr
Databricks Pro Driver in Posit Workbench
zhlédnutí 228Před 2 měsíci
Databricks Pro Driver in Posit Workbench
Databricks Authentication in Posit Workbench
zhlédnutí 184Před 2 měsíci
Databricks Authentication in Posit Workbench
Databricks Pane in Posit Workbench
zhlédnutí 167Před 2 měsíci
Databricks Pane in Posit Workbench
Kshira Saagar @ DoorDash/Wolt | Data Science Hangout
zhlédnutí 233Před 2 měsíci
Kshira Saagar @ DoorDash/Wolt | Data Science Hangout
How to build business reports with Quarto
zhlédnutí 4,2KPřed 2 měsíci
How to build business reports with Quarto
Benedikt Kahmen @ Generali | Data Science Hangout
zhlédnutí 347Před 2 měsíci
Benedikt Kahmen @ Generali | Data Science Hangout
Adam Austin @ The Hartford | Data Science Hangout
zhlédnutí 412Před 2 měsíci
Adam Austin @ The Hartford | Data Science Hangout
How to write and deploy a Python web app with Shiny Express and Posit Team
zhlédnutí 2,2KPřed 3 měsíci
How to write and deploy a Python web app with Shiny Express and Posit Team

Komentáře

  • @benschneider4830
    @benschneider4830 Před dnem

    This is such a huge feature for R and open source analysis software. Great work, Posit

  • @lucanus8997
    @lucanus8997 Před dnem

    I have a package that uses rJava to launch a jar and am having trouble converting it to wasm. Do you know if this is possible? I tried using the docker image, installing java in it, and converting rJava first, but get Make sure you have Java Development Kit installed and correctly registered in R. If in doubt, re-run "R CMD javareconf" as root. emconfigure: error: 'sh -c "./configure.orig --build=x86_64-pc-linux-gnu --host=wasm32-unknown-emscripten ac_cv_func_getrandom=no"' failed (returned 1) I tried the suggestion and still can't seem to figure it out.

  • @JulianBurke
    @JulianBurke Před dnem

    Love this, thanks for sharing!

  • @nirajjuneja7149
    @nirajjuneja7149 Před 2 dny

    can we do this with shinylive python

  • @brynhumberstone
    @brynhumberstone Před 2 dny

    Thanks for making this short overview/demo video - great to see what can be done with shinylive and also how to do it.

  •  Před 3 dny

    at 8.28 you mention, that Shiny running in the browser can call out to an API with a secret database. But the httr2 package is not supported as I know. Did I miss something?

    • @schloerke
      @schloerke Před 2 dny

      Correct. {httr2} is not supported as {curl} is currently not supported by R-wasm. However, you can make regular URL requests that don't use {curl} (e.g. `readLines()`). While it is not a perfect solution, it does work!

    • @PositPBC
      @PositPBC Před 2 dny

      Correct. You can not use the `{curl}` package in r-wasm and `{httr2}` is based on `{curl}`. However, you can use a `readLines()` approach to access general `GET` urls.

    • @PositPBC
      @PositPBC Před 2 dny

      Example of an app that accesses an external random number generator API: shinylive.io/r/editor/#code=NobwRAdghgtgpmAXGKAHVA6ASmANGAYwHsIAXOMpMAGwEsAjAJykYE8AKAZwAtaJWAlAB0IdJiw71OY4RBEBXWgAIAPAFolqKAHM4AfQBmtatSj1qcdiKVKYLANYATIgHcI7LZ3IAGKxBs2QmAAxMFKWFAQzjBKEPIw9HCMSroQSVCkRIxCIkG41gFBOXJ4BYFgEVFEMXEJSZwpFOnkjkoAbrRQSsDcpKSonIgA9EMuYxjMVTAYWdpDnHAAjvIUBHCcALrsvf2DI2MuE5HRM4xzC8ur68K5YAUCAvn+StK0jkkAkhCo8qR+AUo+D9SB9WgBeJRBSa6PJlJSmRLUJQQoKVXSIWHPGwwPjIpTeJ4AuwADzxAEZvAS4W0oNQVniCOwCUoAEzeWQ2R4FNpJegZWgwAAqcGJpAA8r9gewiJLfqC8VDjtUgrJZCIFowecl1EoDPIIARSLQSOwgb9cEoZf1fgIlCBcs9JtE9PJGEidYw4FBDbQeex7VilE7qnpoXBVBozaQACRhuGeHz-AGQsA7AbDUbjYPTWbzJYrA3rIYAfkxyZTOIgYLyQaVMFDkV0wDJGwtcPKADISdW8LWpg2IE2Wa3IYHO8RqGCyR2DFk7KQwahTHwO4womC0i4ioGOUoAL5qx11vQ06gND1en1+gMA0-njSeqCOAAyfHW7GzLrd7Ae1NpnAKA8HRsK1gVjOsIyDCh3kYAAFRg+D+G8Ak-O8f0A2Q9wdHg+FYABBdB2EUPFFAtDUtTxciklkMA9w2IA

    •  Před 2 dny

      @@PositPBC Thanks!

  • @manumathew8529
    @manumathew8529 Před 3 dny

    This is great🎉

  • @hanswurst4728
    @hanswurst4728 Před 3 dny

    This is actually huge, much appreciated.

  • @laniswe2024
    @laniswe2024 Před 4 dny

    I wish I could find a playlist with these videos in order....

    • @PositPBC
      @PositPBC Před 4 dny

      This is an excerpt from this video: czcams.com/video/1KEX3gZTQnE/video.html

  • @user-sb9oc3bm7u
    @user-sb9oc3bm7u Před 6 dny

    lol the begining of the video made me look for the skip this add button :P

  • @beautyathome922
    @beautyathome922 Před 6 dny

    Súper

  • @user-sb9oc3bm7u
    @user-sb9oc3bm7u Před 7 dny

    I get could not find function "%replace%" \:

  • @user-sb9oc3bm7u
    @user-sb9oc3bm7u Před 7 dny

    this guy is so smart he was even to make jokes while showing some of the more complicated concepts in R

  • @AryanPatel-wb5tp
    @AryanPatel-wb5tp Před 10 dny

    found deployment quite difficult it says no distribution found of library

  • @emmanuelherrera2626
    @emmanuelherrera2626 Před 10 dny

    ¿Do you have any idea if you can write R and Python in the same script and then deploy the app?

  • @shivayshakti6575
    @shivayshakti6575 Před 11 dny

    Great

  • @IbrahimKwakuDuah
    @IbrahimKwakuDuah Před 11 dny

    I can appreciate that there are more Python developers than R developers but it was R users that made/make RStudio/RMarkdown and Quarto great. I can appreciate the decision to make services more appealing to Python developers but I think it's a kind of betrayal of R users. Not even 1 code chunk was in R. R users deserve care too😅

    • @dantshisungu395
      @dantshisungu395 Před 11 dny

      I totally understand you Now I'm looking for a way to do the same thing using R

    • @PositPBC
      @PositPBC Před 11 dny

      Don’t worry, R users, we’re not leaving you behind! Everything in this demo-pinning datasets, creating Quarto dashboards, and publishing on Connect-can be done in R too. We aim to create great tools for everyone, regardless of the language they use. Check out some of the other workflow videos in this playlist that focus on R, for example: czcams.com/video/V82BBU9ldcM/video.html

  • @84costanza
    @84costanza Před 11 dny

    This workflow is so beautiful that I want to cry out of pure joy.

  • @alvarojesusmunozmartinez2035

    Great presentation!!! Thanks for sharing knowledge.

  • @mubangansofu7469
    @mubangansofu7469 Před 12 dny

    Excellent presentation

  • @PositPBC
    @PositPBC Před 12 dny

    Hello all! Thanks for joining! At 11:30 am ET, we will jump over to Live Q&A in this CZcams room: czcams.com/users/lived21PQyOGlgY

  • @oscarmartinez6841
    @oscarmartinez6841 Před 12 dny

    Hello all.

  • @statisticalmethods5300

    Hello all

  • @awprc
    @awprc Před 12 dny

    Very different thumbnail than Posit usually puts out. More immature vibe. Looks like they are trying to appeal to the 19 yr old data science student who is taking a break from watching Mr Beast videos to learn some Shiny for a homework assignment.

  • @moonandastar
    @moonandastar Před 13 dny

    thanks

  • @ambhat3953
    @ambhat3953 Před 13 dny

    Wonder if Posit is basically for R or for python

  • @maniramraj4324
    @maniramraj4324 Před 16 dny

    Thanks you....great explanation... very helpful

  • @rishavdhariwal4782
    @rishavdhariwal4782 Před 21 dnem

    could'nt have happend without you

  • @alim6543
    @alim6543 Před 22 dny

    Thank you. This is very helpful.

  • @ltk7309
    @ltk7309 Před 23 dny

    I’m more interested in the brand of tights you wear for office as mine ladders too easily😩

  • @SamEdwardes
    @SamEdwardes Před 23 dny

    This is awesome! Nice work shiny team 🎉

  • @HazeAnderson
    @HazeAnderson Před 24 dny

    Ed used to be my boss. 😅That makes me old too.

  • @siriyakcr
    @siriyakcr Před 25 dny

    I was staring lady,then i realised aesthetic in dashboard, and api behaviour

  • @WaiguruMuriuki
    @WaiguruMuriuki Před 25 dny

    I have created many shiny dashboards using promise and future for long tasks. However, I was always feeling there was a better idea out there. Then, wallla!!!, we have this. Thanks Cheng.

  • @user-hl1fk6lw8k
    @user-hl1fk6lw8k Před 25 dny

    Thanks for the feature.❤

  • @budiardjo6610
    @budiardjo6610 Před 26 dny

    wow, the interviewer really nice.

  • @user-ux7jk4dk8n
    @user-ux7jk4dk8n Před 26 dny

    Your Python dashboard is so beautiful but you worked on the Python team for Google….

  • @sameerlalwani1
    @sameerlalwani1 Před 26 dny

    This is my favorite quarto tutorial which I use for reference. Would love to see an update in 2024.

  • @idrissadabo8015
    @idrissadabo8015 Před 27 dny

    Is it possible to have html output with syntax and dashboard in the same quarto file ?

  • @IngramSnake
    @IngramSnake Před 28 dny

    Thanks I do this all the time 😂

  • @IngramSnake
    @IngramSnake Před 28 dny

    Useful tips!❤

  • @mXENO
    @mXENO Před měsícem

    I loved this. so useful and well explained. Nice job Deepsha!

  • @Drjeffmorgan
    @Drjeffmorgan Před měsícem

    George - My University is interested in loading this on one of our servers for our students to use from one of our testing centers. We are having some installation issues. Where is the best source to obtain the latest installation?

    • @PositPBC
      @PositPBC Před 13 dny

      The best place to get help like this is to reach out on the issues page of the webR repo.

  • @djangoworldwide7925
    @djangoworldwide7925 Před měsícem

    looking forward for a live code session with Daniel!

  • @user-mw7do5sr6x
    @user-mw7do5sr6x Před měsícem

    Niceee

  • @khalidbaabad8119
    @khalidbaabad8119 Před měsícem

    Html to pdf does not work with me. Is there a video explaining how it works.!?

  • @subzero4579
    @subzero4579 Před měsícem

    This excellent! Thank you!

  • @staticalmo
    @staticalmo Před měsícem

    I had the problem edu_res<-tune:fit_resamples(edu_wf,edu_folds) Error in `fit_resamples()`: ! Package install is required for ranger. Run `rlang::last_trace()` to see where the error occurred. Installing manually ranger library solved it (On R 4.3.3)

    • @staticalmo
      @staticalmo Před měsícem

      will the next versions of tidymodels include this dependency?

  • @geo047047
    @geo047047 Před měsícem

    Excellent video. I learnt so much. You explain things at a perfect pace. Thank you.

  • @rafaelv.valadares2721
    @rafaelv.valadares2721 Před měsícem

    Congrats!