[Rd] R CMD INSTALL warning for S4 replacement functions on R 4.1.0-alpha

2021-04-23 Thread Felix Ernst
tion needed? If it is a bug, I am happy to post on the bug tracker. Thanks for any advice. Best regards, Felix [[alternative HTML version deleted]] __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

[Rd] compairing doubles

2018-08-31 Thread Felix Ernst
double, however n[2] == 0.1 reports FALSE as well. The whole problem is solved by switching from all(n == test) to all(as.character(n) == as.character(test)). However that is weird, isn�t it? Does this work as intended? Thanks for any help, advise and suggestions in advance. Best regards, Felix

[Rd] Suppress specific warnings

2013-04-18 Thread Felix Schönbrodt
Hello, is there a convenient way to suppress only *specific* warnings? (I know about ?suppressWarnings) I depend on another package, from which I want to suppress only some warnings, but not others. Felix __ R-devel@r-project.org mailing list https

Re: [Rd] Snippets from other packages/ License

2013-03-15 Thread Felix Schönbrodt
Thanks Brian and Hadley, these all seem to be reasonable approaches! (For the current package I think I'll depend on the other one, but it's good to know how to proceed for future situations …). Felix Am 14.03.2013 um 16:52 schrieb Hadley Wickham : >> If you wish to fork t

[Rd] Snippets from other packages/ License

2013-03-14 Thread Felix Schönbrodt
hat? Where should I put that credit? Or should I proceed completely different? Best, Felix __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] Precompiled vignette on CRAN

2010-07-17 Thread Felix Schönbrodt
%\VignetteDepends{lme4} statement to the vignette. Best, Felix __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

[Rd] Precompiled vignette on CRAN

2010-07-14 Thread Felix Schönbrodt
the Sweave vignettes can be compiled on CRAN, or is it possible to provide the (locally compiled) pdf vignette to be included in the package? Best, Felix __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] SVN vs DVCS

2010-05-26 Thread Felix Andrews
6, 2010 at 5:44 AM, Martin Maechler > wrote: >>>>>>> Felix Andrews >>>>>>>     on Wed, 26 May 2010 11:20:12 +1000 writes: >> >>    > On second thoughts it is really none of my business how the R sources >>    > are managed. >&

Re: [Rd] SVN vs DVCS

2010-05-25 Thread Felix Andrews
On second thoughts it is really none of my business how the R sources are managed. But I would encourage package developers and/or r-forge maintainers to consider these systems. Regards -Felix On 26 May 2010 10:29, Felix Andrews wrote: > Hi, > > Just wondering whether anyone had thou

[Rd] SVN vs DVCS

2010-05-25 Thread Felix Andrews
n ... http://en.wikipedia.org/wiki/Mercurial_(software) Joel Spolky's take on it: http://www.joelonsoftware.com/items/2010/03/17.html Regards -Felix -- Felix Andrews / 安福立 Postdoctoral Fellow Integrated Catchment Assessment and Management (iCAM) Centre Fenner School of Environment and Society

[Rd] pretty.Date(): changes to axis() methods?

2010-05-20 Thread Felix Andrews
.Date(z, format = format) else if (identical(labels, FALSE)) labels <- rep("", length(z)) # suppress labelling of ticks axis(side, at = z, labels = labels, ...) } Whether to modify axis() methods is up to R-core of course, but I thought it was worth discussing.

Re: [Rd] pretty.Date(): new "halfmonth" time step

2010-05-20 Thread Felix Andrews
I see, an interesting perspective. The current purpose is just to look pretty, or to follow "the principle of least surprise", which is difficult to the extent that it is subjective and sometimes context dependent... Cheers -Felix On 20 May 2010 17:38, Daniel Murphy wrote: > F

Re: [Rd] pretty.Date(): new "halfmonth" time step

2010-05-19 Thread Felix Andrews
st to use a consistent date (the 16th) than to calculate exact midpoints, just as a normal monthly series has a consistent date (the 1st) and has variable lengths. Regards -Felix > > - Dan Murphy > >        [[alternative HTML version deleted]] > >

