From c33cb77a520b76c901448c0706e33878ccfbe740 Mon Sep 17 00:00:00 2001 From: Thomas W Date: Thu, 15 Aug 2024 14:06:16 -0700 Subject: [PATCH 1/2] add note about mobile browser mem limit --- src/docs/index.qmd | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/docs/index.qmd b/src/docs/index.qmd index 680405fe..c9f7aef1 100644 --- a/src/docs/index.qmd +++ b/src/docs/index.qmd @@ -15,6 +15,10 @@ WebR makes it possible to run R code in the browser without the need for an R se The webR project is under active development, and the API is subject to change. Be aware that if you are using the latest build of webR the contents of this documentation might be out of date. ::: +::: callout-note +Some browsers (especially mobile browsers) may place hard caps on the amount of RAM accessible by WebAssmebly *regardless of the amount of memory available on the host device*. Please keep this in mind when developing webR intended for use on mobile devices. Consider including a warning to mobile users if you expect your webR application to exceed 500 MB. +::: + ## Try it out ### WebR REPL From 4b23ea6dcdfc637c7e80cb2fd1c4a997dd24326a Mon Sep 17 00:00:00 2001 From: George Stagg Date: Thu, 15 Aug 2024 17:22:51 -0700 Subject: [PATCH 2/2] Update src/docs/index.qmd --- src/docs/index.qmd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/docs/index.qmd b/src/docs/index.qmd index c9f7aef1..95920102 100644 --- a/src/docs/index.qmd +++ b/src/docs/index.qmd @@ -16,7 +16,7 @@ The webR project is under active development, and the API is subject to change. ::: ::: callout-note -Some browsers (especially mobile browsers) may place hard caps on the amount of RAM accessible by WebAssmebly *regardless of the amount of memory available on the host device*. Please keep this in mind when developing webR intended for use on mobile devices. Consider including a warning to mobile users if you expect your webR application to exceed 500 MB. +Some browsers (especially mobile browsers) may place restrictive limits on the amount of RAM provided to WebAssmebly *regardless of the amount of memory available on the host device*. Please keep this in mind when developing applications with webR intended for use on mobile devices. ::: ## Try it out