I can run DiffBind well before. However, after I updated R 3.2.0, R RStudio 0.99.441, and DiffBind 1.14.4, the DiffBind cannot be used anymore. It always shows that (fig1 as below):
Most likely some other packages need to be re-compiled/installed for the upgraded R. There is no (fundamental) reason why GO.db should fail to install, so check the installation dates of other packages to see what is out of date.
Note that you should be installing Bioconductor packages via the install method given on the Bioconductor site: http://www.bioconductor.org/install/ , as in:
Many thanks for your help. In fact, DiffBind is the first R based tool I use. I cannot run it without you & Rory’s continual support. However, I am really not familiar with R. After updating, I find that edgeR can be run well (DiffBind_fig1). I have installed GO.db based on your suggestion (DiffBind_fig2). But it still shows an error when I run DiffBind (DiffBind_fig3):
Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]) : there is no package called ‘GO.db’
Error: package or namespace load failed for ‘DiffBind’
I note another different thing. Before updating, the X11 will be automatically started. Now, it doesn’t (DiffBind_fig3). Of course, I can manually open the X11, but it shows an xterm window I never see before (DiffBind_fig4). The X11 was downloaded from XQuartz on R webpage (DiffBind_fig4). I really need to run DiffBind again. Any suggestion is very welcome. Thanks you so much.
Your screenshot 2 (showing installation of GO.db) doesn't show the whole installation, and in particular doesn't show whether it finally succeeded. What happens if you type > library(GO.db)
at the command prompt? If it doesn't load (which I assume it won't) then your problem has nothing to do with DiffBind, but instead, like I said earlier, has to do with other packages that are out of date, preventing GO.db from being installed correctly. You'll need to update those packages, or delete and re-install them.
Regarding XQuartz, I have the latest version (2.7.7) and it auto-launches fine when using R remotely. You see the xterm if you launch it manually. Nothing unusual there. But whatever problems you are having with it have absolutely nothing to do with DiffBind.
Thanks for your help. Now I can run DiffBind again. Below is something what I did that could be useful for other users have the same problem: (1) I re-installed an older version of R, i.e. version 3.1.3 (2) I re-install some packages not in the latest R version 3.2.1 I installed previous with unknown reason, e.g. ggplot2, reshape2, rgl, statmod, org.Hs.eg.db, locfit, and splines. In fact, I still don’t know the reason why DiffBind cannot run on the latest R version on our iMac. However, at least it works well on an older R, it is good enough for me. Thanks again.
DiffBind runs fine on R 3.2.x on Mac. As I said previously, the problem is not mysterious. Some packages that DiffBind depends on were not compatible with R 3.2.x, so needed to be re-installed. Did you try that? Alternatively, remove your 3.1.x installation completely (from /Library/Frameworks/R.framework , plus the application, plus any libraries you have installed in your personal directory) and install R 3.2.x and DiffBind from scratch.
Hi,
Your screenshot 2 (showing installation of
GO.db
) doesn't show the whole installation, and in particular doesn't show whether it finally succeeded. What happens if you type> library(GO.db)
at the command prompt? If it doesn't load (which I assume it won't) then your problem has nothing to do with
DiffBind
, but instead, like I said earlier, has to do with other packages that are out of date, preventingGO.db
from being installed correctly. You'll need to update those packages, or delete and re-install them.Regarding XQuartz, I have the latest version (2.7.7) and it auto-launches fine when using R remotely. You see the xterm if you launch it manually. Nothing unusual there. But whatever problems you are having with it have absolutely nothing to do with DiffBind.
Cheers,
- Gord