[Rd] regexp bug in very recent r-devel

2007-05-22 Thread Deepayan Sarkar
completion is semi-broken in today's r-devel, and the reason seems to be some regular expression changes: > sessionInfo() R version 2.6.0 Under development (unstable) (2007-05-22 r41673) i686-pc-linux-gnu locale: [...] attached base packages: [1] "stats" "graphics" "grDevices" "utils" "

[Rd] Calling R_PolledEvents from R_CheckUserInterrupt

2007-05-31 Thread Deepayan Sarkar
On 5/5/07, Luke Tierney <[EMAIL PROTECTED]> wrote: [...] > However, R_PolledEvents is only called from a limited set of places > now (including the socket reading code to keep things responsive > during blocking reads). But it is not called from the interupt > checking code, which means if a use

[Rd] feature request for page() and options()

2007-05-31 Thread Deepayan Sarkar
Hi, I have been playing around with a Qt based pager. One of the things I would like to be able to do is syntax highlighting for R code. This is mostly relevant with the page function, e.g. page(ls) The problem in this case is that the pager has no way of knowing whether the file it is showing c

[Rd] HTML vignette browser

2007-06-01 Thread Deepayan Sarkar
Hi, this is tangentially related to the recent discussion on vignettes. vignette() currently produces a listing of available vignettes, but these are not clickable. Since R has a browseURL() function, it seems natural to have a version that produces HTML with clickable links. Here's an attempt at

Re: [Rd] HTML vignette browser

2007-06-04 Thread Deepayan Sarkar
On 6/4/07, Seth Falcon <[EMAIL PROTECTED]> wrote: > Friedrich Leisch <[EMAIL PROTECTED]> writes: > > Looks good to me, and certainly something worth being added to R. > > > > 2 quick (related) comments: > > > > 1) I am not sure if we want to include links to the Latex-Sources by > >default, tho

Re: [Rd] HTML vignette browser

2007-06-04 Thread Deepayan Sarkar
On 6/4/07, Prof Brian Ripley <[EMAIL PROTECTED]> wrote: > Folks, > > I think this is a nice idea (and not very different to somethign I have > bene playing with), but with lots of CHARSXP changes pending I'd > like to come back to it next week or so. > > Sorry, Deepayan, you've happened to hit a ve

Re: [Rd] HTML vignette browser

2007-06-05 Thread Deepayan Sarkar
On 6/5/07, Friedrich Leisch <[EMAIL PROTECTED]> wrote: > >>>>> On Mon, 04 Jun 2007 11:52:51 -0700, > >>>>> Robert Gentleman (RG) wrote: > > > Deepayan Sarkar wrote: > >> On 6/4/07, Seth Falcon <[EMAIL PROTECTED]> wrote: >

Re: [Rd] parse(text=...) and the srcfile attribute

2007-07-12 Thread Deepayan Sarkar
" Neither of which is what I want. I want > sapply(attr(foo, "srcref"), as.character) [1] "a <- 1""b <- 2**2" "a + b" but was hoping for a better way than this. -Deepayan > > On 7/12/07, Deepayan Sarkar <[EMAIL PROTECTED]&

[Rd] parse(text=...) and the srcfile attribute

2007-07-12 Thread Deepayan Sarkar
Hi, I'm trying to understand whether the new source file references can help me with something I want to do. Let's say I have foo <- parse(text = " a <- 1; b <- 2**2 a + b ") I now wish to recover the sources for the parsed expressions. I can get them one at a time: > foo[[2]] b <- 2^2 > as.cha

[Rd] substitute and expression

2007-07-16 Thread Deepayan Sarkar
Hi, I'm trying to understand whether the use of substitute() is appropriate/documented for plotmath annotation. The following two calls give the same results: > plot(1:10, main = expression(alpha == 1)) > do.call(plot, list(1:10, main = expression(alpha == 1))) But not these two: > plot(1:10, m

Re: [Rd] substitute and expression

2007-07-16 Thread Deepayan Sarkar
On 7/16/07, Peter Dalgaard <[EMAIL PROTECTED]> wrote: > Deepayan Sarkar wrote: > > Hi, > > > > I'm trying to understand whether the use of substitute() is > > appropriate/documented for plotmath annotation. The following two > > calls give th

