- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我在安装和使用 R 的 DESeq2 包时遇到了一些严重问题。
我在 Win7 上新安装了 R 3.3.1 和 Rstudio 0.99.903。我尝试使用以下方法安装 DESeq2:
source("https://bioconductor.org/biocLite.R")
biocLite("DESeq2")
但它遇到了很多错误(某些依赖包缺少一些包等...)然后我尝试通过从 CREN 下载并从 .zip 文件安装缺少的包来手动安装所有缺少的包。
然后我尝试运行几个命令,我希望它们的信息将有助于找到所有错误的原因:首先是 biocLite(所有相关软件包的安装程序,在之前安装 DESeq2 软件包时一切都很顺利......但它是在 Linux 上)
> source("https://bioconductor.org/biocLite.R")
Bioconductor version 3.3 (BiocInstaller 1.22.3), ?biocLite for help
> biocLite()
BioC_mirror: https://bioconductor.org
Using Bioconductor 3.3 (BiocInstaller 1.22.3), R 3.3.1 (2016-06-21).
Old packages: 'GenomicRanges', 'lattice', 'mgcv', 'survival'
Update all/some/none? [a/s/n]:
a
There is a binary version available but the source version is later:
binary source needs_compilation
GenomicRanges 1.24.2 1.24.3 TRUE
Binaries will be installed
Packages which are only available in source form, and may need compilation of C/C++/Fortran:
‘lattice’ ‘mgcv’ ‘survival’
These will not be installed
trying URL 'https://bioconductor.org/packages/3.3/bioc/bin/windows/contrib/3.3/GenomicRanges_1.24.2.zip'
Content type 'application/zip' length 2723057 bytes (2.6 MB)
downloaded 2.6 MB
package ‘GenomicRanges’ successfully unpacked and MD5 sums checked
The downloaded binary packages are in
C:\Users\user\AppData\Local\Temp\Rtmp0wyDJC\downloaded_packages
> biocLite()
BioC_mirror: https://bioconductor.org
Using Bioconductor 3.3 (BiocInstaller 1.22.3), R 3.3.1 (2016-06-21).
Old packages: 'GenomicRanges', 'lattice', 'mgcv', 'survival'
Update all/some/none? [a/s/n]:
n
> biocLite("DESeq2")
BioC_mirror: https://bioconductor.org
Using Bioconductor 3.3 (BiocInstaller 1.22.3), R 3.3.1 (2016-06-21).
Installing package(s) ‘DESeq2’
also installing the dependency ‘Rcpp’
There is a binary version available but the source version is later:
binary source needs_compilation
Rcpp 0.12.4.5 0.12.7 TRUE
Binaries will be installed
trying URL 'https://bioconductor.org/packages/3.3/extra/bin/windows/contrib/3.3/Rcpp_0.12.4.5.zip'
Content type 'application/zip' length 6458713 bytes (6.2 MB)
downloaded 6.2 MB
trying URL 'https://bioconductor.org/packages/3.3/bioc/bin/windows/contrib/3.3/DESeq2_1.12.4.zip'
Content type 'application/zip' length 3937521 bytes (3.8 MB)
downloaded 3.8 MB
package ‘Rcpp’ successfully unpacked and MD5 sums checked
package ‘DESeq2’ successfully unpacked and MD5 sums checked
The downloaded binary packages are in
C:\Users\user\AppData\Local\Temp\Rtmp0wyDJC\downloaded_packages
Old packages: 'GenomicRanges', 'lattice', 'mgcv', 'Rcpp', 'survival'
Update all/some/none? [a/s/n]:
a
There are binary versions available but the source versions are later:
binary source needs_compilation
GenomicRanges 1.24.2 1.24.3 TRUE
Rcpp 0.12.4.5 0.12.7 TRUE
Binaries will be installed
Packages which are only available in source form, and may need compilation of C/C++/Fortran:
‘lattice’ ‘mgcv’ ‘survival’
These will not be installed
trying URL 'https://bioconductor.org/packages/3.3/bioc/bin/windows/contrib/3.3/GenomicRanges_1.24.2.zip'
Content type 'application/zip' length 2723057 bytes (2.6 MB)
downloaded 2.6 MB
trying URL 'https://bioconductor.org/packages/3.3/extra/bin/windows/contrib/3.3/Rcpp_0.12.4.5.zip'
Content type 'application/zip' length 6458713 bytes (6.2 MB)
downloaded 6.2 MB
package ‘GenomicRanges’ successfully unpacked and MD5 sums checked
package ‘Rcpp’ successfully unpacked and MD5 sums checked
The downloaded binary packages are in
C:\Users\user\AppData\Local\Temp\Rtmp0wyDJC\downloaded_packages
然后尝试使用 biocLite 安装 DESeq2 软件包(看起来一切都很好)
> biocLite("DESeq2")
BioC_mirror: https://bioconductor.org
Using Bioconductor 3.3 (BiocInstaller 1.22.3), R 3.3.1 (2016-06-21).
Installing package(s) ‘DESeq2’
also installing the dependency ‘Rcpp’
There is a binary version available but the source version is later:
binary source needs_compilation
Rcpp 0.12.4.5 0.12.7 TRUE
Binaries will be installed
trying URL 'https://bioconductor.org/packages/3.3/extra/bin/windows/contrib/3.3/Rcpp_0.12.4.5.zip'
Content type 'application/zip' length 6458713 bytes (6.2 MB)
downloaded 6.2 MB
trying URL 'https://bioconductor.org/packages/3.3/bioc/bin/windows/contrib/3.3/DESeq2_1.12.4.zip'
Content type 'application/zip' length 3937521 bytes (3.8 MB)
downloaded 3.8 MB
package ‘Rcpp’ successfully unpacked and MD5 sums checked
package ‘DESeq2’ successfully unpacked and MD5 sums checked
The downloaded binary packages are in
C:\Users\user\AppData\Local\Temp\Rtmp0wyDJC\downloaded_packages
Old packages: 'GenomicRanges', 'lattice', 'mgcv', 'Rcpp', 'survival'
Update all/some/none? [a/s/n]:
a
There are binary versions available but the source versions are later:
binary source needs_compilation
GenomicRanges 1.24.2 1.24.3 TRUE
Rcpp 0.12.4.5 0.12.7 TRUE
Binaries will be installed
Packages which are only available in source form, and may need compilation of C/C++/Fortran:
‘lattice’ ‘mgcv’ ‘survival’
These will not be installed
trying URL 'https://bioconductor.org/packages/3.3/bioc/bin/windows/contrib/3.3/GenomicRanges_1.24.2.zip'
Content type 'application/zip' length 2723057 bytes (2.6 MB)
downloaded 2.6 MB
trying URL 'https://bioconductor.org/packages/3.3/extra/bin/windows/contrib/3.3/Rcpp_0.12.4.5.zip'
Content type 'application/zip' length 6458713 bytes (6.2 MB)
downloaded 6.2 MB
package ‘GenomicRanges’ successfully unpacked and MD5 sums checked
package ‘Rcpp’ successfully unpacked and MD5 sums checked
The downloaded binary packages are in
C:\Users\user\AppData\Local\Temp\Rtmp0wyDJC\downloaded_packages
现在加载 DESeq2 库(错误...):
> library("DESeq2")
Loading required package: S4Vectors
Loading required package: stats4
Loading required package: BiocGenerics
Loading required package: parallel
Attaching package: ‘BiocGenerics’
The following objects are masked from ‘package:parallel’:
clusterApply, clusterApplyLB, clusterCall, clusterEvalQ, clusterExport, clusterMap,
parApply, parCapply, parLapply, parLapplyLB, parRapply, parSapply, parSapplyLB
The following objects are masked from ‘package:stats’:
IQR, mad, xtabs
The following objects are masked from ‘package:base’:
anyDuplicated, append, as.data.frame, cbind, colnames, do.call, duplicated, eval, evalq,
Filter, Find, get, grep, grepl, intersect, is.unsorted, lapply, lengths, Map, mapply, match,
mget, order, paste, pmax, pmax.int, pmin, pmin.int, Position, rank, rbind, Reduce, rownames,
sapply, setdiff, sort, table, tapply, union, unique, unsplit
Attaching package: ‘S4Vectors’
The following objects are masked from ‘package:base’:
colMeans, colSums, expand.grid, rowMeans, rowSums
Loading required package: IRanges
Loading required package: GenomicRanges
Loading required package: GenomeInfoDb
Loading required package: SummarizedExperiment
Loading required package: Biobase
Welcome to Bioconductor
Vignettes contain introductory material; view with 'browseVignettes()'. To cite
Bioconductor, see 'citation("Biobase")', and for packages 'citation("pkgname")'.
Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]) :
there is no package called ‘data.table’
Error: package or namespace load failed for ‘DESeq2’
尝试安装缺少的软件包:
> install.packages('data.table', dependencies = TRUE)
also installing the dependencies ‘minqa’, ‘nloptr’, ‘RcppEigen’, ‘lme4’, ‘SparseM’, ‘pbkrtest’, ‘quantreg’, ‘mime’, ‘bit’, ‘gtools’, ‘car’, ‘markdown’, ‘yaml’, ‘bdsmatrix’, ‘sandwich’, ‘lmtest’, ‘chron’, ‘testthat’, ‘hexbin’, ‘fastmatch’, ‘xts’, ‘bit64’, ‘gdata’, ‘caret’, ‘knitr’, ‘curl’, ‘zoo’, ‘plm’
Packages which are only available in source form, and may need compilation of C/C++/Fortran:
‘minqa’ ‘nloptr’ ‘RcppEigen’ ‘lme4’ ‘SparseM’ ‘quantreg’ ‘mime’ ‘bit’ ‘gtools’ ‘markdown’
‘yaml’ ‘bdsmatrix’ ‘lmtest’ ‘chron’ ‘testthat’ ‘hexbin’ ‘fastmatch’ ‘xts’ ‘bit64’ ‘caret’
‘curl’ ‘zoo’ ‘data.table’
These will not be installed
installing the source packages ‘pbkrtest’, ‘car’, ‘sandwich’, ‘gdata’, ‘knitr’, ‘plm’
trying URL 'https://cran.rstudio.com/src/contrib/pbkrtest_0.4-6.tar.gz'
Content type 'application/x-gzip' length 165269 bytes (161 KB)
downloaded 161 KB
trying URL 'https://cran.rstudio.com/src/contrib/car_2.1-3.tar.gz'
Content type 'application/x-gzip' length 622922 bytes (608 KB)
downloaded 608 KB
trying URL 'https://cran.rstudio.com/src/contrib/sandwich_2.3-4.tar.gz'
Content type 'application/x-gzip' length 466729 bytes (455 KB)
downloaded 455 KB
trying URL 'https://cran.rstudio.com/src/contrib/gdata_2.17.0.tar.gz'
Content type 'application/x-gzip' length 1041264 bytes (1016 KB)
downloaded 1016 KB
trying URL 'https://cran.rstudio.com/src/contrib/knitr_1.14.tar.gz'
Content type 'application/x-gzip' length 1017858 bytes (994 KB)
downloaded 994 KB
trying URL 'https://cran.rstudio.com/src/contrib/plm_1.5-12.tar.gz'
Content type 'application/x-gzip' length 1246790 bytes (1.2 MB)
downloaded 1.2 MB
ERROR: dependency 'lme4' is not available for package 'pbkrtest'
* removing 'C:/Program Files/R/R-3.3.1/library/pbkrtest'
Warning in install.packages :
running command '"C:/PROGRA~1/R/R-33~1.1/bin/x64/R" CMD INSTALL -l "C:\Program Files\R\R-3.3.1\library" C:\Users\user\AppData\Local\Temp\Rtmp0wyDJC/downloaded_packages/pbkrtest_0.4-6.tar.gz' had status 1
Warning in install.packages :
installation of package ‘pbkrtest’ had non-zero exit status
ERROR: dependency 'zoo' is not available for package 'sandwich'
* removing 'C:/Program Files/R/R-3.3.1/library/sandwich'
Warning in install.packages :
running command '"C:/PROGRA~1/R/R-33~1.1/bin/x64/R" CMD INSTALL -l "C:\Program Files\R\R-3.3.1\library" C:\Users\user\AppData\Local\Temp\Rtmp0wyDJC/downloaded_packages/sandwich_2.3-4.tar.gz' had status 1
Warning in install.packages :
installation of package ‘sandwich’ had non-zero exit status
ERROR: dependency 'gtools' is not available for package 'gdata'
* removing 'C:/Program Files/R/R-3.3.1/library/gdata'
Warning in install.packages :
running command '"C:/PROGRA~1/R/R-33~1.1/bin/x64/R" CMD INSTALL -l "C:\Program Files\R\R-3.3.1\library" C:\Users\user\AppData\Local\Temp\Rtmp0wyDJC/downloaded_packages/gdata_2.17.0.tar.gz' had status 1
Warning in install.packages :
installation of package ‘gdata’ had non-zero exit status
ERROR: dependencies 'markdown', 'yaml' are not available for package 'knitr'
* removing 'C:/Program Files/R/R-3.3.1/library/knitr'
Warning in install.packages :
running command '"C:/PROGRA~1/R/R-33~1.1/bin/x64/R" CMD INSTALL -l "C:\Program Files\R\R-3.3.1\library" C:\Users\user\AppData\Local\Temp\Rtmp0wyDJC/downloaded_packages/knitr_1.14.tar.gz' had status 1
Warning in install.packages :
installation of package ‘knitr’ had non-zero exit status
ERROR: dependencies 'pbkrtest', 'quantreg' are not available for package 'car'
* removing 'C:/Program Files/R/R-3.3.1/library/car'
Warning in install.packages :
running command '"C:/PROGRA~1/R/R-33~1.1/bin/x64/R" CMD INSTALL -l "C:\Program Files\R\R-3.3.1\library" C:\Users\user\AppData\Local\Temp\Rtmp0wyDJC/downloaded_packages/car_2.1-3.tar.gz' had status 1
Warning in install.packages :
installation of package ‘car’ had non-zero exit status
ERROR: dependencies 'bdsmatrix', 'zoo', 'sandwich', 'car', 'lmtest' are not available for package 'plm'
* removing 'C:/Program Files/R/R-3.3.1/library/plm'
Warning in install.packages :
running command '"C:/PROGRA~1/R/R-33~1.1/bin/x64/R" CMD INSTALL -l "C:\Program Files\R\R-3.3.1\library" C:\Users\user\AppData\Local\Temp\Rtmp0wyDJC/downloaded_packages/plm_1.5-12.tar.gz' had status 1
Warning in install.packages :
installation of package ‘plm’ had non-zero exit status
The downloaded source packages are in
‘C:\Users\user\AppData\Local\Temp\Rtmp0wyDJC\downloaded_packages’
和 session 信息:
> sessionInfo()
R version 3.3.1 (2016-06-21)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 7 x64 (build 7601) Service Pack 1
locale:
[1] LC_COLLATE=Hebrew_Israel.1255 LC_CTYPE=Hebrew_Israel.1255 LC_MONETARY=Hebrew_Israel.1255
[4] LC_NUMERIC=C LC_TIME=Hebrew_Israel.1255
attached base packages:
[1] parallel stats4 stats graphics grDevices utils datasets methods base
other attached packages:
[1] SummarizedExperiment_1.2.3 Biobase_2.32.0 GenomicRanges_1.24.2
[4] GenomeInfoDb_1.8.7 IRanges_2.6.1 S4Vectors_0.10.3
[7] BiocGenerics_0.18.0 BiocInstaller_1.22.3
loaded via a namespace (and not attached):
[1] Rcpp_0.12.4.5 Formula_1.2-1 cluster_2.0.4 XVector_0.12.1 splines_3.3.1
[6] zlibbioc_1.18.0 munsell_0.4.3 BiocParallel_1.6.6 colorspace_1.2-6 lattice_0.20-33
[11] plyr_1.8.4 tools_3.3.1 nnet_7.3-12 grid_3.3.1 gtable_0.2.0
[16] latticeExtra_0.6-28 survival_2.39-4 Matrix_1.2-7.1 gridExtra_2.2.1 RColorBrewer_1.1-2
[21] ggplot2_2.1.0 acepack_1.3-3.3 rpart_4.1-10 scales_0.4.0 foreign_0.8-66
>
因为我已经手动安装了 >10 个软件包,所以我认为解决方案不是继续安装丢失的软件包,因为这些软件包将有更多丢失的软件包,而且越来越多,我将无法摆脱这个循环。
我还尝试了在谷歌上找到的东西:
remove.packages(c("ggplot2", "data.table"))
install.packages('Rcpp', dependencies = TRUE)
install.packages('ggplot2', dependencies = TRUE)
但是安装也有错误,如果需要的话我可以把它们写在这里。
我希望您能看到我看不到的东西并帮助我解决这个问题。
谢谢。
最佳答案
看起来包很多,最重要的是data.table
和lme4
,未正确编译。
我建议安装data.table
, lme4
以及 Packages which are only available in source form, and may need compilation of C/C++/Fortran:
的 2 条语句中表示的所有软件包与 pacman
然后重新运行目标包的 Bioconductor 安装。
install.packages("pacman")
pacman::p_load(data.table, lme4, lattice, mgcv, survival, zoo, markdown,... <etc>)
source("https://bioconductor.org/biocLite.R")
biocLite("DESeq2")
我刚刚确认这可以在 Windows 上运行。
但请注意,您收到的错误 has been associated过去有镜像中断。 因此,如果您仍然收到此错误,请尝试更改您的 CRAN 镜像。 install.packages('<package_name>', repo='http://nbcgib.uesc.br/mirrors/cran/')
还要确保您已安装并运行 RTools.exe。
关于r - 无法加载 R DESeq2 库,安装了所有缺失的软件包,但仍然存在问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/39447207/
SELECT *, `o_cheque_request.member_id`, `o_cheque_request.wallet_id` FROM `o_cheque_request`, `o_mem
根据某一条件从数据库表中查询 『有』与『没有』,只有两种状态,那为什么在写SQL的时候,还要**SELECT count(*)**呢? 无论是刚入道的程序员新星,还是精湛沙场多年的程序员老白,都是一如
我试图找出一个文件是否存在,如果存在,验证css样式是否已经存在,如果不存在,将它们写在文件末尾... 我已经完成了这一切,但分 3 个步骤: 该文件是否存在? FileInfo fi= new Fi
我们正在开发即时消息传递应用程序,并且需要在用户的化身上用绿点显示用户 friend 的“状态”。 “状态”远远超出了“my_app_is_opened_and_on_focus”,这意味着(我猜可能
模式 Movie(title, year, director, budget, earnings) Actor(stagename, realname, birthyear) ActedIn(stag
我有一个正在尝试创建的 MySQL 触发器,但无法获得正确的语法。 触发器应该遍历一组关键字并将其与插入数据库的新帖子的标题进行匹配。如果找到匹配项,它应该将新帖子分配给该存储桶并更新存储桶的关键字集
我有 3 个表......用户、更新和碰撞。 我想向发出 api 请求的用户返回最新订单的 feed 更新,并提供显示 feed 中每个状态所需的所有数据。我还需要包括更新是否已被发出 api 请求的
我正在尝试呈现一个带有 UIView 的 UIViewController。 以下是我在 viewDidLoad 方法中尝试的代码。 //create the view controller UIVi
我正在努力弄清楚如何在不对 mysql 进行两次调用的情况下从一个表中检查两件事。 我有一个 Members 表。我想测试MemberID 列中是否存在某个值,以及PhoneNumber 列中是否存在
以下代码给出了一个没有 Do Compile 错误的循环: Loop Sheets("Snap").Rows(1).AutoFilter Field:=5, Criteria1:=List
是否可以通过检查“dig”的输出来检查域名的存在? 在绑定(bind)源中,我发现了这些常量: 0 DNS_R_NOEROR 1 DNS_R_FORMERR 2 DNS_R_SERVFAIL 3 DN
Controller 有问题 我在 Windows 上使用服务器,一切正常,但在互联网上我试图访问页面 social_apartament/beauty_life/并且找不到该页面,代码错误 404这
/** This is struct S. */ struct S(T) { static if(isFloatingPoint!T) { /// This version works
JVM 类型删除如何帮助 Clojure?没有它,Clojure 还能存在吗?如果 JVM 有具体化的类型会发生什么?也就是说,Clojure 将如何改变? 最佳答案 Clojure 根本不会有太大变
许多论文等提到对“system()”的调用是不安全且不可移植的。我不反对他们的论点。 不过,我注意到许多 Unix 实用程序都有一个等效的 C 库。如果没有,源可用于各种这些工具。 虽然许多论文和此类
在我的 Node js 应用程序中,我有一个用户登录 api。上面我在服务器端代码中创建了一个名为 customerid 的变量。现在,当用户身份验证成功时。我将他的 userid 值存储在我的 cu
我有一个工作资源管理器组,由 Ubuntu 14.04 虚拟机、网络接口(interface)、公共(public) IP 地址和存储帐户组成。我已经从这组资源中创建了一个模板。 当我尝试部署这组资源
我有一个函数createminor4(arr,锦标赛)它基本上将arr分成4组,每组8人,然后将它们一次交换到tourney 1组。从那里它插入四个{},其中有 4 个带有空数组的键。 我已经在 Ch
我有一个图表,其中有两个图例。我需要更改其中一个图例的点的大小。 我需要更改图例中“市场类型”的项目符号大小。我使用示例 here但不适用于我的图表。 我的代码如下: k <- ggplot(subs
我有 fiddle here展示我正在尝试做的事情。 我有一个动态生成的表,因此列可以按用户选择的任何顺序显示。因此,我尝试获取两个特定 header 的索引,以便可以将 CSS 类添加到这两列以供稍
我是一名优秀的程序员,十分优秀!