<!-- Generated by pkgdown: do not edit by hand -->
<!DOCTYPE html>
<html lang="en">
  <head>
  <meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">

<title>Reads a <code>sessionInfo</code> object from an <code>RData</code> file — extract_session_file • containerit</title>

<!-- jquery -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js" integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8=" crossorigin="anonymous"></script>
<!-- Bootstrap -->

<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha256-916EbMg70RQy9LHiGkXzG8hSg9EdNy97GazNG/aiY1w=" crossorigin="anonymous" />
<script src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha256-U5ZEeKfGNOja007MMD3YBI0A3OSZOQbeG6z2f2Y0hu8=" crossorigin="anonymous"></script>

<!-- Font Awesome icons -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css" integrity="sha256-eZrrJcwDc/3uDhsdt61sL2oOBY362qM3lon1gyExkL0=" crossorigin="anonymous" />

<!-- clipboard.js -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/2.0.4/clipboard.min.js" integrity="sha256-FiZwavyI2V6+EXO1U+xzLG3IKldpiTFf3153ea9zikQ=" crossorigin="anonymous"></script>

<!-- sticky kit -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/sticky-kit/1.1.3/sticky-kit.min.js" integrity="sha256-c4Rlo1ZozqTPE2RLuvbusY3+SU1pQaJC0TjuhygMipw=" crossorigin="anonymous"></script>

<!-- pkgdown -->
<link href="../pkgdown.css" rel="stylesheet">
<script src="../pkgdown.js"></script>



<meta property="og:title" content="Reads a <code>sessionInfo</code> object from an <code>RData</code> file — extract_session_file" />

<meta property="og:description" content="Reads a sessionInfo object from an RData file" />

<meta property="og:image" content="/logo.png" />
<meta name="twitter:card" content="summary" />



<!-- mathjax -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js" integrity="sha256-nvJJv9wWKEm88qvoQl9ekL2J+k/RWIsaSScxxlsrv8k=" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/config/TeX-AMS-MML_HTMLorMML.js" integrity="sha256-84DKXVJXs0/F8OTMzX4UR909+jtl4G7SPypPavF+GfA=" crossorigin="anonymous"></script>

<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->


  </head>

  <body>
    <div class="container template-reference-topic">
      <header>
      <div class="navbar navbar-default navbar-fixed-top" role="navigation">
  <div class="container">
    <div class="navbar-header">
      <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false">
        <span class="sr-only">Toggle navigation</span>
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
      </button>
      <span class="navbar-brand">
        <a class="navbar-link" href="../index.html">containerit</a>
        <span class="version label label-default" data-toggle="tooltip" data-placement="bottom" title="Released version">0.6.0</span>
      </span>
    </div>

    <div id="navbar" class="navbar-collapse collapse">
      <ul class="nav navbar-nav">
        <li>
  <a href="../index.html">
    <span class="fa fa-home fa-lg"></span>
     
  </a>
</li>
<li>
  <a href="../articles/containerit.html">Get started</a>
</li>
<li>
  <a href="../reference/index.html">Reference</a>
</li>
<li class="dropdown">
  <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">
    Articles
     
    <span class="caret"></span>
  </a>
  <ul class="dropdown-menu" role="menu">
    <li>
      <a href="../articles/basic.html">Basic introduction to package containerit</a>
    </li>
    <li>
      <a href="../articles/bioconductor.html">Using Bioconductor with containerit</a>
    </li>
    <li>
      <a href="../articles/container.html">Using the containerit Docker image</a>
    </li>
  </ul>
</li>
<li>
  <a href="../news/index.html">Changelog</a>
</li>
      </ul>
      
      <ul class="nav navbar-nav navbar-right">
        <li>
  <a href="https://github.com/o2r-project/containerit">
    <span class="fa fa-github fa-lg"></span>
     
  </a>
</li>
      </ul>
      
    </div><!--/.nav-collapse -->
  </div><!--/.container -->
</div><!--/.navbar -->

      
      </header>

<div class="row">
  <div class="col-md-9 contents">
    <div class="page-header">
    <h1>Reads a <code>sessionInfo</code> object from an <code>RData</code> file</h1>
    <small class="dont-index">Source: <a href='https://github.com/o2r-project/containerit/blob/master/R/utility-functions.R'><code>R/utility-functions.R</code></a></small>
    <div class="hidden name"><code>extract_session_file.Rd</code></div>
    </div>

    <div class="ref-description">
    
    <p>Reads a <code>sessionInfo</code> object from an <code>RData</code> file</p>
    
    </div>

    <pre class="usage"><span class='fu'>extract_session_file</span>(<span class='no'>file</span>)</pre>
    
    <h2 class="hasAnchor" id="arguments"><a class="anchor" href="#arguments"></a>Arguments</h2>
    <table class="ref-arguments">
    <colgroup><col class="name" /><col class="desc" /></colgroup>
    <tr>
      <th>file</th>
      <td><p>file path</p></td>
    </tr>
    </table>
    
    <h2 class="hasAnchor" id="value"><a class="anchor" href="#value"></a>Value</h2>

    <p>An object of class <code>sessionInfo</code></p>
    

    <h2 class="hasAnchor" id="examples"><a class="anchor" href="#examples"></a>Examples</h2>
    <pre class="examples"><div class='input'><span class='no'>sessionInfo</span> <span class='kw'>&lt;-</span> <span class='fu'><a href='https://www.rdocumentation.org/packages/utils/topics/sessionInfo'>sessionInfo</a></span>()
