Page 1 of 1

Questions regarding Inter-Analysis Object Sharing and Custom File I/O Capabilities

Posted: Tue Jan 27, 2026 7:44 pm
by NourEdinDarwish
Hi everyone,

I am currently developing a module for jamovi and have a couple of specific questions regarding the capabilities of the API and R integration.

1. Persistence and Object Sharing Between Analyses: Is it possible to save an R object from one analysis so that it becomes accessible to a separate analysis (within the same or different module)?
I am aware that standard analyses like ANOVA can save residuals back to the dataset as new columns. However, I am looking to pass arbitrary R objects (rather than just data columns) between analyses. Is there a mechanism to store an object in a shared state that another analysis instance can read, or are all analyses strictly isolated, meaning communication is limited solely to modifying the Data (spreadsheet)?

2. File Saving Capabilities and GUI Access: What are the limitations regarding File I/O within a module? Specifically, I would like to allow the user to save a specific internal object to a custom file format.
I have successfully tested taking a file path as an input string and saving to it. However, I would like to know if it is possible to trigger a native "Save As" window (GUI) from within the module options? I want users to be able to browse their directories and specify a filename and type interactively, rather than typing a path manually. Is this level of OS/GUI access permitted or supported in the current module framework?

Any guidance or examples would be greatly appreciated!

Thanks.

Re: Questions regarding Inter-Analysis Object Sharing and Custom File I/O Capabilities

Posted: Wed Jan 28, 2026 12:21 am
by jonathon
hi,

1. isn't possible (without relying on approaches that aren't kosher ... and arbitrary R objects can be difficult to work with, on account of them often ending up very huge when serialised).
2. isn't possible at the moment either, but we're not too far from being able to implement something like this. we have an 'action system'

https://dev.jamovi.org/api_actions.html

which allows analyses to create new data sets, and have jamovi open them in a new window ... one can see it's not too great a stretch to allow this system to also trigger save/downloads of arbitrary files.

but it's not a high priority ... at least 6 months away i would guess.

jonathon