Re: [Rd] Suggestion: Help users sort data frames

2005-07-08 Thread Gabor Grothendieck
This functionality does seem needed in base R to me too but in the interim you could create a package to make it available on CRAN or if that seems excessive for just one function you could contact the author of one of the multi-author packages and see if they would include it in their package.

[Rd] Suggestion: Help users sort data frames

2005-07-08 Thread kwright
I've noticed that a frequently asked question on R-help is how to sort a data frame by multiple columns. Since this question is asked so often, making this task easier for users seems a worthwhile goal. At a minimum, the following changes to the documentation would surely be helpful and reduce e

Re: [Rd] Packages | Install >Cancel gives error msg in Windows GUI (PR#8002)

2005-07-08 Thread murdoch
On 7/8/2005 11:46 AM, [EMAIL PROTECTED] wrote: > Full_Name: G. Grothendieck > Version: R version 2.1.1, 2005-06-23 > OS: Windows XP > Submission from: (NULL) (216.59.244.202) > > > > In the Windows GUI, choosing the Packages Menu, then Install and then > clicking on Cancel gives an error messag

[Rd] pgamma(Inf, 1.1, 1.1) (PR#8001)

2005-07-08 Thread ligges
The call of pgamma(Inf, 1.1, 1.1) does not finish on my machines within 5 minutes... (both under Linux and Windows). Haven't looked in the sources yet. Thanks to Dietrich Trenkler for bringing this up in a private discussion. Uwe Ligges --please do not edit the information below-- Versi

[Rd] Packages | Install >Cancel gives error msg in Windows GUI (PR#8000)

2005-07-08 Thread ggrothendieck
Full_Name: G. Grothendieck Version: R version 2.1.1, 2005-06-23 OS: Windows XP Submission from: (NULL) (216.59.244.202) In the Windows GUI, choosing the Packages Menu, then Install and then clicking on Cancel gives an error message saying that nothing was specified to be installed: > utils:::m

Re: [Rd] Error message using Packages | Install | Cancel

2005-07-08 Thread Gabor Grothendieck
On 7/8/05, Duncan Murdoch <[EMAIL PROTECTED]> wrote: > On 7/8/2005 8:56 AM, Gabor Grothendieck wrote: > > If we click on the Cancel button after the Packages | Install menu items in > > Windows 2.1.1 (dated 2005-06-23) it gives an error message. There > > really should > > be no error here since

Re: [Rd] Sweave resource leak: leftover temp files (PR#7999)

2005-07-08 Thread Doran, Harold
Duncan and d-level Your proposed solution works well and seems to resolve the issue. I previously noted to you that it seemed to run slower, but this is not true. I restarted R and it is equally as fast. Thank you for your attention to this matter. -Harold -Original Message- From: Duncan

Re: [Rd] Error message using Packages | Install | Cancel

2005-07-08 Thread Duncan Murdoch
On 7/8/2005 8:56 AM, Gabor Grothendieck wrote: > If we click on the Cancel button after the Packages | Install menu items in > Windows 2.1.1 (dated 2005-06-23) it gives an error message. There > really should > be no error here since we intended not to install anything -- that is why > we presse

Re: [Rd] Sweave resource leak: leftover temp files (PR#7999)

2005-07-08 Thread Peter Dalgaard
Gabor Grothendieck <[EMAIL PROTECTED]> writes: > On 7/8/05, Duncan Murdoch <[EMAIL PROTECTED]> wrote: > > > We're planning (or in the process of?) changing the bug reporting > > system, so this is only a temporary inconvenience. > > > > I think these points have been raised before but, just in

Re: [Rd] [R] pairs() uses col argument for axes coloring

2005-07-08 Thread Duncan Murdoch
On 7/8/2005 8:52 AM, Olaf Mersmann wrote: > Hi Duncan, > > On 7/8/05, Duncan Murdoch <[EMAIL PROTECTED]> wrote: >> Olaf Mersmann wrote: > *snip* >> > Looking at the source for pairs() suggests, that this is the case >> > because col is part of the ... argument list which is passed on to >> > local

Re: [Rd] Sweave resource leak: leftover temp files (PR#7999)

2005-07-08 Thread Gabor Grothendieck
On 7/8/05, Duncan Murdoch <[EMAIL PROTECTED]> wrote: > We're planning (or in the process of?) changing the bug reporting > system, so this is only a temporary inconvenience. > I think these points have been raised before but, just in case, some aspects of this, if its changing anyways, that woul

Re: [Rd] Sweave resource leak: leftover temp files (PR#7999)

2005-07-08 Thread Duncan Murdoch
One additional note: followups should only go to R-bugs if they have the bug number on them (like this message does). Otherwise you end up generating a separate bug report (PR#7999 was created in your reply to my submission of PR#7998). Usually it's best just to cc R-devel, unless you really

Re: [Rd] Sweave resource leak: leftover temp files

2005-07-08 Thread Duncan Murdoch
On 7/8/2005 9:36 AM, Doran, Harold wrote: > This is great. Thank you for your help, but let me make sure I fully > understand. Here is the looping file I use to subset the data frame, > create a tex file, and Sweave it. This results in N number of tex files > where N is equal to the number of rows

Re: [Rd] Sweave resource leak: leftover temp files (PR#7999)

2005-07-08 Thread HDoran
This is great. Thank you for your help, but let me make sure I fully understand. Here is the looping file I use to subset the data frame, create a tex file, and Sweave it. This results in N number of tex files where N is equal to the number of rows in the data frame. list <- unique(wide$stuid) mas

[Rd] Sweave resource leak: leftover temp files (PR#7998)

2005-07-08 Thread murdoch
Harold, I've taken a closer look at your example and I'd call this an Sweave bug. It creates tempfiles each time you run it, and doesn't delete them at the end. For example: > list.files(tempdir()) character(0) > testfile <- system.file("Sweave", "Sweave-test-1.Rnw", package = "utils") > Sw

[Rd] Error message using Packages | Install | Cancel

2005-07-08 Thread Gabor Grothendieck
If we click on the Cancel button after the Packages | Install menu items in Windows 2.1.1 (dated 2005-06-23) it gives an error message. There really should be no error here since we intended not to install anything -- that is why we pressed Cancel. This is what appears on the console: > utils:

Re: [Rd] axTicks on a reverse ylog plot (PR#7973)

2005-07-08 Thread ligges
Here we go: the quick fix is really easy, just sorting stuff in axTicks() (.../src/library/graphics/R/axis.R, diff'ed against R-release) is sufficient: --- axis.R +++ axis-fix.R @@ -29,7 +29,8 @@ stop("invalid positive 'axp[3]'") if(is.null(usr)) usr <- par("usr")[if(is

Re: [Rd] Interpretting R profiling output (was More efficient code?)

2005-07-08 Thread Duncan Murdoch
Gavin Simpson wrote: > On Wed, 2005-07-06 at 19:54 +0100, Gavin Simpson wrote: > >>Dear List, >> > > > I fixed up the code in coinertiaI to only return the bits I needed from > La.svd() within the permutations - thus producing a 10% speed up. I am > still a little unclear about the results from

[Rd] Interpretting R profiling output (was More efficient code?)

2005-07-08 Thread Gavin Simpson
On Wed, 2005-07-06 at 19:54 +0100, Gavin Simpson wrote: > Dear List, > I fixed up the code in coinertiaI to only return the bits I needed from La.svd() within the permutations - thus producing a 10% speed up. I am still a little unclear about the results from Rprof() (below). Do the timings unde