Hi,
I tried the following:
local({r <- getOption("repos")
r["CRAN"] <- "http://local.cran.server/";
r["MIRROR"] <- "http://cran.mirror/";
options(repos=r)
})
But: R seems always to take the "CRAN" entry first, therefore I put our
local mirror there.
If a R session starts
We have this in our Rprofile.site This works fine. It checks each mirror
and installs (or updates) the latest version available on all mirrors. e.g.
abc 0.1 on RStudio and abc 0.2 on RForge, then abc 0.2 from RForge gets
installed/updated.
options(
repos = c(
RStudio = "http://cran.rstudio.c
On 19/06/2015 8:14 AM, Sigbert Klinke wrote:
> Hi,
>
> we are running in our network a non-public CRAN mirror. I got it working
> with the entry in "Rprofile.site"
>
> local({r <- getOption("repos")
>r["CRAN"] <- "http://local.cran.server";
>options(repos=r)
> })
>
> In case that
Hi,
we are running in our network a non-public CRAN mirror. I got it working
with the entry in "Rprofile.site"
local({r <- getOption("repos")
r["CRAN"] <- "http://local.cran.server";
options(repos=r)
})
In case that our CRAN mirror does not work we want to send the R/RStudio
users
4 matches
Mail list logo