Re: [Rd] aesthetics of do.call

2007-08-20 Thread deepayan . sarkar
On 8/20/07, Vincent Carey 525-2265 <[EMAIL PROTECTED]> wrote: > > > library(MASS) > G1 = glm(sp~CW, data=crabs, fam=binomial) > G2 = do.call("glm", list(sp~CW, family=binomial, data=crabs)) > > G1$call is very nice to look at > G2$call is very voluminous > > if we revise do.call to > > function (wh

Re: [Rd] Friday question: negative zero

2007-08-31 Thread deepayan . sarkar
On 8/31/07, Duncan Murdoch <[EMAIL PROTECTED]> wrote: > The IEEE floating point standard allows for negative zero, but it's hard > to know that you have one in R. One reliable test is to take the > reciprocal. For example, > > > y <- 0 > > 1/y > [1] Inf > > y <- -y > > 1/y > [1] -Inf > >

Re: [Rd] Defaults for postscript()

2007-12-06 Thread Deepayan Sarkar
On 12/6/07, Prof Brian Ripley <[EMAIL PROTECTED]> wrote: > The defaults for postscript() > > paper = "default" > onefile = TRUE > horizontal = TRUE > > (it seems) date from the days when people used to used this to send plots > directly to a postscript printer via print.it=TRUE. I haven't done tha

Re: [Rd] interactive graphics devices

2007-12-18 Thread Deepayan Sarkar
On 12/18/07, Byron Ellis <[EMAIL PROTECTED]> wrote: > I probably missed this discussion, but why not just ASK the device if > it is interactive? That's done if the device is open. deviceIsInteractive() takes away the guessing even when it's not (the use-case is when you type example(something) wit

Re: [Rd] available.packages() not accurate?

2007-12-18 Thread Deepayan Sarkar
On 12/18/07, hadley wickham <[EMAIL PROTECTED]> wrote: > > pkgs <- > > as.data.frame(available.packages(contrib.url("http://cran.r-project.org";))) > > pkgs["sn", c("Package", "Version")] > > But looking at http://cran.r-project.org/src/contrib/ only sn_0.4-2 is > available. Any ideas? I see 0.4

Re: [Rd] available.packages() not accurate?

2007-12-18 Thread Deepayan Sarkar
On 12/18/07, hadley wickham <[EMAIL PROTECTED]> wrote: > On 12/18/07, Deepayan Sarkar <[EMAIL PROTECTED]> wrote: > > On 12/18/07, hadley wickham <[EMAIL PROTECTED]> wrote: > > > > pkgs <- > > > > as.data.frame(available.packages(contrib.ur

Re: [Rd] Surprising behaviour of levelplot in lattice package

2008-02-13 Thread Deepayan Sarkar
On 2/13/08, Deepayan Sarkar <[EMAIL PROTECTED]> wrote: > On 2/13/08, Wolfgang Huber <[EMAIL PROTECTED]> wrote: > > Hi Deepayan, > > > > levelplot from the lattice package produces a peculiar output when > > called on a matrix whose column or row name

Re: [Rd] Surprising behaviour of levelplot in lattice package

2008-02-13 Thread Deepayan Sarkar
On 2/13/08, Wolfgang Huber <[EMAIL PROTECTED]> wrote: > Hi Deepayan, > > levelplot from the lattice package produces a peculiar output when > called on a matrix whose column or row names contained duplicated > elements. In particular, the plot contains white stripes, and the > arrangement of data r

Re: [Rd] R on AIX?

2008-02-14 Thread Deepayan Sarkar
On 2/14/08, Susan R. Atlas <[EMAIL PROTECTED]> wrote: > Hi, >Last year our systems group tried to install R on an IBM > p5-570 machine (16 nodes, 256 GB shared RAM), running AIX 5.3. They > ran into all sorts of difficulties and finally gave up. >I am interested in trying again (and wor

Re: [Rd] graphics defaults

2008-03-14 Thread Deepayan Sarkar
On 3/13/08, Ben Bolker <[EMAIL PROTECTED]> wrote: > >Can someone point me to a justification for the design > decisions, which seem to be similar in lattice and > ggplot2, of Disclaimer: I don't have strong personal preferences, I just went with what Trellis had. That said, > (1) gray backg

Re: [Rd] autocompletion problem

2008-04-09 Thread Deepayan Sarkar
On 4/9/08, Herve Pages <[EMAIL PROTECTED]> wrote: > Hi, > > Let's create the xxx object just to avoid confusion even if it's not > necessary > for reproducing the problem below: > >xxx <- 8:3 > > If I start typing this: > >max(xxx[ > > and now try to autocomplete with , then I get the

Re: [Rd] autocompletion problem

2008-04-10 Thread Deepayan Sarkar
On 4/9/08, Herve Pages <[EMAIL PROTECTED]> wrote: [...] > BTW are there any plans to deal with backquoted symbols/names? > There are currently 2 problems with this: > > 1. Completion will work and expand symbols or names that contain special > characters but without backquoting them: > >

Re: [Rd] RFC: What should ?foo do?

2008-04-25 Thread Deepayan Sarkar
For what it's worth, I use ?foo mostly to look up usage of functions that I know I want to use, and find it perfect for that (one benefit over help() is that completion works for ?). The only thing I miss is the ability to do the equivalent of help("foo", package = "bar"); ?bar::foo gives the help

Re: [Rd] R-Forge SVN repositories: R CMD build/check error on Windows machines

2008-04-28 Thread Deepayan Sarkar
On 4/28/08, Prof Brian Ripley <[EMAIL PROTECTED]> wrote: > The difference is in INSTALL, not build/check. > > You are right that the Unix INSTALL was changed in r25808 (Aug 2003), but > AFAICS this was not documented at the time in [O]NEWS, nor anywhere else. > > Can you point me to the documenta

Re: [Rd] need some help in plotting xy graph

2008-05-20 Thread Deepayan Sarkar
On 5/20/08, Kurapati, Ravichandra (Ravichandra) <[EMAIL PROTECTED]> wrote: > > > Hi > > > >Dataframefdf contains > > > > bin rate overlay > > 1 1 90 Assign First/cc _from_SN_53 RNC_20_to_SN_50 RNC_21_Success > Rate > > 2 2

Re: [Rd] rawToChar(raw(0))

2008-05-21 Thread Deepayan Sarkar
On 5/21/08, Henrik Bengtsson <[EMAIL PROTECTED]> wrote: > Hi, > > right now we have (on R v2.7.0 patched (2008-04-23 r45466)) that: > > > rawToChar(raw(0)) > [1] "" > > rawToChar(raw(0), multiple=TRUE) > character(0) > > Is this intended or should both return character(0)? Personally, I > w

Re: [Rd] R CMD INSTALL problem

2008-10-21 Thread Deepayan Sarkar
On Tue, Oct 21, 2008 at 3:23 PM, John Fox <[EMAIL PROTECTED]> wrote: > Dear list members, > > I've run into a problem with R CMD INSTALL under Windows Vista and R 2.8.0: > > - snip --- > > C:\Users\John Fox\workspace>c:\R\R-2.8.0\bin\R CMD INSTALL car > installing to '' Not sure if

Re: [Rd] Getting the panel location of a xyplot matrix using a mouse click in a GDCanvas

2008-10-23 Thread Deepayan Sarkar
On Thu, Oct 23, 2008 at 12:26 PM, Daniel Kornhauser <[EMAIL PROTECTED]> wrote: > Hi: > > I would like to find out the panel of a xyplot matrix where a mouse clicked. > > I know this functionality is already bundled in trellis.focus but I can't > use it because I am coding a stand alone application

[Rd] Emacs tags for R code

2008-11-02 Thread Deepayan Sarkar
Hi, I have put up details of a new tool for tagging R code at http://dsarkar.fhcrc.org/rtags/rtags.html that Emacs/ESS users may be interested in. It should be possible to extend this for other editors as well. Comments and feedback welcome. -Deepayan _

[Rd] Fw: alpha transparency crashes R

2008-11-16 Thread Deepayan Sarkar
f the bomb is found below, excluding the memory map. Please also note that it may be somehow related to grid, as the following code (supplied by Deepayan Sarkar) using base graphics does not crash R, even with n=10... pdf() n = 1000 plot(rnorm(n), rnorm(n), col = rgb(0, 0, 0, alpha = runif(n)),

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

2008-11-19 Thread Deepayan Sarkar
On Wed, Nov 19, 2008 at 8:55 AM, Daniel Kornhauser <[EMAIL PROTECTED]> wrote: > Hi: > > (Tried to find a bug report about this issue, but was unable to find it, let > me know if this is a known issue) > I have been working on an interface to highlight xyplot panels on mouse > overs in JavaGD but I

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

2008-11-19 Thread Deepayan Sarkar
On 11/19/08, Daniel Kornhauser <[EMAIL PROTECTED]> wrote: > Thanks a lot for taking this on guys ! > > Some more background in case you are interested: > > I have almost a working version of focus for selecting a panel with mouse > over in a stanalone Java application using an REngine I only have

Re: [Rd] Google Summer of Code 2009

2009-02-20 Thread Deepayan Sarkar
On 2/19/09, Dirk Eddelbuettel wrote: [...] > On 19 February 2009 at 09:33, Simon Urbanek wrote: > | If primitive 3d scatterplot interactivity is all you want, go with > | rggobi. It's GTK and has all this already and much more. However, > | ggobi also shows why GTK is not a good choice for gener

Re: [Rd] Closed-source non-free ParallelR ?

2009-04-26 Thread Deepayan Sarkar
On 4/26/09, Stavros Macrakis wrote: > On Sun, Apr 26, 2009 at 7:24 AM, Ted Harding > > wrote: > > On 24-Apr-09 16:53:04, Stavros Macrakis wrote: > >> On Thu, Apr 23, 2009 at 8:54 PM, Ted Harding > >> wrote: > >> [...] > >>> ...inspires someone to incorporate the same language extension > >

[Rd] Bug/Wishlist: 'partial' in 'sort' and 'quantile' (PR#8650)

2006-03-01 Thread deepayan . sarkar
Hi, This is essentially a reposting of http://tolstoy.newcastle.edu.au/R/devel/05/11/3305.html which had no responses, and the behaviour reported there persists in r-devel as of yesterday. (1) sort() with non-null partial > x = rnorm(10) > keep = as.integer(ppoints(1) * 10) > syste

[Rd] wishlist: functions to manipulate functions

2006-03-01 Thread Deepayan Sarkar
Hi, Even though R is a functional language and it's common to have functions as arguments to other functions (notably lapply and friends), it is not possible to manipulate functions as easily as other objects. I particularly miss 1. An operator to combine functions (analogous to %*%), e.g. "%of%

Re: [Rd] Expanding partial names

2006-03-07 Thread Deepayan Sarkar
On 3/7/06, Duncan Murdoch <[EMAIL PROTECTED]> wrote: > I'm writing wrappers for some functions that change some of the default > arguments. I'd rather not list all of the arguments for the low level > functions because there are about a dozen wrapper functions, and about > 20 arguments to low

Re: [Rd] custom strip in lattice ignoring plotmath expressions for all but style = 1 (PR#8733)

2006-03-30 Thread deepayan . sarkar
T24gMy8zMC8wNiwgYnR5bmVyQHN0YXQucHVyZHVlLmVkdSA8YnR5bmVyQHN0YXQucHVyZHVlLmVk dT4gd3JvdGU6Cj4gRnVsbF9OYW1lOiBCZW4gVHluZXIKPiBWZXJzaW9uOiAyLjIuMAo+IE9TOiBp Njg2LXBjLWxpbnV4LWdudQo+IFN1Ym1pc3Npb24gZnJvbTogKE5VTEwpICgxMjguMjEwLjE0MS4y NDApCj4KPgo+IE15IGFwcG9sb2dpZXMgaWYgdGhpcyBoYXMgYWxyZWFkeSBiZWVuIGZp

Re: [Rd] custom strip in lattice ignoring plotmath expressions for all but style = 1 (PR#8733)

2006-03-30 Thread Deepayan Sarkar
Trying again... On Thursday 30 March 2006 15:19, [EMAIL PROTECTED] wrote: > Full_Name: Ben Tyner > Version: 2.2.0 > OS: i686-pc-linux-gnu > Submission from: (NULL) (128.210.141.240) > > > My appologies if this has already been fixed, but I didn't see it in the > tracking system yet so I thought

Re: [Rd] Trellis equivalent of par(ask=TRUE)?

2006-05-18 Thread Deepayan Sarkar
On 5/18/06, Lutz Prechelt <[EMAIL PROTECTED]> wrote: > (was: AW: [Rd] R CMD check: checking examples: how to (not) pause > execution) > > Paul, Brian, > > > > I think the more usual way to solve this is to have the user set > > > par(ask=TRUE) is they want to be prompted. > > thank you. > Looking

Re: [Rd] print.trellis(..., draw.in=...)

2006-05-21 Thread Deepayan Sarkar
On 5/21/06, Gabor Grothendieck <[EMAIL PROTECTED]> wrote: > A year ago I had posted this code > > https://stat.ethz.ch/pipermail/r-devel/2005-June/033508.html > > and the associated discussion was that there would be a print.trellis > argument that could be used to eliminate the need for with.vpPat

Re: [Rd] print.trellis(..., draw.in=...)

2006-05-21 Thread Deepayan Sarkar
On 5/21/06, Gabor Grothendieck <[EMAIL PROTECTED]> wrote: > Thanks. I should have realized that. Now that I read it again with > your explanation it is clear. > > At the same time it would be convenient if one could specify a viewport > or vpPath, as well. If that were the case we could also eli

[Rd] possible bug in grid

2006-07-07 Thread Deepayan Sarkar
Hi, ?gpar says: Specifying the value 'NULL' for a parameter is the same as not specifying any value for that parameter, except for 'col' and 'fill', where 'NULL' indicates not to draw a border or not to fill an area (respectively). However, I get > library(grid) > grid.point

Re: [Rd] Two submitted packages

2006-09-05 Thread Deepayan Sarkar
On 9/4/06, Richard M. Heiberger <[EMAIL PROTECTED]> wrote: > ## This example runs in R 2.3.1 and does not run in R 2.4.1. I am > ## raising it here for two questions: one on how to debug functions > ## inside a namespace, the other on how to control clipping. > > tmp <- data.frame(x=1:5, y=1:5, a=

Re: [Rd] Two submitted packages

2006-09-05 Thread Deepayan Sarkar
On 9/5/06, Richard M. Heiberger <[EMAIL PROTECTED]> wrote: > From: Prof Brian Ripley > > There is no '2.4.1', and your R-devel is not very recent. > > Apologies on the typo and the two-week old 2.4.0dev. > > I just downloaded >version 2.4.0 Under development (unstable) (2006-09-04 r39086) > > >

Re: [Rd] Two submitted packages

2006-09-05 Thread Deepayan Sarkar
On 9/5/06, Richard M. Heiberger <[EMAIL PROTECTED]> wrote: > Deepayan wrote: > > > > xyplot(y ~ x | a, > > >data=tmp, ylim=c(1.5,4.5), > > >par.settings = list(clip = list(panel = "off")), > > >layout=c(2,2)) > > > > I'm curious to know why this functionality is not enough.

[Rd] unexpected behaviour when defining a function

2006-09-11 Thread Deepayan Sarkar
Hi, I know S manuals used to warn against using the same names for a variable and a function, but I have never seen that cause problems in R, so I usually don't pay much attention to it. Which is why the following behaviour came as a surprise: > bar <- function() 1 > foo <- function(bar = bar())

Re: [Rd] unexpected behaviour when defining a function

2006-09-12 Thread Deepayan Sarkar
On 9/11/06, Prof Brian Ripley <[EMAIL PROTECTED]> wrote: > On Mon, 11 Sep 2006, Deepayan Sarkar wrote: > > > Hi, > > > > I know S manuals used to warn against using the same names for a > > variable and a function, but I have never seen that cause problems i

[Rd] changes in upcoming lattice

2006-09-14 Thread Deepayan Sarkar
Hi, there will be some fairly major changes in the lattice that will get released with R 2.4.0. A first version is now available on CRAN, at http://cran.r-project.org/src/contrib/2.4.0/Recommended/lattice_0.14-3.tar.gz Although there is a dependency on R 2.4, the package passes R CMD check on 2.

[Rd] An update method for lists?

2006-09-15 Thread Deepayan Sarkar
Hi, since lattice uses nested lists in various situations, it has had an unexported function called updateList for a while, which looks like > lattice:::updateList function (x, val) { if (is.null(x)) x <- list() if (!is.list(x)) stop("x must be NULL or a list") if (!is

Re: [Rd] An update method for lists?

2006-09-15 Thread Deepayan Sarkar
On 9/15/06, Martin Maechler <[EMAIL PROTECTED]> wrote: > >>>>> "DeepS" == Deepayan Sarkar <[EMAIL PROTECTED]> > >>>>> on Fri, 15 Sep 2006 12:22:15 -0700 writes: > > DeepS> Hi, since lattice uses nested lists in variou

Re: [Rd] An update method for lists?

2006-09-18 Thread Deepayan Sarkar
On 9/15/06, Deepayan Sarkar <[EMAIL PROTECTED]> wrote: > On 9/15/06, Martin Maechler <[EMAIL PROTECTED]> wrote: > > >>>>> "DeepS" == Deepayan Sarkar <[EMAIL PROTECTED]> > > >>>>> on Fri, 15 Sep 2006 12:22:15 -0700

Re: [Rd] An update method for lists?

2006-09-18 Thread Deepayan Sarkar
On 9/18/06, Gabor Grothendieck <[EMAIL PROTECTED]> wrote: > It would be nice if the .Rd file had one or more examples > since its not that easy to otherwise understand what it > does. Regards. Added now, although it's not very realistic. Deepayan __ R

Re: [Rd] An update method for lists?

2006-09-19 Thread Deepayan Sarkar
back, with a possible implementation: https://stat.ethz.ch/pipermail/r-devel/2006-March/036696.html Again, the main question is whether it makes sense to introduce this in `one of the base packages'. -Deepayan > On 9/18/06, Deepayan Sarkar <[EMAIL PROTECTED]> wrote: > > On 9/15/0

Re: [Rd] newly introduced lattice bug

2006-09-30 Thread Deepayan Sarkar
On 9/30/06, Richard M. Heiberger <[EMAIL PROTECTED]> wrote: > > library(lattice) > > xyplot(rnorm(10) ~ rnorm(10) | factor(1:10), layout=c(2,3)) > > version >_ > platform i386-pc-mingw32 > arch i386 > os mingw32 > system i386, mingw32 > status

[Rd] warnings with plot=FALSE in hist.default

2006-10-11 Thread Deepayan Sarkar
Hi, the NEWS for R 2.4.0 has: o hist(*, plot = FALSE) now warns about unused arguments. I'm sure this does some good for someone somewhere, but it causes lattice::histogram() calls to produce warnings now in certain cases, which I need to fix. However, ?hist makes no mention of this new st

Re: [Rd] Getting hold of a package's environment from C code

2006-10-22 Thread Deepayan Sarkar
On 10/22/06, Duncan Murdoch <[EMAIL PROTECTED]> wrote: > On 10/22/2006 3:56 PM, Deepayan Sarkar wrote: > > Hi, > > > > I have a package where I'm calling an R function (say "foo") from C > > code. "foo" is in the same package, but is not e

[Rd] Getting hold of a package's environment from C code

2006-10-22 Thread Deepayan Sarkar
Hi, I have a package where I'm calling an R function (say "foo") from C code. "foo" is in the same package, but is not exported. I construct the call using lang1(install("foo")), but to eval it I need the package's environment. Is there a way to do this? Passing the correct environment through .C

Re: [Rd] Getting hold of a package's environment from C code

2006-10-23 Thread Deepayan Sarkar
On 10/23/06, Luke Tierney <[EMAIL PROTECTED]> wrote: > On Mon, 23 Oct 2006, Prof Brian Ripley wrote: > > > As far as I can tell from the original post, Deepayan asked for a way > > to find a package's namespace environment (rather than the package > > environment, not ), so the subject line is > >

[Rd] ANN/RFC: package providing TAB completion for readline-based R

2006-10-23 Thread Deepayan Sarkar
Announcement: (For those every-once-in-a-while occasions when you run R from a terminal instead of Emacs, and then wish something would happen when you hit TAB...) Last week, I started looking at the GNU Readline documentation to see if I could figure out how to use it for command completion with

Re: [Rd] ANN/RFC: package providing TAB completion for readline-based R

2006-10-23 Thread Deepayan Sarkar
On 10/23/06, Dirk Eddelbuettel <[EMAIL PROTECTED]> wrote: > > On 23 October 2006 at 16:51, Deepayan Sarkar wrote: > [... nice announcement trimmed ...] > | There are a couple of things about which I would like some advice: > | > | (1) The package currently contains a ve

Re: [Rd] ANN/RFC: package providing TAB completion for readline-based R

2006-10-24 Thread Deepayan Sarkar
On 10/24/06, Prof Brian Ripley <[EMAIL PROTECTED]> wrote: > On Tue, 24 Oct 2006, Uwe Ligges wrote: [...] > >> Questions: > >> > >> There are a couple of things about which I would like some advice: > >> > >> (1) The package currently contains a very rudimentary configure script > >> which stops ins

Re: [Rd] how to determine if a function's result is invisible

2006-10-25 Thread Deepayan Sarkar
On 10/25/06, Marc Schwartz <[EMAIL PROTECTED]> wrote: > On Wed, 2006-10-25 at 20:14 -0400, Gabor Grothendieck wrote: > > Suppose we have a function such as the following > > > > F <- function(f, x) f(x)+1 > > > > which runs function f and then transforms it. I would like the > > corresponding func

[Rd] typo in hist.Rd (PR#9355)

2006-11-10 Thread deepayan . sarkar
'Freedman' is misspelled (as 'Friedman') in src/library/graphics/man/hist.Rd. As a result, the help page currently implies that breaks = "Fried" is a valid argument to hist, but results in an error: > hist(rnorm(100), breaks = "Fried") Error in match.arg(tolower(breaks), c("sturges", "fd", "free

[Rd] unwarranted warning from hist.default (PR#9356)

2006-11-10 Thread deepayan . sarkar
> x = rnorm(100) > b = seq(min(x) - 1, max(x) + 1, length = 11) > b [1] -3.4038769 -2.7451072 -2.0863375 -1.4275678 -0.7687980 -0.1100283 [7] 0.5487414 1.2075111 1.8662808 2.5250506 3.1838203 > > invisible(hist(x, breaks = b, include.lowest = TRUE, plot = FALSE)) Warning message: argument 'i

Re: [Rd] unwarranted warning from hist.default (PR#9356)

2006-11-10 Thread deepayan . sarkar
On 10 Nov 2006 23:39:14 +0100, Peter Dalgaard <[EMAIL PROTECTED]> wrote: > [EMAIL PROTECTED] writes: > > > > x = rnorm(100) > > > b = seq(min(x) - 1, max(x) + 1, length = 11) > > > b > > [1] -3.4038769 -2.7451072 -2.0863375 -1.4275678 -0.7687980 -0.1100283 > > [7] 0.5487414 1.2075111 1.8662808

Re: [Rd] bug in lrect [lattice]?

2006-11-13 Thread Deepayan Sarkar
On 11/13/06, Ben Bolker <[EMAIL PROTECTED]> wrote: > > In lattice version 0.14-11 (2006/10/23), there appears > to be a small bug in lrect [lattice]: border is set to NULL > accidentally. Yes, this bug was probably introduced while trying to fix PR#9307. But that was three whole weeks ago. Run upd

Re: [Rd] Source references from the parser

2006-11-25 Thread Deepayan Sarkar
On 11/25/06, Duncan Murdoch <[EMAIL PROTECTED]> wrote: > I have just committed some changes to R-devel (which will become R 2.5.0 > next spring) to add source references to parsed R code. Here's a > description of the scheme: > > The design is done through 2 old-style classes. > > "srcfile" corres

Re: [Rd] Source references from the parser

2006-11-25 Thread Deepayan Sarkar
On 11/25/06, Duncan Murdoch <[EMAIL PROTECTED]> wrote: > On 11/25/2006 3:12 PM, Deepayan Sarkar wrote: > > On 11/25/06, Duncan Murdoch <[EMAIL PROTECTED]> wrote: > >> I have just committed some changes to R-devel (which will become R 2.5.0 > >> next sprin

Re: [Rd] Source references from the parser

2006-11-26 Thread Deepayan Sarkar
On 11/25/06, Duncan Murdoch <[EMAIL PROTECTED]> wrote: > On 11/25/2006 11:00 PM, Deepayan Sarkar wrote: > > On 11/25/06, Duncan Murdoch <[EMAIL PROTECTED]> wrote: > >> On 11/25/2006 3:12 PM, Deepayan Sarkar wrote: > >>> On 11/25/06, Duncan Murdoch <

Re: [Rd] error in xYplot from Hmisc. (PR#9389)

2006-11-27 Thread deepayan . sarkar
On 11/27/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Hello, > > I was simply doing a graph, but an error repeatdly occurs. Any idea why? > (this only happens in the latest R version, I am a windows user). What version is that exactly? Please give the output of sessionInfo(), since "the late

[Rd] order of levels in interaction()

2006-11-30 Thread Deepayan Sarkar
Hi, ?interaction says: See Also: 'factor'; ':' where 'f:g' is the similar to 'interaction(f, g, sep=":")' when 'f' and 'g' are factors. This is not quite true (or maybe 'similar' is the operative word), since: > f <- factor(1:3); g <- factor(letters[1:3]) > levels(f:g) [1] "1:a" "1:

Re: [Rd] order of levels in interaction()

2006-11-30 Thread Deepayan Sarkar
On 11/30/06, Prof Brian Ripley <[EMAIL PROTECTED]> wrote: > On Thu, 30 Nov 2006, Deepayan Sarkar wrote: > > > Hi, > > > > ?interaction says: > > > > See Also: > > > > 'factor'; ':' where 'f:g' is the similar to

Re: [Rd] empty pages in xyplot (2.4.0)

2006-12-08 Thread Deepayan Sarkar
On 12/8/06, Vladimir Dergachev <[EMAIL PROTECTED]> wrote: > > In 2.4.0 (and SVN) I am seeing xyplot creating empty pages for high page > counts in layout - contrary to the manual which says high page counts should > not matter. Everything works fine in 2.3.1. > > library("lattice") > A<-data.frame(

[Rd] apropos changes in r-devel: intended feature or bug?

2006-12-21 Thread Deepayan Sarkar
The old apropos started with: if (!is.character(what)) what <- as.character(substitute(what)) The new one has: if (character.only) stopifnot(is.character(what)) else what <- as.character(substitute(what)) i.e., the check for is.character(what) is missing. This has the

Re: [Rd] apropos changes in r-devel: intended feature or bug?

2006-12-22 Thread Deepayan Sarkar
On 12/22/06, Martin Maechler <[EMAIL PROTECTED]> wrote: > >>>>> "DeepS" == Deepayan Sarkar <[EMAIL PROTECTED]> > >>>>> on Thu, 21 Dec 2006 22:07:27 -0800 writes: > > DeepS> The old apropos started with: if > DeepS>

Re: [Rd] request for discussion on lonely doc patch suggestion

2025-03-25 Thread Deepayan Sarkar
I like kompare very much, but I think it's Linux only. https://apps.kde.org/kompare/ -Deepayan On Tue, 25 Mar 2025 at 01:01, J C Nash wrote: > For Linux users, meld is quite nice for side by side editing, though I've > never tried using it for > display. Just checking now suggests it isn't obv

<    1   2