Asynchronous and parallelism are separate concepts. Asynchronous is about client not being blocked until the server’s response. Parallelism is about multiple threads.
@HypebrightBV
2 күн бұрын
Yes, you're right! R can support multi threading as well, but most of the time you will go for multisession or multicore (using future/promises).
@Gabrielowns321
4 ай бұрын
I coped this code but changed the function for my own one. controller$summary() shows no tasks even through i have used controller$start() and controller$push() ensuring all data and packages are being passed. Any ideas? im totally at a loss
@HypebrightBV
4 ай бұрын
You can take a look at other crew examples in this repo: github.com/hypebright/async_shiny, you can also open a discussion there with a reprex :)
@Lobsterpopster
8 ай бұрын
Any more questions why R & Shiny is so powerful? Literally you gave me the key to keep using Shiny in R for my case as this is exactly what I needed and I was thinking to do it in Python. But no! Crew is so cool and you explain it so smooth!! While async in Python streamlit or dash is just a mess and for streamlit not even working. Thank you!!! Absolutely a gem of tutorial!!!
@HypebrightBV
8 ай бұрын
I'm so happy to hear that!! I'm glad I could help you out on this one :). Crew is an absolute gem, such a nice API as well!
@badabing0819
5 ай бұрын
We have an RShiny app calling a python via reticulate. We observe that UI is greyed out when an error a run time error occurs whether in the R code or Python. This greying out happens in the browser of all users currently accessing the app. Can this be solved using crews or callr? Meaning, I don't want all users affected by one user causing the run time error.
@transportation-talk
3 ай бұрын
Shiny creates a new session per user. So, it is likely that you have a bug in your code and all users get the error due to that bug. By default, users do not share a single R session. So, I think your users are not affected by the actions of a single user. To be clear, I believe Veerle means "R Process" when she says "session" in this video. Users do not share a single session in shiny but an R process by default.
@gecarter53
11 ай бұрын
Great intro to async programming in Shiny. Anxious to experiment with the content presented. As a suggestion, to best accommodate viewers using various screen sizes, I would, after an intro, remove yourself from the left side, and crop out the RStudio Environment panel on the right side. Dedicate as much of the whole screen as possible to the code you are explaining. For extra credit :) you could format your code to restrict the length of the lines so you can enlarge the Source panel. But it's no big deal since you provide a link to the source code. Looking forward to seeing more great videos from you.
@HypebrightBV
11 ай бұрын
That's a good point. Thanks for your suggestion- I'll definitely keep it in mind for next time!
@Andres-yf4wb
Жыл бұрын
Awesome channel!
@MayankAgrawal-pc6qq
Жыл бұрын
Thank you so much for uploading this to KZitem, Veerle. It was an ABSOLUTELY GREAT watch ! :) Spending my day today to dive and learn from your async github repo and this video. And the Shiny Gathering session was a FUNNNNN one, Thank you for being a sport. :)
@HypebrightBV
Жыл бұрын
Thank you! That's the biggest compliment I can get :) Hope you will build some awesome async apps in the future!
@NeonoriNori
8 ай бұрын
You could code this but couldnt share your screen?
@HypebrightBV
8 ай бұрын
Life is hard 🤷♀
@NeonoriNori
8 ай бұрын
@@HypebrightBV i know, sometimes i couldnt get my webcam up for meetings. But i write r packages for my office.
@HypebrightBV
8 ай бұрын
@@NeonoriNori sometimes tech doesn't do what you want! In this particular case, they were using StreamYard for broadcasting. I'm on Mac and it doesn't work on Safari, so Chrome it was, but since Mac is very tight on whatever may use your system, it didn't allow me to share screen because of denied permissions. Giving explicit permissions and restarting didn't solve it. Very annoying!
@weitzun9691
11 ай бұрын
Subscribed!!
@HypebrightBV
11 ай бұрын
Yay 🎉
@vijayakumar308
11 ай бұрын
Thank you
@HypebrightBV
11 ай бұрын
You're welcome :)
@George-ds5ev
Жыл бұрын
I have been looking for a well explained video about asynchronous programming and I think I found it. Well done 👍✅
Пікірлер: 24