Skip to content
Prev 43574 / 63424 Next

Have download.packages consider non-CRAN repositories

On 22.06.2012 15:10, Ingmar Schuster wrote:
1. I haven't tried your syntax from above, but I'd rather use
  "file:/Users/arbeit/Documents/clarin/Open_Science/PMR2"
or under Windows in a safer way::
  "file:c:/Users/arbeit/Documents/clarin/Open_Science/PMR2"

2. Maybe you forgot to set the Repository active via setRepositories()?

3. Why don't you just set the repositories at startup, e.g. in 
Rprofile.site or your personal .Rprofile via:

local({
       r <- getOption("repos")
       r["myCRAN"] <- "file:////store/ligges/public_html/CRAN"
       options(repos=r)
})

works for me with store being a machine in the network (via UNC path).

Best,
uwe Ligges