Full_Name: Robert Baer Version: 2.6.1 OS: Windows XP Submission from: (NULL) (198.209.172.95) It would be wonderful if the CRAN mirror had an easy way to set a "default CRAN mirror". Current behavior is to have to choose a CRAN mirror the first time a package is installed in a session. The closest mirror site is always the same for me, and I wouldn't wish to change it unless it were to be unavailable for an extended period of time. I expect I could set it in a configuration file somewhere with some study, but this is the type of thing that is much more easily and appropriately done through a GUI.
Dear Robert, Your wish is granted retroactively; just put options(repos=c(CRAN="http://probability.ca/cran", CRANextra="http://www.stats.ox.ac.uk/pub/RWin")) in your Rprofile.site file, which lives in R's etc directory (or in another appropriate startup file -- see ?Startup). Of course, you would adjust CRAN to point to a CRAN mirror near you. BTW, this isn't really a bug report, is it? Regards, John -------------------------------- John Fox, Professor Department of Sociology McMaster University Hamilton, Ontario, Canada L8S 4M4 905-525-9140x23604 http://socserv.mcmaster.ca/jfox> -----Original Message----- > From: r-devel-bounces at r-project.org [mailto:r-devel-bounces at r- > project.org] On Behalf Of rbaer at atsu.edu > Sent: January-18-08 11:40 AM > To: r-devel at stat.math.ethz.ch > Cc: R-bugs at biostat.ku.dk > Subject: [Rd] Wishlist- Windows Gui (PR#10589) > > Full_Name: Robert Baer > Version: 2.6.1 > OS: Windows XP > Submission from: (NULL) (198.209.172.95) > > > It would be wonderful if the CRAN mirror had an easy way to set a > "default CRAN > mirror". > > Current behavior is to have to choose a CRAN mirror the first time a > package is > installed in a session. The closest mirror site is always the same for > me, and > I wouldn't wish to change it unless it were to be unavailable for an > extended > period of time. I expect I could set it in a configuration file > somewhere with > some study, but this is the type of thing that is much more easily and > appropriately done through a GUI. > > ______________________________________________ > R-devel at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel
Dear Robert, Your wish is granted retroactively; just put options(repos=c(CRAN="http://probability.ca/cran", CRANextra="http://www.stats.ox.ac.uk/pub/RWin")) in your Rprofile.site file, which lives in R's etc directory (or in another appropriate startup file -- see ?Startup). Of course, you would adjust CRAN to point to a CRAN mirror near you. BTW, this isn't really a bug report, is it? Regards, John -------------------------------- John Fox, Professor Department of Sociology McMaster University Hamilton, Ontario, Canada L8S 4M4 905-525-9140x23604 http://socserv.mcmaster.ca/jfox> -----Original Message----- > From: r-devel-bounces at r-project.org [mailto:r-devel-bounces at r- > project.org] On Behalf Of rbaer at atsu.edu > Sent: January-18-08 11:40 AM > To: r-devel at stat.math.ethz.ch > Cc: R-bugs at biostat.ku.dk > Subject: [Rd] Wishlist- Windows Gui (PR#10589) > > Full_Name: Robert Baer > Version: 2.6.1 > OS: Windows XP > Submission from: (NULL) (198.209.172.95) > > > It would be wonderful if the CRAN mirror had an easy way to set a > "default CRAN > mirror". > > Current behavior is to have to choose a CRAN mirror the first time a > package is > installed in a session. The closest mirror site is always the same for > me, and > I wouldn't wish to change it unless it were to be unavailable for an > extended > period of time. I expect I could set it in a configuration file > somewhere with > some study, but this is the type of thing that is much more easily and > appropriately done through a GUI. > > ______________________________________________ > R-devel at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel
Dear Peter, Actually, "Edit -> Gui preferences" will already edit/generate an Rprofile file, so mirror selection could be put there. I frankly find it simpler on a single-user Windows system just to edit Rprofile.site. Best, John> -----Original Message----- > From: r-devel-bounces at r-project.org [mailto:r-devel-bounces at r- > project.org] On Behalf Of Peter Dalgaard > Sent: January-18-08 5:40 PM > To: jfox at mcmaster.ca > Cc: R-bugs at biostat.ku.dk; r-devel at stat.math.ethz.ch > Subject: Re: [Rd] Wishlist- Windows Gui (PR#10589) >=20 > jfox at mcmaster.ca wrote: > > Dear Robert, > > > > Your wish is granted retroactively; just put > > > > options(repos=3Dc(CRAN=3D"http://probability.ca/cran", > > CRANextra=3D"http://www.stats.ox.ac.uk/pub/RWin")) > > > > in your Rprofile.site file, which lives in R's etc directory (or in > another > > appropriate startup file -- see ?Startup). Of course, you would > adjust CRAN > > to point to a CRAN mirror near you. > > > > BTW, this isn't really a bug report, is it? > > > It's an enhancement request. We do allow those. >=20 > The idea seems sound enough: Just have the mirror selection widget > offer > to store the selection - er- somewhere for later use. Point being of > course that people can never remeber what to write in which > configuration file in which directory. >=20 > One tricky issue is whether we want the GUI to edit the Rprofile > (probably not) or add yet another configuration file that would be > overridden (probably not) by or override (probably not either) the > hand-written Rprofile files.... >=20 > -p > > Regards, > > John > > > > -------------------------------- > > John Fox, Professor > > Department of Sociology > > McMaster University > > Hamilton, Ontario, Canada L8S 4M4 > > 905-525-9140x23604 > > http://socserv.mcmaster.ca/jfox > > > > > > > >> -----Original Message----- > >> From: r-devel-bounces at r-project.org [mailto:r-devel-bounces at r- > >> project.org] On Behalf Of rbaer at atsu.edu > >> Sent: January-18-08 11:40 AM > >> To: r-devel at stat.math.ethz.ch > >> Cc: R-bugs at biostat.ku.dk > >> Subject: [Rd] Wishlist- Windows Gui (PR#10589) > >> > >> Full_Name: Robert Baer > >> Version: 2.6.1 > >> OS: Windows XP > >> Submission from: (NULL) (198.209.172.95) > >> > >> > >> It would be wonderful if the CRAN mirror had an easy way to set a > >> "default CRAN > >> mirror". > >> > >> Current behavior is to have to choose a CRAN mirror the first time a > >> package is > >> installed in a session. The closest mirror site is always the same > for > >> me, and > >> I wouldn't wish to change it unless it were to be unavailable for an > >> extended > >> period of time. I expect I could set it in a configuration file > >> somewhere with > >> some study, but this is the type of thing that is much more easily > and > >> appropriately done through a GUI. > >> > >> ______________________________________________ > >> R-devel at r-project.org mailing list > >> https://stat.ethz.ch/mailman/listinfo/r-devel > >> > > > > ______________________________________________ > > R-devel at r-project.org mailing list > > https://stat.ethz.ch/mailman/listinfo/r-devel > > >=20 >=20 > -- > O__ ---- Peter Dalgaard =D8ster Farimagsgade 5, Entr.B > c/ /'_ --- Dept. of Biostatistics PO Box 2099, 1014 Cph. K > (*) \(*) -- University of Copenhagen Denmark Ph: (+45) > 35327918 > ~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk) FAX: (+45) > 35327907 >=20 > ______________________________________________ > R-devel at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel