[Rd] Destructive str(...)?

2004-10-29 Thread Simon Urbanek
I have encountered a strange behavior of the str function - it seems to modify the object that is displayed. Probably I'm using something unsupported (objects consisting just of an external reference), but still I'm curious as of why this happens. I create (in C code) EXTPTRSXP and associate a

Re: [Rd] (inappropriate) manipulation of expression objects causes segfault (PR#7326)

2004-10-29 Thread Peter Dalgaard
[EMAIL PROTECTED] writes: > > foo <- expression(alpha, beta, gamma) > > foo[2] > expression(beta) > > foo[2] <- NA > > foo ## or str(foo) > Segmentation fault > > (Same behaviour in R 1.9.1) > > 'foo[[2]] <- NA' works fine, though. Right. The NA is not important; foo[2] <- 1 crashes R just as e

[Rd] (inappropriate) manipulation of expression objects causes segfault (PR#7326)

2004-10-29 Thread deepayan
> version _ platform i686-pc-linux-gnu arch i686 os linux-gnu system i686, linux-gnu status Under development (unstable) major2 minor1.0 year 2004 month10 day 25 language R > > foo <- expression(alpha, beta, gamma) > foo[2] expression(beta) > foo[2] <- N

Re: [Rd] (PR#7320) Internal function isUME() in findGeneric() is

2004-10-29 Thread jmc
Jeffrey J. Hallman wrote: >OK, I looked at the documentation and you're right about that. However, >I'm curious about why the first argument to UseMethod is ever necessary. >Is there ever a good reason for it to be something other than the name >of the calling function? (Wouldn't that lead to co

Re: [Rd] (PR#7320) Internal function isUME() in findGeneric() is wrong

2004-10-29 Thread John Chambers
Jeffrey J. Hallman wrote: OK, I looked at the documentation and you're right about that. However, I'm curious about why the first argument to UseMethod is ever necessary. Is there ever a good reason for it to be something other than the name of the calling function? (Wouldn't that lead to confusi

Re: [Rd] (PR#7320) Internal function isUME() in findGeneric() is wrong

2004-10-29 Thread Prof Brian Ripley
On Fri, 29 Oct 2004, Jeffrey J. Hallman wrote: > OK, I looked at the documentation and you're right about that. However, > I'm curious about why the first argument to UseMethod is ever necessary. > Is there ever a good reason for it to be something other than the name > of the calling function?

Re: [Rd] (PR#7320) Internal function isUME() in findGeneric() is wrong

2004-10-29 Thread Jeffrey J. Hallman
OK, I looked at the documentation and you're right about that. However, I'm curious about why the first argument to UseMethod is ever necessary. Is there ever a good reason for it to be something other than the name of the calling function? (Wouldn't that lead to confusing code?) If not, why bot

Re: [Rd] R-exts.texi: suggestion for small change to Vignette section (PR#7323)

2004-10-29 Thread Friedrich . Leisch
> On Fri, 29 Oct 2004 12:47:46 +0200 (CEST), > S J Eglen (SJE) wrote: > I recently wrote a vignette, with the following at the top of the .Rnw > file: > %%\VignetteIndexEntry{How to use look up tables for h() functions} > %%\VignetteDepends{sjedmin, spatstat} > Using vExplorer(

Re: [Rd] R-exts.texi: suggestion for small change to Vignette section (PR#7325)

2004-10-29 Thread Friedrich . Leisch
> On Fri, 29 Oct 2004 12:47:46 +0200 (CEST), > S J Eglen (SJE) wrote: > I recently wrote a vignette, with the following at the top of the .Rnw > file: > %%\VignetteIndexEntry{How to use look up tables for h() functions} > %%\VignetteDepends{sjedmin, spatstat} > Using vExplorer(

Re: [Rd] wide spacing in plotmath() (PR#7324)

2004-10-29 Thread stefano iacus
This bug has been fixed. It is not a bug specific to the R internals but to the R.app version of the quartz device (R.app, i.e. the GUI, embeds the R.framework, i.e. R 2.0.0 in your case). You should look at http://www.economia.unimi.it/R to get the latest build of R.app or to get instructions

[Rd] Yahoo!©_¼¯¦Û°Ê¦^¨ç

2004-10-29 Thread benson200310
¿D¹B´Î²y®¼¤¤µØ ±ÀÂ˦¹¯¸ ¦³live¤å¦rª½¼·³á http://home.kimo.com.tw/benson200310 Original Message: X-YahooFilteredBulk: 218.170.47.143 X-Originating-IP: [218.170.47.143] Return-Path: <[EMAIL PROTECTED]> Received: from 218.170.47.143 (EHLO yahoo.com.tw) (218.170.47.143) by

[Rd] wide spacing in plotmath() (PR#7324)

2004-10-29 Thread martin . koechy
Full_Name: Martin Köchy Version: 2.0.0 OS: Mac OS X 10.3.5 Submission from: (NULL) (141.89.60.147) Using plotmath produces text whose spacing is very wide. I used the provided example x <- seq(-4, 4, len = 101) y <- cbind(sin(x), cos(x)) matplot(x, y, type = "l", xaxt = "n", main = expres

Re: [Rd] (PR#7323)R-exts.texi: suggestion for small change to Vignette section

2004-10-29 Thread Prof Brian Ripley
Is this not a bug in `vExplorer' (unexplained, but I believe in a BioC package -- by no means all R users have any experience of BioC)? Why change the docs to a limitation of some application not part of core R? I do wonder why you sent this to R-bugs and not to the maintainer of vExplorer.

Re: [Rd] R-exts.texi: suggestion for small change to Vignette section (PR#7323)

2004-10-29 Thread Kurt Hornik
> S J Eglen writes: > I recently wrote a vignette, with the following at the top of the .Rnw > file: > %%\VignetteIndexEntry{How to use look up tables for h() functions} > %%\VignetteDepends{sjedmin, spatstat} > Using vExplorer() on this function, I got an error from this part of > getVigInf

[Rd] R-exts.texi: suggestion for small change to Vignette section (PR#7323)

2004-10-29 Thread S . J . Eglen
I recently wrote a vignette, with the following at the top of the .Rnw file: %%\VignetteIndexEntry{How to use look up tables for h() functions} %%\VignetteDepends{sjedmin, spatstat} Using vExplorer() on this function, I got an error from this part of getVigInfo(): lines <- grep("^%[[:space:]