sos
sos copied to clipboard
SoS session info for external task actions
I guess this is a bit difficult to achieve accurately, but I'm wondering if for tasks in an SoS notebook running on localhost
, is it possible to see if it involves running actions R and Python, and load the relevant info to %sessioninfo
? the required Py modules and R packages should be determined by R_library()
and Py_Modules()
. This feature looks cosmetic, but is a crucial step towards reproducibility.
sessioninfo()
allows external information to be added as variable sessioninfo
so I suppose this can be added manually? It is possible to allow Py_Modules
etc to modify sessioninfo
though.