Dear all, we wish everyone a safe and healthy time ! i'm looking forward to have you suggestions please : I am using a R package that is called Seurat for scRNA-seq analysis (https://satijalab.org/seurat/) that has two versions (version 2 or version3 with distinct functions); i'd appreciate if you could please let me know how could I have Seurat2 and Seurat3 on the same machine, and preferentially run either Seurat2 or Seurat3 ? I believe that I could use 2 docker containers (how could install R in 2 different containers ?), or is there another solution ? thanks a lot ! -- bogdan [[alternative HTML version deleted]]
On Sat, 11 Apr 2020 03:44:51 -0700 Bogdan Tanasa <tanasa at gmail.com> wrote:> how could I have Seurat2 and Seurat3 on the same machineWhat I would try first is to install Seurat2 and Seurat3 in separate library directories: add the `lib` argument to install.packages when installing a given version and `lib.loc` when loading it using library(). While Docker is definitely able to solve this problem, in my opinion, virtualising a whole operating system is overkill in this case. -- Best regards, Ivan
Dear Bogdan, Perhaps https://rstudio.github.io/packrat/ can be of help? Best, Ashim On Sat, Apr 11, 2020 at 4:47 PM Ivan Krylov <krylov.r00t at gmail.com> wrote:> On Sat, 11 Apr 2020 03:44:51 -0700 > Bogdan Tanasa <tanasa at gmail.com> wrote: > > > how could I have Seurat2 and Seurat3 on the same machine > > What I would try first is to install Seurat2 and Seurat3 in separate > library directories: add the `lib` argument to install.packages when > installing a given version and `lib.loc` when loading it using > library(). > > While Docker is definitely able to solve this problem, in my opinion, > virtualising a whole operating system is overkill in this case. > > -- > Best regards, > Ivan > > ______________________________________________ > R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide > http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. >[[alternative HTML version deleted]]