Thanks Barret, great to see. Look forward to seeing the progress as well.
@benschneider48307 ай бұрын
This is such a huge feature for R and open source analysis software. Great work, Posit
@brynhumberstone7 ай бұрын
Thanks for making this short overview/demo video - great to see what can be done with shinylive and also how to do it.
@hanswurst47287 ай бұрын
This is actually huge, much appreciated.
@econmaett6 ай бұрын
Thank you for this introductory video 😊
7 ай бұрын
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?
@schloerke7 ай бұрын
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!
@PositPBC7 ай бұрын
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.
@PositPBC7 ай бұрын
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
7 ай бұрын
@@PositPBC Thanks!
@emilyriederer46856 ай бұрын
Great demo! I know last year it was said that Shinylive + Quarto required all app code to be in one cell. For the {shinylive} package can that app directory be arbitrarily complex (e.g. modules in separate subfolders) or does it have to have a specific structure?
@schloerke6 ай бұрын
It can be arbitrarily complex! No restrictions like shinylive + quarto
@dreznik2 ай бұрын
this is great! what is the correct way to access a database for data without revealing login/password?