有没有人有在R(Windows OS)中打开hdf文件的经验? [英] Does anyone have experience opening hdf files in R (Windows OS)?

查看:172
本文介绍了有没有人有在R(Windows OS)中打开hdf文件的经验?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我无法使用R中的hdf文件.我相信R包hdf5是我需要使用这些文件的工具,但安装困难.我收到以下警告:

I am unable to work with hdf files in R. I believe the R package hdf5 would be what I need to work with these files, but am having difficulty installing it. I get the following warning:

> 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文件的示例可以找到

Does anyone have experience setting up a Windows OS version of R to read and work with hdf files? An example of an hdf file that I am hoping to work with can be found here.

推荐答案

生物导体 rhdf5 该软件包可在所有平台上使用,并且没有系统依赖性.

The Bioconductor rhdf5 package is available on all platforms and does not have system dependencies.

source("http://bioconductor.org/biocLite.R")
biocLite("rhdf5")

然后是每个会话

library("rhdf5")

这篇关于有没有人有在R(Windows OS)中打开hdf文件的经验?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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