安装特定版本的生物导体包装 [英] Install a specific release of bioconductor package
问题描述
我有一个bioconductor
软件包版本1.2.14,我刚刚将其更新为1.4.2版本,不幸的是我得到了不同的结果.
I had a bioconductor
package version 1.2.14, and I've just updated it to version 1.4.2 and unfortunately I get different results.
我想确保这是由于软件包更新引起的.有没有办法还原到旧版本,或者删除当前版本并指定旧版本的安装?
I want to make sure this is because of the package update. Is there a way to revert to the old version, or alternatively to remove the current version and specify installation of the old one?
或者,我可以在GitHub上看到分支,我想知道它们是否对应于Bioconductor的不同版本. 那么,我可以从GitHub分支版本中安装吗?
Alternatively, I can see the branches on GitHub and I wonder whether they correspond to the different version from Bioconductor. So, can I install from a GitHub branch release?
推荐答案
Step1 在Revo R Ent的对象浏览器中,右键单击已加载的程序包"下的bioconductor
程序包,然后然后点击卸载软件包.
Step1 In Object Browser (of Revo R Ent), right-click the bioconductor
package under "Packages Loaded", and then click Unload Package.
第2步在Revo R Ent的对象浏览器中,右键单击已安装的软件包"下的bioconductor
软件包,然后单击卸载软件包".
Step2 In Object Browser (of Revo R Ent), right-click the bioconductor
package under "Packages Installed", and then click Unload Package.
Step3 (关闭R的GUI)(在我的示例中为Revo R Ent).
Step3 Close the R's GUI (in my example:Revo R Ent).
第4步(对于Revo R Ent用户)删除.xml文件:
Step4 (For Revo R Ent users) Delete the .xml file:
C:\Users\User\Documents\Revolution\32_7.3\PackageXMLs\bioconductor.xml
文件bioconductor.xml(与v1.4.2相关)具有bioconductor 1.4.2
的功能,需要在R的GUI中进行处理.
The file bioconductor.xml (related with v1.4.2) has the duty of the functions of bioconductor 1.4.2
to be processed in R's GUI.
第5步:通过以下方式获取您的图书馆位置:
Step5 Get your library location via:
.libPaths()
[1] "C:/Revolution/R-Enterprise-7.3/R-3.1.1/library"
Step6 从Windows资源管理器中的库位置删除bioconductor
程序包的文件夹.
(现在,您摆脱了bioconductor
1.4.2)
Step6 Delete the folder of bioconductor
package from Windows Explorer in the library location.
(Now, you got rid of bioconductor
1.4.2)
Step7 (打开Revo R Enterprise).安装bioconductor
软件包版本1.2.14:
安装-从本地Zip文件安装软件包...-选择bioconductor
1.2.14的.zip-确定.
Step7 Open Revo R Enterprise. Install bioconductor
package version 1.2.14:
Install - Install Packages from Local Zip Files...- Select .zip of bioconductor
1.2.14 - OK.
现在,bioconductor
文件夹(与1.2.14相关)在您的库位置中列出.
Now, bioconductor
folder (related with 1.2.14) is listed in your library location.
Step8 library(bioconductor) # Now, bioconductor v. 1.2.14 works in your R's GUI.
(对于Revo R Ent用户)在C:\Users\User\Documents\Revolution\32_7.3\PackageXMLs
(For Revo R Ent users) The new file bioconductor.xml
(related with v1.2.14) are created in C:\Users\User\Documents\Revolution\32_7.3\PackageXMLs
即使您关闭Revo R Ent,此.xml文件也将保留在PackageXMLs文件夹中以用作缓冲.
Even if you close Revo R Ent, this .xml file sustains in the PackageXMLs folder to act as bufferly.
尽管我为R提供了"Revolution R Enterprise" GUI的解决方案,但其他R的GUI的解决方案机制相同.
Though I gave the solution for "Revolution R Enterprise" GUI for R, the solution mechanism is the same for other R's GUIs.
这篇关于安装特定版本的生物导体包装的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!