R語言這個免費軟件坑太多
問題1
library("destiny")
Error: package or namespace load failed for ‘destiny’:
在從名字空間‘S4Vectors’中出口方法時發(fā)現(xiàn)了不是S4通用的函數(shù)‘%in%’
解決方法:
問題2
library("slingshot")
載入需要的程輯包:princurve
Error: package or namespace load failed for ‘slingshot’:
在從名字空間‘S4Vectors’中出口方法時發(fā)現(xiàn)了不是S4通用的函數(shù)‘%in%’
In addition: Warning message:
程輯包‘princurve’是用R版本3.6.2 來建造的
問題3
library("jackstraw")
Error: package or namespace load failed for ‘jackstraw’ in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]):
不存在叫‘lfa’這個名字的程輯包
In addition: Warning message:
程輯包‘jackstraw’是用R版本3.6.2 來建造的
問題4
library("org.Mm.eg.db")
Error in library("org.Mm.eg.db") : 不存在叫‘org.Mm.eg.db’這個名字的程輯包
問題5
library("clusterProfiler")
Error: package or namespace load failed for ‘clusterProfiler’:
在從名字空間‘S4Vectors’中出口方法時發(fā)現(xiàn)了不是S4通用的函數(shù)‘%in%’
In addition: Warning message:
程輯包‘clusterProfiler’是用R版本3.6.2 來建造的
問題6
library("GOSemSim")
Error: package or namespace load failed for ‘GOSemSim’:
在從名字空間‘S4Vectors’中出口方法時發(fā)現(xiàn)了不是S4通用的函數(shù)‘%in%’
問題7
library("ReactomePA")
Error in library("ReactomePA") : 不存在叫‘ReactomePA’這個名字的程輯包
if (!requireNamespace("BiocManager", quietly = TRUE))
install.packages("BiocManager")
BiocManager::install("ReactomePA")
Bioconductor version 3.10 (BiocManager 1.30.10), R 3.6.1 (2019-07-05)
Installing package(s) 'ReactomePA'
also installing the dependencies ‘reactome.db’, ‘graphite’
trying URL 'https://mirrors.ustc.edu.cn/bioc//packages/3.10/bioc/bin/windows/contrib/3.6/graphite_1.32.0.zip'
Content type 'application/zip' length 859455 bytes (839 KB)
downloaded 839 KB
trying URL 'https://mirrors.ustc.edu.cn/bioc//packages/3.10/bioc/bin/windows/contrib/3.6/ReactomePA_1.30.0.zip'
Content type 'application/zip' length 804648 bytes (785 KB)
downloaded 785 KB
package ‘graphite’ successfully unpacked and MD5 sums checked
package ‘ReactomePA’ successfully unpacked and MD5 sums checked
The downloaded binary packages are in
C:\Windows\Temp\RtmpyeWHSh\downloaded_packages
installing the source package ‘reactome.db’
trying URL 'https://mirrors.ustc.edu.cn/bioc//packages/3.10/data/annotation/src/contrib/reactome.db_1.70.0.tar.gz'
Content type 'application/gzip' length 454979427 bytes (433.9 MB)
downloaded 433.9 MB
- installing source package 'reactome.db' ...
** using staged installation
** R
** inst
** byte-compile and prepare package for lazy loading
錯誤: package 'BiocGenerics' 0.30.0 is loaded, but >= 0.31.1 is required by 'S4Vectors'
停止執(zhí)行
ERROR: lazy loading failed for package 'reactome.db'
* removing 'C:/Users/wlx/Documents/R/win-library/3.6/reactome.db'
The downloaded source packages are in
‘C:\Windows\Temp\RtmpyeWHSh\downloaded_packages’
Installation path not writeable, unable to update packages: annotate, AnnotationDbi, BH,
Biobase, BiocGenerics, BiocManager, BiocParallel, BiocVersion, biocViews, boot, broom,
callr, cli, clusterProfiler, covr, curl, DBI, DelayedArray, doFuture, DOSE, DT, edgeR,
enrichplot, exactRankTests, fansi, farver, fgsea, foreign, future, future.apply,
geneplotter, GenomeInfoDb, GenomeInfoDbData, GenomicRanges, ggpubr, ggridges, globals,
GO.db, GOSemSim, gplots, graph, GSEABase, GSVA, hexbin, hms, HSMMSingleCell, IRanges,
KernSmooth, knitr, limma, listenv, MASS, Matrix, metap, mgcv, mime, monocle, mvtnorm,
nlme, org.Hs.eg.db, pillar, plotly, prettyunits, purrr, qvalue, R.oo, R.utils, R6,
RBGL, RcppArmadillo, RcppEigen, Rdpack, rlang, roxygen2, RSpectra, RSQLite, rvcheck,
rversions, S4Vectors, Seurat, SingleR, singscore, slam, SummarizedExperiment,
survival, testthat, VGAM, xfun, XVector, zlibbioc
Old packages: 'bibtex', 'bit', 'caTools', 'data.table', 'digest', 'hdf5r', 'igraph',
'plyr', 'ranger', 'Rcpp', 'RcppAnnoy', 'reticulate', 'scales', 'sctransform',
'SDMTools', 'statmod', 'stringi', 'uwot', 'vcd', 'vctrs', 'zoo'
Update all/some/none? [a/s/n]:
a = range(2000)
for i in a:
if i % 2 == 0:
continue
print(i + 1)
qqq
代碼塊:
將要顯示的代碼塊放在3對反引號中間,CSDN提供的編譯器支持不同的語法高亮,只要在反引號后接上語言,例如:
a = range(2000)
for i in a:
if i % 2 == 0:
continue
print(i + 1)
1
2
3
4
5
6
7
顯示效果:
a = range(2000)
for i in a:
if i % 2 == 0:
continue
print(i + 1)
————————————————
版權(quán)聲明:本文為CSDN博主「布衣書生-Python」的原創(chuàng)文章,遵循 CC 4.0 BY-SA 版權(quán)協(xié)議,轉(zhuǎn)載請附上原文出處鏈接及本聲明。
原文鏈接:https://blog.csdn.net/PoGeN1/article/details/82182830