<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hello,<br>
    <br>
    I am building a package "myModule" and would like to define a
    function that will be called when R is exited.<br>
    <br>
    So I defined a function<br>
    <br>
    <blockquote><i>RcppExport void R_unload_mlxComputeR(DllInfo *info)</i><i><br>
      </i><i>{</i><i><br>
      </i><i>    // Do sthg</i><i><br>
      </i><i>}</i><i><br>
      </i></blockquote>
    <br>
    and I observe that it is called when dyn.unload(myModule) is called.
    But the function is not called when R is exited. I wonder if there
    is a similar function (like R_exit_packgName or R_quit_packageName)
    that is called when R is exited ?<br>
  </body>
</html>