How to use Golang-generated shared libraries in R scripts

blov · · 370 次点击    
这是一个分享于 的资源,其中的信息可能已经有所发展或是发生改变。
<p>How can I generate shared libraries using GO and import and use them in an R script / package ? I managed to create my shared library but I cant make it work in my R package. is there any special recommendation ?</p> <hr/>**评论:**<br/><br/>ImreSamu: <pre><p><a href="https://www.reddit.com/r/golang/comments/840mtv/an_r_package_to_embed_golang_in_r_and_r_in_go/" rel="nofollow">https://www.reddit.com/r/golang/comments/840mtv/an_r_package_to_embed_golang_in_r_and_r_in_go/</a></p></pre>prvst: <pre><p>thanks but that&#39;s not quite what I&#39;m asking, I want to use shared libraries directly, not trough a message system or websockets.</p></pre>ImreSamu: <pre><p>sorry,</p> <p>Maybe this is better <a href="https://purrple.cat/blog/2017/06/09/go-packages-in-r-packages/" rel="nofollow">https://purrple.cat/blog/2017/06/09/go-packages-in-r-packages/</a> ( as I see: <a href="https://github.com/rstats-go/gotest" rel="nofollow">https://github.com/rstats-go/gotest</a> )</p> <hr/> <p>see more: <a href="https://purrple.cat/tags/go/" rel="nofollow">https://purrple.cat/tags/go/</a></p></pre>prvst: <pre><p>That looks better, Thanks !</p></pre>

入群交流(和以上内容无关):加入Go大咖交流群,或添加微信:liuxiaoyan-s 备注:入群;或加QQ群:692541889

370 次点击  
加入收藏 微博
0 回复
暂无回复
添加一条新回复 (您需要 登录 后才能回复 没有账号 ?)
  • 请尽量让自己的回复能够对别人有帮助
  • 支持 Markdown 格式, **粗体**、~~删除线~~、`单行代码`
  • 支持 @ 本站用户;支持表情(输入 : 提示),见 Emoji cheat sheet
  • 图片支持拖拽、截图粘贴等方式上传