我无法使用R中的hdf文件。我相信R包hdf5
是我需要使用这些文件的工具,但安装困难。我收到以下警告:
> install.packages("hdf5")
Installing package(s) into ‘C:/Users/ME/Documents/R/win-library/2.15’
(as ‘lib’ is unspecified)
--- Please select a CRAN mirror for use in this session ---
package ‘hdf5’ is available as a source package but not as a binary
Warning message:
package ‘hdf5’ is not available (for R version 2.15.2)
有没有人有过设置Windows OS R版本来读取和使用hdf文件的经验?我希望使用的hdf文件的示例可以在here中找到。
最佳答案
Bioconductor rhdf5软件包可在所有平台上使用,并且不具有系统依赖性。
source("http://bioconductor.org/biocLite.R")
biocLite("rhdf5")
然后每个 session
library("rhdf5")