save_context</span> <span class='kw'>=</span> <span class='fl'>TRUE</span>
  )

<span class='no'>random_offline_data</span> <span class='kw'>&lt;-</span> <span class='no'>simulation</span>$<span class='fu'><a href='Simulator.html'>run</a></span>()
<span class='no'>random_offline_data</span>$<span class='fu'><a href='History.html'>save</a></span>(<span class='st'>"log.RData"</span>)

<span class='co'>## use saved log to evaluate policies with OfflinePolicyEvaluatorBandit</span>

<span class='no'>history</spa