English 中文(简体)
R: rpm 文件能否与 Windows 一起用于过期的 R 软件包?
原标题:R: can rpm files be used with Windows for possibly outdated R packages?
  • 时间:2012-05-27 07:16:07
  •  标签:
  • r

我试图运行要求R包件“pkgDepTools”和“Rraphviz”的代码。 我收到错误信息,表示R 2.1.50.

谷歌搜索发现以下网页RPM Pbone,

< a href="http://rpm.pbone.net/index.php3/stat/4/idpl/17802118dir/m和rake_other/com/R-pkgDepTools-1-mdv2012.0.i586.rpm.html" rel="nofollow noreferrer">http://rpm.pbone.net/index.php3/stat/4/idpl/17802118dir/m和rake_other/com/r-pkgDepTools-1-mdv2012.0.i586.rpm.html < a>

http://rpm.pbone.net/index.php3/stat/4/idpl/17802080/dir/m和rake_other/com/R-Rgraphviz-1.32.0-2-mdv2012.0.i586.rpm.html

然而,这些文件有一个 *.rpm 扩展名, 而不是 *.tar.gz 或 *.zip 扩展名, 我习惯了 。

I am using Windows 7 和 R version 2.15.0. Can I install an R package from an *.rpm file?

从维基百科*. rpm看似更适合Linux:

http://en.wikipedia.org/wiki/RPM_Package_Manager

关于其他可能的解决办法,我在这里发现一些先前的插文,其中就安装R包提出了类似问题,而最新版本R包没有安装这些套件:

包裹`GeneR'无法查阅

R Venn Diagram 套件没有代名性 - 替代套件?

I have installed the latest version of Rtools 和 the package devtools . Although I know nothing about them.

Rgraphviz的存档版本如下:

http://cran.r-project.org/src/contrib/Archive/Rragrapviz/" rel="没有跟随 nofollown noreferrer" >http://cran.r-project.org/src/contrib/Archive/Rraphviz/

但我无法找到PkgDepTools的存档版本 。

如果我能用上述 *.rpm 文档在Windows 机器上安装软件包,

如果我必须使用工具来建造这些工具, 我可能会问更多的问题,

http://cran.r-project.org/doc/manuals/R-admin.html#building-from-source" rel=“不跟随 Nofollown noreferrer>>http://cran.r-project.org/doc/manuals/R-admin.html#building-from-source

To be completely transparent I am hoping someone might build them for me, if that is possible. Although I recognize the experience 和 knowledge gained from doing it myself would probably pay off in the long run.

谢谢你的忠告

最佳回答

http://www.biotractor.org/packages/2.9/bioc/html/pkgDepTools.html" rel=“noreferrer”>pkkkDepTools 和>>>rel="noreferrer" "regracviz are Bioconducor R 包不是CAN托管的包。除非您配置 R 无法从这些邮包下载这些包, R 将报告它们无法使用; 它只能从已配置安装的重新安装中安装 。

为了安装这些生物电容器包,提供了一种立体安装方法:

source("http://bioconductor.org/biocLite.R")
biocLite(c("pkgDepTools", "Rgraphviz"))

进一步详情见生物教育员网站 < /a> 上 < a href=" http://www.bioroductor.org/santall/" rel=" noreferrer"\\ strong > Install 网页 < /a > 。

一般而言,您无法在 Windows 上使用 rpm 软件包; rpm s 相当于 Linux 的二进制软件包。 任何 C/ C++/ Fortran/ etc 代码都会为 Linux 编译, 而不是 Windows 。 如果一个软件包对 R 版本真的不可用, 那么请检查 CRAN 上是否说明理由( 通常 Windows 的二进制软件需要几天时间才能制作, 或者 CRAN Windows 构建的机器上可能没有软件) 。 您可以尝试由 Uwegges 运行的 WinBuilder 服务来为您构建软件包的 Windows Binary 。 但是, 如果软件包在 CRAN 上, 现在显示它不再与当前 R 工作, 也无法建立 。

一般而言,尝试对软件包进行更广泛的搜索;在搜索字符串“pkgDepTools”下,我谷歌搜索结果的第一击是软件包的生物导体页面,该页面包括与 Windows 双进制 < strong > 和 指令的链接,内容是如何在 R 内安装软件包的。

问题回答

我认为,这值得回答,而不是评论。

生物导体的一名绅士帮助我安装了Rgraphviz。 主要问题是,我下载的Rraphviz版本似乎只与R32位版本有效,而我运行的R64位版本。 我用R32位版本安装了Rraphviz。

在试图安装Rgraphviz时,我在PATH声明中也犯了一个或两个错误,然而,我在第二个评论中的上述文章提供了安装指示。

你只是似乎无法安装 正常下载版本的Rrawviz 在64位版本的R。

我认为我们的很多邮件 前后都张贴在生物导体论坛上。

我可能会在接下来的24小时内用更详细的指示来编辑这个答案。





相关问题
How to plot fitted model over observed time series

This is a really really simple question to which I seem to be entirely unable to get a solution. I would like to do a scatter plot of an observed time series in R, and over this I want to plot the ...

REvolution for R

since the latest Ubuntu release (karmic koala), I noticed that the internal R package advertises on start-up the REvolution package. It seems to be a library collection for high-performance matrix ...

R - capturing elements of R output into text files

I am trying to run an analysis by invoking R through the command line as follows: R --no-save < SampleProgram.R > SampleProgram.opt For example, consider the simple R program below: mydata =...

R statistical package: wrapping GOFrame objects

I m trying to generate GOFrame objects to generate a gene ontology mapping in R for unsupported organisms (see http://www.bioconductor.org/packages/release/bioc/vignettes/GOstats/inst/doc/...

Changing the order of dodged bars in ggplot2 barplot

I have a dataframe df.all and I m plotting it in a bar plot with ggplot2 using the code below. I d like to make it so that the order of the dodged bars is flipped. That is, so that the bars labeled "...

Strange error when using sparse matrices and glmnet

I m getting a weird error when training a glmnet regression. invalid class "dgCMatrix" object: length(Dimnames[[2]]) must match Dim[2] It only happens occasionally, and perhaps only under larger ...

Generating non-duplicate combination pairs in R

Sorry for the non-descriptive title but I don t know whether there s a word for what I m trying to achieve. Let s assume that I have a list of names of different classes like c( 1 , 2 , 3 , 4 ) ...

Per panel smoothing in ggplot2

I m plotting a group of curves, using facet in ggplot2. I d like to have a smoother applied to plots where there are enough points to smooth, but not on plots with very few points. In particular I d ...

热门标签