[Rd] Bug in function boxplot's axis labeling

2019-05-06 Thread Ulrike Grömping
Dear developeRs, I appreciate that boxplot now labels the axes with variable names per default. However, with argument "horizontal=TRUE" (which I always use), the default axis labels are mixed up, as can e.g. be seen with require(boot) boxplot(time ~ poison, poisons, horizontal=TRUE) The cor

Re: [Rd] directives to explicitely exclude objects from import into namespaces

2013-09-07 Thread Ulrike Grömping
I also second Peter's proposal. I think that it is particularly helpful to save time for maintainers of packages that were developed a longer time ago. When writing new packages, it is relatively easy to keep track of which functions from which packages need to be imported; when maintaining older c

Re: [Rd] Importing function that is previously imported by other package

2013-09-06 Thread Ulrike Grömping
Am 06.09.2013 12:53, schrieb Duncan Murdoch: On 13-09-06 5:36 AM, Ulrike Grömping wrote: Dear developeRs, I encounter the following problem: in the current version of my package FrF2, certain calls to a functioni do not work when package combinat is loaded, because function combn from combinat

[Rd] Importing function that is previously imported by other package

2013-09-06 Thread Ulrike Grömping
Dear developeRs, I encounter the following problem: in the current version of my package FrF2, certain calls to a functioni do not work when package combinat is loaded, because function combn from combinat masks the function from utils that my package uses. I tried to solve this issue by impor

[Rd] Reason for difference in singular value decomposition produced by function La.svd (via prcomp)?

2013-08-12 Thread Ulrike Grömping
Dear expeRts, I previously posted this message to R-help and did not get a response, therefore I now try here, with a few additional system details added. I have run some simulations under R 2.15.1 on a Mac (OS X, 10.6.8), and I have rerun a sample of them under R 3.0.1 on Windows 7 (and also

Re: [Rd] sysdata.rda vs. rda files in data directory

2013-03-27 Thread Ulrike Grömping
Dear all, for everybody's benefit, here is a brief summary of what I learnt from Uwe Ligges. There is a convincing reason against combining a data directory with a datalist file only (the way for retrieving a list of the data available without the package loaded) with a sysdata.rda file in the R

[Rd] sysdata.rda vs. rda files in data directory

2013-03-23 Thread Ulrike Grömping
Dear developeRs, my package FrF2.catlg128 holds large catalogues and is supposed to gain additional ones. All the catalogues are intended for the user. So far, the catalogues were stored in the data directory, and LazyData was "no". I understand that this is not considered wise any more (if it

Re: [Rd] numerics from a factor

2013-03-16 Thread Ulrike Grömping
Hi Terry, you can use type.convert instead of as.numeric for numbers with decimals: type.convert(levels(factor(1:6/2)), dec=unlist(options("OutDec"))) Best, Ulrike Am 16.03.2013 12:00, schrieb r-devel-requ...@r-project.org: Date: Fri, 15 Mar 2013 12:47:01 -0500 From: Terry Therneau To:"r-dev

Re: [Rd] Private environments and/or assignInMyNamespace

2013-02-13 Thread Ulrike Grömping
t require any programming trick. But maybe I'm missing something. ;-) My two cents Best, Ulrike Am 13.02.2013 10:12, schrieb Milan Bouchet-Valat: Le mardi 12 février 2013 à 14:45 +0100, Ulrike Grömping a écrit : Dear DevelopeRs, I've been struggling with the new regulations regardin

Re: [Rd] Private environments and/or assignInMyNamespace

2013-02-13 Thread Ulrike Grömping
was not following this approach through thoroughly enough. Any thoughts whether the storage of widgets in an environment off the search path might work (when properly followed through, which will be a lot of work)? Or any suggestion how else I can achieve what I try to do? Best, Ulrike

[Rd] Private environments and/or assignInMyNamespace

2013-02-12 Thread Ulrike Grömping
Dear DevelopeRs, I've been struggling with the new regulations regarding modifications to the search path, regarding my Rcmdr plugin package RcmdrPlugin.DoE. John Fox made Rcmdr comply with the new policy by removing the environment RcmdrEnv from the search path. For the time being, he develop

Re: [Rd] as.character on NaN gives "NaN", is that intentional?

2010-09-07 Thread Ulrike Grömping
that both is.numeric(NaN) and is.numeric(Inf) both return TRUE.) In your example, the character string "ee" does not represent any number that I know about (at least in standard R). Kevin On 9/7/2010 11:23 AM, Ulrike Grömping wrote: Dear DevelopeRs, I am surprised about the outco

[Rd] as.character on NaN gives "NaN", is that intentional?

2010-09-07 Thread Ulrike Grömping
Dear DevelopeRs, I am surprised about the outcome of the second command: str(as.character(as.numeric("ee"))) str(as.character(log(-1))) I would have expected a character NA. Is there an intention behind this behavior? Best, Ulrike -- * *

Re: [Rd] Assignment of individual values to data frame columns: intentional or unintentional behavior?

2010-08-05 Thread Ulrike Grömping
Gabor Grothendieck schrieb: On Thu, Aug 5, 2010 at 12:24 PM, Ulrike Grömping wrote: Dear developeRs, I have just discovered a strange feature when assigning some values to columns of a data frame: The column is matched by partial matching (as documented), but when assigning a value, a new

[Rd] Assignment of individual values to data frame columns: intentional or unintentional behavior?

2010-08-05 Thread Ulrike Grömping
Dear developeRs, I have just discovered a strange feature when assigning some values to columns of a data frame: The column is matched by partial matching (as documented), but when assigning a value, a new column with the partial name is added to the data frame that is identical to the origina

[Rd] Issue with prediction from lm object with poly

2010-08-03 Thread Ulrike Grömping
DDear developeRs, about a year ago, Alex Stolpovsky posted an issue with predict.lm on a fit generated using poly with the raw=TRUE option and too few new data (slightly modified reproducible example below). Alex did not get any reply. I have just stumbled on the same problem, and I think that

Re: [Rd] Miktex does not work with R CMD check

2010-04-27 Thread Ulrike Grömping
ge are you referring to? Best wishes, Uwe On 25.04.2010 18:57, Ulrike Grömping wrote: Dear DevelopeRs, the issue I am stuck with (I am on Windows, R-2.11): My Miktex (version 2.8) does not work with R CMD check, although Miktex on its own can pdflatex the tex-file in the Rcheck directory. (This

Re: [Rd] Bug in calculation of overdispersion for quasibinomial grouped

2010-04-26 Thread Ulrike Grömping
A quick addition: SAS PROC LOGISTIC with option SCALE=PEARSON only calculates what R calculates in the grouped version; this is forced by refusing to calculate a FI estimate for ungrouped data, unless an AGGREGATE option is specified. Apparently, SAS has decided for one model (not the one I

[Rd] Bug in calculation of overdispersion for quasibinomial grouped data ?

2010-04-26 Thread Ulrike Grömping
Dear list, in preparing a lecture, I have created an example for the same data in grouped and ungrouped form (the well-known Titanic data). The code included below shows that the overdispersion estimates are strongly different for the two approaches. If the overdispersion parameter FI is seen

[Rd] Miktex does not work with R CMD check

2010-04-25 Thread Ulrike Grömping
Dear DevelopeRs, the issue I am stuck with (I am on Windows, R-2.11): My Miktex (version 2.8) does not work with R CMD check, although Miktex on its own can pdflatex the tex-file in the Rcheck directory. (This issue has been going on for a while, and now, after having updated to R-2.11, I fina

Re: [Rd] Link to pdf documentation from other package ?

2009-11-18 Thread Ulrike Grömping
Duncan Murdoch schrieb: Ulrike Groemping wrote: Duncan Murdoch-2 wrote: Ulrike Groemping wrote: Dear developeRs, I have not found anything recent about how to link to a vignette or other documentation from within Rd-files. Is this now possible with the new help system ? For example,

[Rd] Registered S3 methods not found: Documentation bug or anomaly in function update or ... ?

2009-11-03 Thread Ulrike Grömping
Dear expeRts, I recently asked for help on an issue with S3 methods for lm. The issue was (in DoE.base 0.9-4) that function update from package stats would return an error whenever DoE.base was loaded, complaining that lm.default was not found (e.g. require(DoE.base) swiss.lm <- lm(Fertility~E

Re: [Rd] Class design as used in package graphics

2009-08-15 Thread Ulrike Grömping
Just found the answer myself, I thought I had looked in the white book a long time ago, but apparently didn't or didn't do it right. The class is documented in the white book. Regards, Ulrike Ulrike Grömping wrote: > > Dear developeRs, > > I just discovered the f

[Rd] Class design as used in package graphics

2009-08-13 Thread Ulrike Grömping
Dear developeRs, I just discovered the function plot.design in package graphics that acts as a method for class design - the second time I come across a class design outside my own packages. (The first time was in package conf.design, where Bill Venables encouraged me to ignore it because he does

Re: [Rd] Wishlist: install.packages to look for the newest version (PR#13852)

2009-07-25 Thread Ulrike Grömping
Thomas, yes, I think, if installation of the new version is not safe, a warning would be a very good idea, perhaps also with a hint on how to manually install from the repository for the new version of R ? Regards, Ulrike Thomas Lumley wrote: > > > Uwe, > > I think Ulrike is making a diffe

[Rd] Semi-automated testing of function with GUI-inputs?

2009-07-16 Thread Ulrike Grömping
Dear DevelopeRs, I have written a version of function fix for my class design (data frame with attributes) that is supposed to allow users to type in some additional variables, while preserving the attributes, as long as no forbidden edits (like changes to the experimental factors) are done. It

Re: [Rd] Error in FrF2 example on Mac OS

2009-03-25 Thread Ulrike Grömping
-- Original Message --- From: Simon Urbanek To: Ulrike Grömping Cc: r-devel@r-project.org Sent: Wed, 25 Mar 2009 10:32:59 -0400 Subject: Re: [Rd] Error in FrF2 example on Mac OS > On Mar 24, 2009, at 10:41 , Ulrike Grömping wrote: > > > > > >

Re: [Rd] Error in FrF2 example on Mac OS

2009-03-24 Thread Ulrike Grömping
Petr Savicky wrote: > > On Tue, Mar 24, 2009 at 07:41:31AM -0700, Ulrike Grömping wrote: >> > Probably, k is needed also later. Assumig that 2^k works correctly, >> > the following could be sufficient >> > >> >if (!is.null(nruns)){ >> >

Re: [Rd] Error in FrF2 example on Mac OS

2009-03-24 Thread Ulrike Grömping
Petr Savicky wrote: > > On Tue, Mar 24, 2009 at 02:45:57PM +0100, Uwe Ligges wrote: >> >gives the custom error message "nruns must be a power of 2.", which is >> >generated in the first check within function FrF2: >> > >> >if (!is.null(nruns)){ >> > k <- floor(log2(nruns)) >> >

Re: [Rd] Error in FrF2 example on Mac OS

2009-03-24 Thread Ulrike Grömping
Thanks, Uwe, I think that's it! I'll include your fix in the next update. Regards, Ulrike -- Original Message --- From: Uwe Ligges To: Ulrike Grömping Cc: r-devel@r-project.org Sent: Tue, 24 Mar 2009 14:45:57 +0100 Subject: Re: [Rd]  Error in FrF2 example

[Rd] Size of (objects in) sysdata.rda

2009-03-24 Thread Ulrike Grömping
Dear all, in my package FrF2, I currently face a trade-off of object size and calculation run times. I would like to work with catalogues with some pre-calculated information, and calculate some other information on an as-needed basis. Is there any experience as to what sizes of objects in sysd

[Rd] Error in FrF2 example on Mac OS

2009-03-24 Thread Ulrike Grömping
Dear all, I just noticed that the 0.9 update for FrF2 did not work out for Mac OS due to an error in an example that ran without error on all other platforms. I do not find any reason for this. In the past, umlauts or tab characters have sometimes been an issue, but I didn't find any of these. Th

Re: [Rd] R CMD check problem on R 2.6.1 RC

2007-11-22 Thread Ulrike Grömping
Duncan Murdoch-2 wrote: > > On 11/22/2007 10:11 AM, Ulrike Grömping wrote: > > Hi Duncan, > > > > yes, I am talking about a new version (currently called 1.99, to be > made 2.0 on release). I don't think I should attach the file in a note > to the li

Re: [Rd] R CMD check problem on R 2.6.1 RC

2007-11-22 Thread Ulrike Grömping
I suppose I should add that this is under Windows (XP). Regards, Ulrike Ulrike Grömping wrote: > > Dear R-developers, > > I'm experiencing a problem with having an example run under R 2.6.1 RC > (downloaded and installed today, r43513), which does not occur on R 2.6.0:

[Rd] R CMD check problem on R 2.6.1 RC

2007-11-22 Thread Ulrike Grömping
Dear R-developers, I'm experiencing a problem with having an example run under R 2.6.1 RC (downloaded and installed today, r43513), which does not occur on R 2.6.0: The new version of package relaimpo does list package survey under "Depends", and an example directly (i.e. not only from within a f

[Rd] Strange behavior of pretty

2007-11-03 Thread Ulrike Grömping
Dear all, I got stuck with a weird behavior of pretty: pretty(c(-1,1),n=1) yields -2, 0, 2 instead of the desired result -1 1. Likewise, pretty(c(-2,2),n=1) yields -5, 0, 5 instead of the desired result -2 2. With n=0, the result is the same, while with n=2 everything is as documented.

Re: [Rd] Bug in str or issue with class management in my package?

2007-03-23 Thread Ulrike Grömping
ed no problems with "my way" so far in my package, all methods on objects of the class in question work without trouble; but that may be due to the fact that I payed attention in the methods that slots are only used if they exist. Regards, Ulrike > Hi, > > >>>>&

Re: [Rd] Bug in str or issue with class management in my package?

2007-03-23 Thread Ulrike Grömping
> }) > > and use > > ausgabe <- as(ausgabe, "relimplmbooteval") > > I'm not really sure what should look like; my first > stab was > > obj <- new("relimplmbooteval") > slots <- slotNames(from) &

[Rd] Bug in str or issue with class management in my package?

2007-03-23 Thread Ulrike Grömping
Dear developeRs, with R 2.4.1 (and also 2.4.0), the function str() fails on objects of class relimplmbooteval, if there are unused slots, which is very often the case. I am not sure whether this is a bug in str() or a correct behavior of str() that unmasks some sloppiness in my usage of S4 classe

Re: [Rd] Whine in dual core Windows PC if R uses full CPU capacity

2007-01-15 Thread Ulrike Grömping
ow that, though)? Regards, Ulrike -- Original Message --- From: Duncan Murdoch <[EMAIL PROTECTED]> To: Ulrike Grömping <[EMAIL PROTECTED]> Cc: r-devel@r-project.org Sent: Mon, 15 Jan 2007 13:07:10 -0500 Subject: Re: [Rd] Whine in dual core Windows PC if R uses full CPU cap

Re: [Rd] Whine in dual core Windows PC if R uses full CPU capacity

2007-01-15 Thread Ulrike Grömping
nnection with other boards. Regards, Ulrike -- Original Message --- From: Marc Schwartz <[EMAIL PROTECTED]> To: Uwe Ligges <[EMAIL PROTECTED]> Cc: Ulrike Grömping <[EMAIL PROTECTED]>, r-devel@r-project.org Sent: Mon, 15 Jan 2007 13:08:08 -0600 Subject: Re: [Rd] W

[Rd] Whine in dual core Windows PC if R uses full CPU capacity

2007-01-15 Thread Ulrike Grömping
educe the processor’s speed from 2.4GHz to 1.7GHz when I want to concentrate – then the whine is gone (but the simulation is slower). Does anyone have any idea – or hints regarding what else I could think about ? Regards, Ulrike ** Prof. Dr. Ulrike Grömping Fachberei

Re: [Rd] sort function (PR#9309)

2006-10-21 Thread Ulrike Grömping
What Luis probably means can be reproduced by this little example: a<-5:1 b<-t(t(a)) b sort(b) In R 2.2.1 (Windows XP), sort(b) is a matrix with 1 column, like b. In R 2.4.0 (and presumably already 2.3.1), sort(b) is no longer a matrix but a vector (and displayed as a row). Regards, Ulrike --

Re: [Rd] Problem tracking down an R CMD check syntax error

2006-10-20 Thread Ulrike Grömping
My original post got slightly messed up somehow, so let me restructure it in order to make it understandable: Dear all, I am stuck with tracking down an error I get from R CMD check (Windows, R 2.4.0, same error for R 2.2.1): when running R CMD check over a modified version of package relaimpo,

[Rd] Problem tracking down an R CMD check syntax error

2006-10-20 Thread Ulrike Grömping
Dear all, I am stuck with tracking down an error I get from R CMD check (Windows, R 2.4.0, same error for R 2.2.1): when running R CMD check over a modified version of package relaimpo, I get the following output in install.out: preparing package relaimpo for lazy loading Loading required packa

Re: [Rd] Wishlist: merge and subset to keep attributes (PR#8658)

2006-03-12 Thread Ulrike Grömping
> When importing data from SPSS, it is a nice feature of the package > foreign that > it allows (option use.value.labels=F) to work with the original SPSS > codes while > keeping the value labels as information in an attribute. Unfortunately, > after > merging or subsetting, these attributes