<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>alcuin</author_name>
  <author_url>https://blog.hatena.ne.jp/alcuin/</author_url>
  <blog_title>Thinking out loud</blog_title>
  <blog_url>https://alcuin.hatenablog.com/</blog_url>
  <categories>
    <anon>データ分析</anon>
    <anon>R</anon>
  </categories>
  <description>RからCのコードを呼び出す方法としては、SharedLibraryを呼び出す方法が標準的なのですが、それ以外の方法について。Rcpp 0.10.0 が1週間ほど前にCRANに登録されたようで、このキッカケでRcpp自体を知ったさっきです。 これを使うと、C++のコードをsourceCpp(&quot;hoge.cpp&quot;)とRから呼び出すだけで、nativeなC*の関数をcallできてしまうという。 Shared Libraryをcallするよりも大分お手軽なので、ちょっとした数値計算だけ高速化、といったお気軽な使い方が出来そうです。 ちなみにRcppを実際に使っているLibraryの一覧もありましたが、…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Falcuin.hatenablog.com%2Fentry%2F20121123%2F1353667892&quot; title=&quot;RからC++を呼び出して計算の高速化 - Thinking out loud&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>2012-11-23 19:51:32</published>
  <title>RからC++を呼び出して計算の高速化</title>
  <type>rich</type>
  <url>https://alcuin.hatenablog.com/entry/20121123/1353667892</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
