igraph-help
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [igraph] What is minimum version of R that supports igraph?


From: Bob Harris
Subject: Re: [igraph] What is minimum version of R that supports igraph?
Date: Wed, 23 May 2018 14:27:16 -0400

Thanks, Alex,

I'll look into docker.  Two additional points, though, are that (a) I don't 
have admin privs on that machine (and frankly there's no reason I ought to need 
them to accomplish this), so sudo is out, and (b) I have no need to use R 
GUI-interactively on that machine (which I presume is RStudio's main benefit).

Basically what I have is a node on (something like) a compute cluster, and I'm 
trying to install igraph (on that machine) because I am trying to use a non-R 
bioinformatics tool that launches a non-shell instance of R (I guess that's the 
right term -- an instance that doesn't accept input from the user) to run an R 
script, and that script needs igraph.  I'm not even certain that the 
bioinformatics tool will solve the problem I want to give it (the tool's 
published manuscript is not clear), so I am just trying to evaluate that.  
Because of that, I'm trying to avoid installing anything beyond what's 
necessary to "just get it working" until I find out whether the working version 
has any value to me.

Thanks again,
Bob H


> On May 23, 2018, at 1:03 PM, Karman, Alex <address@hidden> wrote:
> 
> Not exactly an answer to your question, but I use a Docker image and no
> more "headaches" for me
> 
> The easiest way to get up to date with R is to get the Docker image.
> 
> (1) install Docker.
> (2) Run the "rocker" image, that includes RStudio, all of the "tidyverse"
> packages, and most of the geospatial packages too (see
> https://github.com/rocker-org/geospatial ):
> 
> sudo docker run -d -p 8787:8787 rocker/geospatial
> 
> The "-d" runs it in the background (daemon). The "-p 8787:8787" opens up
> the port for RStudio.
> 
> Login for RStudio is rstudio/rstudio
> 
> 
> 
> You can use the smaller rocker/rocker instead, which includes RStudio and
> all of tidyverse (including ggraph, which includes igraph) but no
> geospatial.
> 
> Works for me !!
> 
> 
> On 5/23/18, 12:51 PM, "igraph-help on behalf of Bob Harris"
> <address@hidden on behalf of
> address@hidden> wrote:
> 
>> Sorry to ask such a basic question.  (And I did try to find an answer in
>> the archive.)
>> 
>> (see log below) My attempt to install igraph on a machine running R 3.2.5
>> failed.  I can't tell whether this was a failure of the mirror or whether
>> igraph is not supported by R 3.2.5 -- at the end of the log there are two
>> warnings.
>> 
>> The answer will guide my next step.  Installing a more recent version of
>> R is a possibility but I expect it to be quite a headache (and which
>> version is right? the list of debian versions I found reports that every
>> version from 3.2.5 to 3.5.0 is either "experimental" or "unstable").  So
>> I'd like to avoid that if at all possible.
>> 
>> Thanks for any help,
>> V
>> 
>> 
>> This is what I tried:
>> 
>> $ R --vanilla
>>> install.packages(c("igraph"))
>> 
>> Installing package into Œ/usr/local/lib/R/site-library¹
>> (as Œlib¹ is unspecified)
>> Warning in install.packages(c("igraph")) :
>> 'lib = "/usr/local/lib/R/site-library"' is not writable
>> Would you like to use a personal library instead?  (y/n) [y]
>> 
>> Would you like to create a personal library
>> ~/R/x86_64-pc-linux-gnu-library/3.2
>> to install packages into?  (y/n) [y]
>> 
>> --- Please select a CRAN mirror for use in this session ---
>> Error in download.file(url, destfile = f, quiet = TRUE) :
>> unsupported URL scheme
>> HTTPS CRAN mirror 
>> 
>> 1: 0-Cloud [https]                2: Austria [https]
>> ......... snip .........
>> 19: USA (TN) [https]              20: USA (TX) [https]
>> 21: USA (WA) [https]              22: (HTTP mirrors)
>> 
>> Selection: [19]
>> 
>> Warning: unable to access index for repository
>> https://mirrors.nics.utk.edu/cran/src/contrib:
>> unsupported URL scheme
>> Warning message:
>> package Œigraph¹ is not available (for R version 3.2.5)
>> 
>> 
>> _______________________________________________
>> igraph-help mailing list
>> address@hidden
>> https://lists.nongnu.org/mailman/listinfo/igraph-help
> 
> 
> _______________________________________________
> igraph-help mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/igraph-help




reply via email to

[Prev in Thread] Current Thread [Next in Thread]