[Rd] pretty.Date(): new "halfmonth" time step

2010-05-18 Thread Felix Andrews
, "2002-05-01"))) # [1] "2002-02-15" "2002-03-01" "2002-03-15" "2002-04-01" "2002-04-15" "2002-05-01" The proposed patch is attached. Regards -Felix -- Felix Andrews / 安福立 Postdoctoral Fellow Integrated Catchment Assessment and

[Rd] bug in cut.POSIXt(..., breaks = ) and cut.Date

2010-04-28 Thread Felix Andrews
+levels(res) <- as.character(x[!duplicated(res)]) + else levels(res) <- as.character(breaks[-length(breaks)]) +} res } Regards -Felix -- Felix Andrews / 安福立 Postdoctoral Fellow Integrated Catchment Assessment and Management (iCAM) Centre Fenner School of Environment

Re: [Rd] bug in aggregate.ts

2010-04-19 Thread Felix Andrews
Sorry, I didn't notice Patrick Aboyoun's email reporting the same issue just some minutes ago. On 20 April 2010 10:41, Felix Andrews wrote: > Hi, > > I am getting unexpected behaviour from aggregate.ts(). The 'ndeltat' > argument is effectively being reduced

[Rd] bug in aggregate.ts

2010-04-19 Thread Felix Andrews
1252 LC_NUMERIC=C [5] LC_TIME=English_Australia.1252 attached base packages: [1] stats graphics grDevices utils datasets methods base -- Felix Andrews / 安福立 Postdoctoral Fellow Integrated Catchment Assessment and Management (iCAM) Centre Fenner School of Environment and Society [Bldg

Re: [Rd] Error on Windows build: "unable to re-encode"

2010-02-26 Thread Felix Schönbrodt
Thanks for your help - that was the solution (easy enough to remove these two characters - they've been in only comments anyway). Fortunately, the DECRIPTION file accepts umlauts, as in my second name. The problem was only in the source file. Felix Am 26.02.2010 um 18:37 schrieb D

[Rd] Error on Windows build: "unable to re-encode"

2010-02-26 Thread Felix Schönbrodt
stop(gettextf("unable to re-encode '%s'", basename(f)), domain = NA, call. = FALSE) However, I don't really know what that means. I already tried to encode the source file both in UTF-8 and in

[Rd] proposal for new axis.Date/axis.POSIXct

2010-02-03 Thread Felix Andrews
[reposting after holiday period] -- Forwarded message -- From: Felix Andrews Date: 21 December 2009 23:44 Subject: proposal for new axis.Date/axis.POSIXct To: r-devel@r-project.org Hi R-devel. I've noticed a couple of quirks in the current time/date axis functions (axis

Re: [Rd] A package for visualizing R syntax

2009-12-23 Thread Felix Andrews
Nice idea. But I think "visualR" or "seeR" are way too vague. How about "drawExpressions", or "showExpressions"? -Felix 2009/12/24 Sylvain Loiseau : > Dear all, > > I have written a small set of functions for drawing graphical representations

[Rd] proposal for new axis.Date/axis.POSIXct

2009-12-21 Thread Felix Andrews
x <- mean(par("usr")[1:2]) text(x, 0.5, paste("span:", s), cex = 2) text(x, 0.33, paste(format(times), collapse="\n")) text(x, 0.05, "current axis.POSIXct") text(x, 0.95, "proposed new prettyDate axis") ## draw new proposed axi

Re: [Rd] split.data.frame

2009-12-15 Thread Felix Andrews
gt; Romain > > -- > Romain Francois > Professional R Enthusiast > +33(0) 6 28 91 30 30 > http://romainfrancois.blog.free.fr > |- http://tr.im/HlX9 : new package : bibtex > |- http://tr.im/Gq7i : ohloh > `- http://tr.im/FtUu : new package : highlight > > ___

Re: [Rd] model.matrix evaluation challenges

2009-08-11 Thread Felix Andrews
z <- ~f with(c(newdata,obj...@data), { environment(z) <- environment() model.matrix(z) }) Or, we can force model.matrix() to look in a given environment by using its 'data' argument: with(c(newdata,obj...@data),model.matrix(~f, data = environment())) Hope that helps

Re: [Rd] model.matrix evaluation challenges

2009-08-10 Thread Felix Andrews
how about... nrow(with(cc, model.matrix(params, data=environment( cheers -Felix 2009/8/10 Ben Bolker : >  I am having difficulty with evaluation/environment construction > for a formula to be evaluated by model.matrix().  Basically, I > want to construct a model matrix that first

Re: [Rd] rowSums, rowMean and rowCumSums?

2009-07-31 Thread Felix Andrews
Hi, you can compute cumsums for each row with t(apply(x, 1, cumsum)) As this is a simple, direct implementation, I see no reason to make it a named function. Cheers -Felix 2009/7/31 Christophe Dutang : > Dear list, > > Don't you think it could be useful to have in R base a functio

Re: [Rd] interrupting R from a GUI

2009-01-16 Thread Felix Andrews
2009/1/16 Prof Brian Ripley : > On Fri, 16 Jan 2009, Felix Andrews wrote: > >> list(...), >> >> I am looking for a way to interrupt R from a callback: specifically, >> to interrupt plotting (typically on a cairoDevice, but would be good >> if it worked with ot

[Rd] interrupting R from a GUI

2009-01-15 Thread Felix Andrews
help would be appreciated. -Felix -- Felix Andrews / 安福立 http://www.neurofractal.org/felix/ 3358 543D AAC6 22C2 D336 80D9 360B 72DD 3E4C F5D8 __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

[Rd] bug involving quote(); ghost in the machine

2009-01-05 Thread Felix Andrews
R version 2.9.0 Under development (unstable) (2009-01-04 r47462) i386-pc-mingw32 locale: LC_COLLATE=English_Australia.1252;LC_CTYPE=English_Australia.1252;LC_MONETARY=English_Australia.1252;LC_NUMERIC=C;LC_TIME=English_Australia.1252 attached base packages: [1] stats graphics grDevices utils

Re: [Rd] Buggy trellis.focus() with xyplot ?

2008-11-19 Thread Felix Andrews
tion of large multidimensional data sets using lattice > and geared towards non programmers. > > I don't really know what I am getting into, so any advice would be welcomed. Sounds similar to some of the functionality of the 'playwith' and/or 'latticist' packages.

Re: [Rd] Buggy trellis.focus() with xyplot ?

2008-11-19 Thread Felix Andrews
>>clickYScaled <- (as.numeric(clickLoc$y) - botPad + Danielconstant2) >> / (1 - botPad - topPad + Danielconstant3) >> This is of course a useless fix, since you want the fix to work for any plot >> with any window size, but I might be valuable information

Re: [Rd] grid error: protection stack overflow

2008-11-14 Thread Felix Andrews
For the record, a much better alternative to try(downViewport()) is curVps <- grid.ls(grobs = FALSE, viewports = TRUE, print = FALSE)$name if ("fooVp" %in% curVps) ... 2008/11/14 Felix Andrews <[EMAIL PROTECTED]>: > I have isolated an error that can be reproduced by the

[Rd] grid error: protection stack overflow

2008-11-13 Thread Felix Andrews
base other attached packages: [1] lattice_0.17-15 -- Felix Andrews / 安福立 http://www.neurofractal.org/felix/ 3358 543D AAC6 22C2 D336 80D9 360B 72DD 3E4C F5D8 __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] conditionally import a namespace?

2008-10-31 Thread Felix Andrews
2008/10/31 Duncan Murdoch <[EMAIL PROTECTED]>: > On 10/30/2008 10:44 AM, Duncan Murdoch wrote: >> >> On 10/30/2008 10:15 AM, Martin Maechler wrote: >>>>>>>> >>>>>>>> "FA" == Felix Andrews <[EMAIL PROTECTED]&g

[Rd] conditionally import a namespace?

2008-10-29 Thread Felix Andrews
*could* rewrite all the code to use explicit functions, I think, the resulting code would be much less clear. Essentially what I want to do is conditionally import the RGtk2 namespace. Any suggestions? Thanks Felix -- Felix Andrews / 安福立 http://www.neurofractal.org/felix/ 3358 543D AAC6 22C2 D

[Rd] equivalent to "require" for imports? (cairoDevice)

2008-07-28 Thread Felix Andrews
xact -- which can clog up things like help.search and autocompletion. What is the recommended solution? Could asCairoDevice call loadNamespace rather than require? -- Felix Andrews / 安福立 PhD candidate Integrated Catchment Assessment and Management Centre The Fenner School of Environment and Societ

[Rd] grid.ls() after grid.remove() fails

2008-07-28 Thread Felix Andrews
(*, "class")= chr "viewport" > sessionInfo() R version 2.8.0 Under development (unstable) (2008-07-26 r46127) i386-pc-mingw32 locale: LC_COLLATE=English_Australia.1252;LC_CTYPE=English_Australia.1252;LC_MONETARY=English_Australia.1252;LC_NUMERIC=C;LC_TIME=English_Australia.

Re: [Rd] grobX for points?

2008-07-27 Thread Felix Andrews
On Mon, Jul 28, 2008 at 7:41 AM, Paul Murrell <[EMAIL PROTECTED]> wrote: > Hi > > > Felix Andrews wrote: >> Hi R-devel, >> >> It seems that grobX and grobY (from the grid package) do not refer to >> the bounding box of a grid.points object. >> >

[Rd] grobX for points?

2008-07-25 Thread Felix Andrews
RGtk2_2.12.5-3 gWidgets_0.0-28 [6] lattice_0.17-10 loaded via a namespace (and not attached): [1] gridBase_0.4-3 tools_2.7.1 -- Felix Andrews / 安福立 PhD candidate Integrated Catchment Assessment and Management Centre The Fenner School of Environment and Society The Australian National

[Rd] plot.dendrogram xlim/ylim

2008-07-23 Thread Felix Andrews
- tmp } if (missing(xlim)) xlim <- xlim0 if (missing(ylim)) ylim <- ylim0 plot(0, xlim = xlim, ylim = ylim, .. Regards, Felix -- Felix Andrews / 安福立 PhD candidate Integrated Catchment Assessment and Management Centre The Fenner School of Environment and Society The A

[Rd] bquote(function(x,y) T) (PR#9602)

2007-04-05 Thread felix
os mingw32 system i386, mingw32 status major 2 minor 4.1 year 2006 month 12 day18 svn rev40228 language R version.string R version 2.4.1 (2006-12-18) -- Felix Andrews / $B0BJ!N)(B PhD candidate, The Fenner School of E

Re: [Rd] R4.1: seq.POSIXt, tz="AEST" (PR#9572)

2007-03-19 Thread felix
ralia prints as: > as.POSIXct("1970-01-01", tz="") [1] "1970-01-01 AUS Eastern Daylight Time" and that is the one that has repeated dates before 1970. But I take your point that it is fundamentally a problem with Windows. --Felix On 3/19/07, Prof Brian Ripley &

[Rd] R4.1: seq.POSIXt, tz="AEST" (PR#9572)

2007-03-19 Thread felix
h i386 os mingw32 system i386, mingw32 status major 2 minor 4.1 year 2006 month 12 day 18 svn rev40228 language R version.string R version 2.4.1 (2006-12-18) -- Felix Andrews / $B0BJ!N)(B Beijing Bag, Locked

[Rd] slow graphics on MAC OS X R-2.4.1 (PR#9530)

2007-02-25 Thread felix . naef
from the command line. try the same commands d = matrix(runif(300*2000),300,2000) image(d) image(d) #again a second time We found huge differences in speed, perhaps we are doing something wrong? As a result we exclusively use R in X11 mode which works fine for us. Felix Naef