You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now (as of #59), we handle history with a xeus::make_in_memory_history_manager() but this sort of bypass the way R would usually deal with history, which would e.g. give access to history() etc ...
One way to contribute to the history is by calling the C_addhistory routine from the utils:: package, just like what timestamp() does:
History manager
---------------
The ``xhistory_manager`` class is used to store the ``execute_request`` messages sent by the
frontend. Typical usage is when the console client connects to a kernel that has already executed
some code: it asks the ``history_manager`` for its records and prints them so that the user knows
what happened before.
``xeus`` provides a default implementation of ``xhistory_manager`` that stores the messages in
memory. It is possible to provide a different history manager by defining a class that inherits
from ``xhistory_manager`` and implements the abstract methods:
The text was updated successfully, but these errors were encountered:
Right now (as of #59), we handle history with a
xeus::make_in_memory_history_manager()
but this sort of bypass the way R would usually deal with history, which would e.g. give access tohistory()
etc ...One way to contribute to the history is by calling the
C_addhistory
routine from theutils::
package, just like whattimestamp()
does:IIUC, we might have to define these:
and then probably inherit from
history_manager
:The text was updated successfully, but these errors were encountered: