简体   繁体   English

安装特定版本的bioconductor包

[英]Install a specific release of bioconductor package

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. 我有一个bioconductor软件包版本1.2.14,我刚刚更新到版本1.4.2,不幸的是我得到了不同的结果。

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? 有没有办法恢复到旧版本,或者删除当前版本并指定旧版本的安装?

Alternatively, I can see the branches on GitHub and I wonder whether they correspond to the different version from Bioconductor. 或者,我可以看到GitHub上的分支,我想知道它们是否与Bioconductor的不同版本相对应。 So, can I install from a GitHub branch release? 那么,我可以从GitHub分支版本安装吗?

Step1 In Object Browser (of Revo R Ent), right-click the bioconductor package under "Packages Loaded", and then click Unload Package. 步骤1在对象浏览器(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. 步骤2在对象浏览器(Revo R Ent)中,右键单击“已安装软件包”下的bioconductor软件包,然后单击“卸载软件包”。

Step3 Close the R's GUI (in my example:Revo R Ent). Step3关闭R的GUI(在我的例子中:Revo R Ent)。

Step4 (For Revo R Ent users) Delete the .xml file: Step4 (对于Revo R Ent用户)删除.xml文件:

C:\Users\User\Documents\Revolution\32_7.3\PackageXMLs\bioconductor.xml

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. 文件bioconductor.xml(与v1.4.2相关)负责在R的GUI中处理bioconductor 1.4.2的功能。

Step5 Get your library location via: Step5获取您的图书馆位置:

.libPaths()    
[1] "C:/Revolution/R-Enterprise-7.3/R-3.1.1/library"

Step6 Delete the folder of bioconductor package from Windows Explorer in the library location. 步骤6从库位置的Windows资源管理器中删除bioconductor包的文件夹。 (Now, you got rid of bioconductor 1.4.2) (现在,你摆脱了bioconductor 1.4.2)

Step7 Open Revo R Enterprise. Step7打开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:安装 - 从本地Zip文件安装软件包...-选择.zip的bioconductor 1.2.14 - 好的。

Now, bioconductor folder (related with 1.2.14) is listed in your library location. 现在, bioconductor文件夹(与1.2.14相关)列在您的库位置。

Step8 library(bioconductor) # Now, bioconductor v. 1.2.14 works in your R's GUI. Step8 library(bioconductor) # Now, bioconductor v. 1.2.14 works in your R's GUI.

(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用户)新文件bioconductor.xml (与bioconductor.xml相关)在C:\\Users\\User\\Documents\\Revolution\\32_7.3\\PackageXMLs

Even if you close Revo R Ent, this .xml file sustains in the PackageXMLs folder to act as bufferly. 即使你关闭了Revo R Ent,这个.xml文件也会在PackageXMLs文件夹中继续作为缓冲区。

Though I gave the solution for "Revolution R Enterprise" GUI for R, the solution mechanism is the same for other R's GUIs. 虽然我为R提供了“Revolution R Enterprise”GUI的解决方案,但解决方案机制与其他R的GUI相同。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM