从.tar.gz linux创建R Windows Binary [英] Create R Windows Binary from .tar.gz linux

查看:61
本文介绍了从.tar.gz linux创建R Windows Binary的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这与我以前的帖子有关.我需要在32位Windows PC上使用bigmemory库进行一些难看的矩阵计算.不幸的是,维护者似乎暂时停止了Windows二进制文件的生产.我的家用PC上有Ubuntu.我真的很想把.tar.gz文件放到一个我可以在工作中实际运行的Windows二进制文件中.我意识到有更有效的方法,例如在Windows设备上安装RTools.但是,我们的IT部门将锁定锁定管理员的权限,因此我永远无法编辑 PATH enviro变量.有人可以为此提供一些一般性指导吗?除了R以外,我还需要在我的Ubuntu PC上安装任何工具吗?

This is sort of related to a previous post of mine. I have the need to use the bigmemory library on my 32bit Windows PC to do some ugly matrix calculations. Unfortunately, it appears that the maintainers have temporarily ceased production of Windows binaries. I have Ubuntu on my home PC. I would really like to take the .tar.gz file and build it into a Windows binary that I can actually run at work. I realize there are more efficient ways, like installing RTools on the Windows device. However, our IT keeps our admin rights on lockdown, so I can never edit my PATH enviro variable. Could anyone provide some general guidance for doing this? Are there any tools I need to install on my Ubuntu PC above and beyond R?

我发现了类似的问题,但没有任何东西可以彻底回答我的问题.

I found similar questions, but nothing that thoroughly answered my questions.

推荐答案

除非包源与R的当前版本不兼容,否则可以使用R项目的

Unless the package source is incompatible with current versions of R, you could use the R project's win-builder site to build a Windows binary. Quoting from the linked site, win-builder is a service:

旨在供没有Windows可用的用户来检查和构建Windows二进制包.

intended for useRs who do not have Windows available for checking and building Windows binary packages.

为方便起见,Hadley Wickham的 devtools 软件包包括实用程序功能 build_win(),您可以将其用于此目的.来自?build_win :

As a convenience, Hadley Wickham's devtools package includes a utility function, build_win(), that you can use for this purpose. From ?build_win:

通过构建源程序包,然后将其上传到http://win-builder.r-project.org/>进行工作.构建完成后,您将在维护者字段中列出的电子邮件地址中收到指向已构建软件包的链接.通常需要30分钟左右.

Works by building source package, and then uploading to http://win-builder.r-project.org/>. Once building is complete you'll receive a link to the built package in the email address listed in the maintainer field. It usually takes around 30 minutes.

这篇关于从.tar.gz linux创建R Windows Binary的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