Re: [Rd] assignInNamespace to create a setwd() replacement: how to use unlockBinding()?

2013-02-08 Thread Michael Friendly
Thanks, Uwe Yes, that was evil, but like other evil practices, it worked for many R generations. Your suggestion wasn't hard to implement and makes my .Rprofile healthier & happier. -Michael On 2/8/2013 9:17 AM, Uwe Ligges wrote: Replacing base functionality is bad practice, since some pack

Re: [Rd] Localization of Rd files

2013-02-08 Thread Prof Brian Ripley
On 08/02/2013 15:13, Julien Barnier wrote: Hi, I'm currently developing a small package essentially used by non-english speaking people, So I wrote the help pages (Rd files) in french. What I'd like to know is if there is a way to localize these Rd files, ie provide the same file in different l

[Rd] Localization of Rd files

2013-02-08 Thread Julien Barnier
Hi, I'm currently developing a small package essentially used by non-english speaking people, So I wrote the help pages (Rd files) in french. What I'd like to know is if there is a way to localize these Rd files, ie provide the same file in different languages to have it displayed according to th

Re: [Rd] r-forge

2013-02-08 Thread Uwe Ligges
On 08.02.2013 16:41, Edzer Pebesma wrote: On 02/08/2013 03:22 PM, Uwe Ligges wrote: Perhaps the R-forge results are outdated? Looks like the R-forge builds (and hence probably also the checks) are stuck since some days. Nice understatement. Several of my packages don't build on r-forge f

[Rd] r-forge

2013-02-08 Thread Edzer Pebesma
On 02/08/2013 03:22 PM, Uwe Ligges wrote: Perhaps the R-forge results are outdated? Looks like the R-forge builds (and hence probably also the checks) are stuck since some days. Nice understatement. Several of my packages don't build on r-forge for some months now because some other packag

Re: [Rd] regression stars

2013-02-08 Thread Terry Therneau
There are only a few things in R where we override the global defaults on a departmental level -- we really don't like to do so. But "show.signif.stars" is one of the 3. The other 2 if you are curious: set stringsAsFactors=FALSE and make NA included by default in the output of table. We've

Re: [Rd] How to use summary.mer inside a package?

2013-02-08 Thread Uwe Ligges
On 05.02.2013 12:01, Benjamin Hofner wrote: I have a question regarding the build of my project papeR (hosted on R-forge http://r-forge.r-project.org/R/?group_id=1574) with respect to lme4. Both, Windows and MacOS are complaining that lme4 doesn't export summary: Error : object 'summary' i

Re: [Rd] assignInNamespace to create a setwd() replacement: how to use unlockBinding()?

2013-02-08 Thread Uwe Ligges
On 07.02.2013 22:49, Michael Friendly wrote: In my .Rprofile for Windows, I had the following functions defined to mirror a few features I miss from linux: (a) replace setwd() with a version that stashes the current directory so it can be easily restored (b) writes a short version of the current