On 10 September 2008 at 17:35, Christian Hudon wrote:
| Dirk Eddelbuettel wrote:
| > Well, first off, congrats for finding it :) Second, you didn't have too,
| > this is all documented in help(Startup) [ though I agree that finding
| > help is not always easy; OTOH doing help.search("Rprofile") would have
| > lead you there, along with some false positives ]
| >
| Thanks for the pointers! I already know about help() and help.search().
| But the problem is, how is one supposed to know that 'Startup' is the
| right help topic to request... And for help.search(Rprofile), in that
| particular instance I was *searching* for the name of the file I needed
| to edit for local customizations, so that wouldn't have worked very well
| either. :-) (Yeah, I guess Startup is mentioned somewhere near the root
Well r-help is full of similar calls for help, so by now Google is pretty
good at getting you to matching posts...
| Well... ok, in order of decreasing "feeling very strongly about":
|
| 1. One thing I feel extremely strongly about is that as a sysadmin,
| programs should never, ever require me to go edit something under /usr.
Which is why you can locally follow the example and place the actual file in
/etc/R/ or /usr/local/etc/R or whereever you see fit and link it back to
$R_HOME/etc --- just follow the examples in that directory.
| Consequently, I feel strongly (in a corresponding amount) in this case
| about having the r-core-base package provide symlinks from
| /usr/lib/R/etc to /etc/R for every file and directory that I might want
| to create or edit to configure R. (Hey, you're the one who mentioned
Cool. So you're the one with the itch. Can I look forward to receiving your
patches? ;-) Not sure how much time I'll have to test all this.
| 2. Once the symlinks are in /usr/lib/R/etc, I feel less strongly about
| what files are in /etc/R. I'd still like you to consider installing
| corresponding files in /etc/R, though, because from a
| sysadmin-friendliness and discoverability point of view, I think it's
| much better. You probably know R like the back of your hand, but let's
| assume you know dhcp less well than R. Isn't it really nice to just
| quickly browse around in /etc once you're installed dhcp and see at
| least file with comments saying "here is the configuration file", so you
| don't have to research that. (Not a great example, because the dhcp
No, I buy that. This is actually a rather useful idea. So lemme make this
bug report about a wishlist for 'empty but for commented-examples' files
/etc/R/Renviron.site
/etc/R/Rprofile.site
| Thanks for considering this,
Pleasure!
Dirk
--
Three out of two people have difficulties with fractions.
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]