<span class='no'>file</span> <span class='kw'>&lt;-</span> <span class='fu'><a href='https://www.rdocumentation.org/packages/base/topics/tempfile'>tempfile</a></span>(<span class='kw'>tmpdir</span> <span class='kw'>=</span> <span class='fu'><a href='https://www.rdocumentation.org/packages/base/topics/tempfile'>tempdir</a></span>(), <span class='kw'>fileext</span> <span class='kw'>=</span> <span class='st'>".RData"</span>)
<span class='fu'><a href='https://www.rdocumentation.org/packages/base/topics/save'>save</a></span>(<span class='no'>sessionInfo</span>, <span class='kw'>file</span> <span class='kw'>=</span> <span class='no'>file</span>)
<span class='fu'>extract_session_file</span>(<span class='no'>file</span>)</div><div class='output co'>#&gt; INFO [2019-08-20 16:44:01] Reading object 'sessionInfo' from the given file /tmp/RtmpaH9WJK/file5e4a1a5e3240.RData</div><div class='output co'>#&gt; R version 3.6.1 (2019-07-05)
#&gt; Platform: x86_64-pc-linux-gnu (64-bit)
#&gt; Running under: Ubuntu 19.04
#&gt; 
#&gt; Matrix products: default
#&gt; BLAS:   /usr/lib/x86_64-linux-gnu/blas/libblas.so.3.8.0
#&gt; LAPACK: /usr/lib/x86_64-linux-gnu/lapack/liblapack.so.3.8.0
#&gt; 
#&gt; locale:
#&gt;  [1] LC_CTYPE=en_US.UTF-8       LC_NUMERIC=C              
#&gt;  [3] LC_TIME=de_DE.UTF-8        LC_COLLATE=en_US.UTF-8    
#&gt;  [5] LC_MONETARY=de_DE.UTF-8    LC_MESSAGES=en_US.UTF-8   
#&gt;  [7] LC_PAPER=de_DE.UTF-8       LC_NAME=C                 
#&gt;  [9] LC_ADDRESS=C               LC_TELEPHONE=C            
#&gt; [11] LC_MEASUREMENT=de_DE.UTF-8 LC_IDENTIFICATION=C       
#&gt; 
#&gt; attached base packages:
#&gt; [1] stats     graphics  grDevices utils     datasets  methods   base     
#&gt; 
#&gt; other attached packages:
#&gt; [1] containerit_0.6.0 testthat_2.2.1   
#&gt; 
#&gt; loaded via a namespace (and not attached):
#&gt;  [1] Rcpp_1.0.2           prettyunits_1.0.2    ps_1.3.0            
#&gt;  [4] assertthat_0.2.1     rprojroot_1.3-2      digest_0.6.20       
#&gt;  [7] mime_0.7             R6_2.4.0             futile.options_1.0.1
#&gt; [10] backports_1.1.4      evaluate_0.14        httr_1.4.1          
#&gt; [13] pillar_1.4.2         rlang_0.4.0          curl_4.0            
#&gt; [16] rstudioapi_0.10      miniUI_0.1.1.1       whisker_0.3-2       
#&gt; [19] callr_3.3.1          rmarkdown_1.14       pkgdown_1.3.0       
#&gt; [22] desc_1.2.0           devtools_2.1.0       stringr_1.4.0       
#&gt; [25] shiny_1.3.2          compiler_3.6.1       httpuv_1.5.1        
#&gt; [28] xfun_0.8             pkgconfig_2.0.2      versions_0.3        
#&gt; [31] pkgbuild_1.0.4       stevedore_0.9.1      htmltools_0.3.6     
#&gt; [34] highlight_0.4.7.2    tibble_2.1.3         roxygen2_6.1.1      
#&gt; [37] codetools_0.2-16     fansi_0.4.0          crayon_1.3.4        
#&gt; [40] withr_2.1.2          later_0.8.0          MASS_7.3-51.4       
#&gt; [43] commonmark_1.7       jsonlite_1.6         xtable_1.8-4        
#&gt; [46] magrittr_1.5         formatR_1.7          semver_0.2.0        
#&gt; [49] cli_1.1.0            stringi_1.4.3        debugme_1.1.0       
#&gt; [52] sysreqs_1.0.0.9000   fs_1.3.1             promises_1.0.1      
#&gt; [55] remotes_2.1.0        xml2_1.2.2           futile.logger_1.4.3 
#&gt; [58] shinyFiles_0.7.3     rjson_0.2.20         lambda.r_1.2.3      
#&gt; [61] rematch2_2.1.0       tools_3.6.1          glue_1.3.1          
#&gt; [64] purrr_0.3.2          processx_3.4.1       pkgload_1.0.2       
#&gt; [67] yaml_2.2.0           BiocManager_1.30.4   sessioninfo_1.1.1   
#&gt; [70] automagic_0.5.1      memoise_1.1.0        knitr_1.24          
#&gt; [73] usethis_1.5.1       </div><div class='input'>
</div></pre>
  </div>
  <div class="col-md-3 hidden-xs hidden-sm" id="sidebar">
    <h2>Contents</h2>
    <ul class="nav nav-pills nav-stacked">
      <li><a href="#arguments">Arguments</a></li>
      
      <li><a href="#value">Value</a></li>
      
      <li><a href="#examples">Examples</a></li>
    </ul>

  </div>
</div>

      <footer>
      <div class="copyright">
  <p>Developed by Daniel Nuest, Matthias Hinz.</p>
</div>

<div class="pkgdown">
  <p>Site built with <a href="https://pkgdown.r-lib.org/">pkgdown</a> 1.3.0.</p>
</div>
      </footer>
   </div>

  

  </body>
</html>

