<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>skume</author_name>
  <author_url>https://blog.hatena.ne.jp/skume/</author_url>
  <blog_title>京橋のバイオインフォマティシャンの日常</blog_title>
  <blog_url>https://skume.net/</blog_url>
  <categories>
    <anon>R - 基礎知識</anon>
    <anon>sh - バックグラウンド実行</anon>
    <anon>R - Rscript</anon>
    <anon>Terminalコマンド</anon>
    <anon>sh - nohup &amp;</anon>
    <anon>Terminalコマンド - Rscript</anon>
  </categories>
  <description>はじめに Rコードのバックグラウンド実行 最後に はじめに Macターミナルから Rコマンドを実行する最も便利な方法は、 Rscriptコマンドを使用することである。 Rscriptコマンドは、#!スクリプト*1や、 その他のスクリプトアプリケーションで使用するための代替フロントエンドである。 つまりは、Macのターミナル上からでも、Rコードを実行できるコマンドである。 今回、少し変則的に、Rscriptのバックグラウンド実行のやり方を紹介する。 Rコードのバックグラウンド実行 以下のようなRスクリプトが書かれた、 test.R ファイルがあったとする。 中身は、ベクトルaの計算を３秒スリープ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fskume.net%2Fentry%2F2021%2F11%2F25%2F213856&quot; title=&quot;Rscriptをバックグラウンド実行するときに知っておくべきこと - 京橋のバイオインフォマティシャンの日常&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2021-11-25 21:38:56</published>
  <title>Rscriptをバックグラウンド実行するときに知っておくべきこと</title>
  <type>rich</type>
  <url>https://skume.net/entry/2021/11/25/213856</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
