changing the default repositories

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

changing the default repositories

frymor
Hello,

Is it possible to change the default repositories?
I've already changed the list in the repositories file under etc/
this is how my repositories file under R/etc looks like:
row name    menu_name    URL    default    source    win.binary
mac.binary
CRAN    CRAN    @CRAN@    TRUE    TRUE    TRUE    TRUE
BioC    Bioconductor    http://www.bioconductor.org    TRUE    TRUE
TRUE    FALSE
CRANextra    CRAN (extras)    http://www.stats.ox.ac.uk/pub/RWin    TRUE
FALSE    TRUE    FALSE
Omegahat    Omegahat    http://www.omegahat.org/R    TRUE    TRUE    TRUE
FALSE
BioCcdf    BIOCcdf
http://www.bioconductor.org/packages/data/annotation/1.7    TRUE    TRUE
TRUE    FALSE
BioCCourses    BioCcourses    http://www.bioconductor.org/repository/Courses
TRUE    TRUE    TRUE    FALSE

every time i start R it shows me only the first two lines as default instead
of all of them. Is there a possibility to change it in the Rprofile.site or
in the repositories files, so R will always use the complete list as a
default?

Thx for any help.

Assa
--
Assa Yeroslaviz
Loetzener Str. 15
51373 Leverkusen

        [[alternative HTML version deleted]]

______________________________________________
[hidden email] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Reply | Threaded
Open this post in threaded view
|

Re: changing the default repositories

Uwe Ligges
Assa Yeroslaviz wrote:

> Hello,
>
> Is it possible to change the default repositories?
> I've already changed the list in the repositories file under etc/
> this is how my repositories file under R/etc looks like:
> row name    menu_name    URL    default    source    win.binary
> mac.binary
> CRAN    CRAN    @CRAN@    TRUE    TRUE    TRUE    TRUE
> BioC    Bioconductor    http://www.bioconductor.org    TRUE    TRUE
> TRUE    FALSE
> CRANextra    CRAN (extras)    http://www.stats.ox.ac.uk/pub/RWin    TRUE
> FALSE    TRUE    FALSE
> Omegahat    Omegahat    http://www.omegahat.org/R    TRUE    TRUE    TRUE
> FALSE
> BioCcdf    BIOCcdf
> http://www.bioconductor.org/packages/data/annotation/1.7    TRUE    TRUE
> TRUE    FALSE
> BioCCourses    BioCcourses    http://www.bioconductor.org/repository/Courses
> TRUE    TRUE    TRUE    FALSE
>
> every time i start R it shows me only the first two lines as default instead
> of all of them. Is there a possibility to change it in the Rprofile.site or
> in the repositories files, so R will always use the complete list as a
> default?

Yes, you are right, you can simply specify it in Rprofile.site as in:


options(repos = c(CRAN = "http://umfragen.sowi.uni-mainz.de/CRAN",
                   CRANextra = "http://www.stats.ox.ac.uk/pub/RWin"))

Uwe Ligges


>
> Thx for any help.
>
> Assa
> --
> Assa Yeroslaviz
> Loetzener Str. 15
> 51373 Leverkusen
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> [hidden email] mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

______________________________________________
[hidden email] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html