Skip to content

Conversation

georgestagg
Copy link
Member

Closes #548.

Also tweaks webR's DRIVEFS mounting mechanism for changes in
JupyterLite's DriveFS and Emscripten's FS API.
@georgestagg georgestagg force-pushed the upgrade-jupyterlite-drivefs branch from d2d36f0 to d875047 Compare June 18, 2025 09:01
@georgestagg georgestagg force-pushed the upgrade-jupyterlite-drivefs branch from d875047 to b0ed0ac Compare June 18, 2025 09:03
@georgestagg georgestagg merged commit 37721cd into main Jun 18, 2025
4 checks passed
@georgestagg georgestagg deleted the upgrade-jupyterlite-drivefs branch June 18, 2025 09:33
@psychemedia
Copy link

@georgestagg Is there any chance of also upgrading the jupyterlite requirements in the 0.4.3 tag (we're running behind on the R version at the moment...)

georgestagg added a commit that referenced this pull request Jun 20, 2025
* Upgrade @jupyterlite/contents to v0.6.2

Also tweaks webR's DRIVEFS mounting mechanism for changes in
JupyterLite's DriveFS and Emscripten's FS API.

* Update NEWS.md

* Update flake.nix
georgestagg added a commit that referenced this pull request Jun 20, 2025
* Upgrade @jupyterlite/contents to v0.6.2

Also tweaks webR's DRIVEFS mounting mechanism for changes in
JupyterLite's DriveFS and Emscripten's FS API.

* Update NEWS.md

* Update flake.nix
@georgestagg
Copy link
Member Author

@psychemedia I've back ported the JupyterLite DriveFS update to the v0.4.x series of webR.

I think you should now be able to drop in webR v0.4.4 into JupyterLite 0.6.0, let me know if you have issues and we can continue to work on it in patch releases to the v0.4 series.

@psychemedia
Copy link

Hi @georgestagg Yep, that seems to work fine running Jupyterlite 0.6.x and R 04.4.4 package; running version gives me R as 4.4.2 and jupyterlite is at 0.6; however, running packageVersion("webr") gives 0.4.3 which I can see in the webR package downloaded from the release page (in webr.mjs) as:

// webR/config.ts
var BASE_URL = IN_NODE ? __dirname + "/" : "./";
var PKG_BASE_URL = "https://repo.r-wasm.org";
var WEBR_VERSION = "0.4.3";

although it looks to be set correctly to 0.4.4 in https://github.com/r-wasm/webr/blob/jupyterlite-drivefs-0-4-x/src/package.json ?

I also get a warning message: Warning message:; path[9]="/drive": Operation not permitted in this notebook when runninglibrary(M348);data('childMeasurements') but I'm not sure if that is something to do with how the M348 package is bundled?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Upgrade @jupyterlite/contents for JupyterLite 0.6.0
2 participants