[Rd] Wishlist- Windows Gui (PR#10589)
Duncan Murdoch
murdoch at stats.uwo.ca
Sat Jan 19 01:00:33 CET 2008
John Fox wrote:
> 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.
>
That edits Rconsole, not Rprofile. Rconsole has a very limited number
of entries (a finite list), so that's reasonable. Rprofile is intended
to be human editable and is basically unlimited in what it can do;
computer edits to human editable files are not usually pretty.
The "right" place to store information like this in Windows is in the
registry, but we've been reluctant to use it, for various historical
reasons. In fact, we were just told today that editing the registry is
not allowed by software used by the US government. I think they'll be
moving back to the abacus, if they want to stay with Windows.
Duncan Murdoch
> 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)
>>
>> jfox at mcmaster.ca wrote:
>>
>>> 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?
>>>
>>>
>> It's an enhancement request. We do allow those.
>>
>> 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.
>>
>> 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....
>>
>> -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
>>>
>>>
>> --
>> O__ ---- Peter Dalgaard Øster 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
>>
>> ______________________________________________
>> 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
>
More information about the R-devel
mailing list