[Rd] image (PR#11493)

2008-05-21 Thread jms2003
Full_Name: Joseph Scandura Version: 2.7.0 OS: Mac 10.5 Submission from: (NULL) (140.251.50.94) Since updating to 2.7.0 all plots that use image() (heatmap, etc...) now draw visible boxes around each rectangle in the plot. When there are many rectangles the surrounding color becomes dominant over

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

2008-05-21 Thread Martin Maechler
1) If you need some help, *PLEASE* use the R-help mailing list. 2) Sending your e-mail more than once (you sent it 3 times!) to the same mailing list of hundreds of subscribers is considered very impolite. Martin Maechler, ETH Zurich, R-devel List manager > "KR\" == Kurapati, Ravich

Re: [Rd] interrupting native code

2008-05-21 Thread Kjell Konis
I have a structure from a library that I am using an external pointer to keep track of. The methods in this library (lp_solve) have the facility to call a function periodically and I would like to use R_ProcessEvents. The problem is that if an interrupt is requested then R returns to the co

[Rd] \S4method in combination with "[" and "[<-"

2008-05-21 Thread Matthias Kohl
Dear developers, We want to use "\S4method" to document new S4-methods for "[" and "[<-". We use this for other functions/methods and it works without any problem, but in case of "[" and "[<-" we didn't manage to bring this to work. The problem occurs in the development version of our packag

Re: [Rd] \S4method in combination with "[" and "[<-"

2008-05-21 Thread Robin Hankin
Hello Matthias I too struggled with this for a long long time. I'm not sure if this answers your question, but Brobdingnag_1.1-2.tar.gz is clean under R-2.7.0, and this package includes S4 methods for extract/replace. Extract.Rd in the package doesn't use \S4method; also, I couldn't figure out

Re: [Rd] \S4method in combination with "[" and "[<-"

2008-05-21 Thread Matthias Kohl
Hello Robin, thanks for your solution! Other solutions I know: 1. In the Matrix package - version 0.999375-9. See Subassign-methods.Rd and Xtrct-methods.Rd. 2. The other possibility, which we use in some situations and which for instance is used in package Biobase (e.g., S4-class eSet), is to

Re: [Rd] \S4method in combination with "[" and "[<-"

2008-05-21 Thread Sklyar, Oleg (MI London)
For the $ operator defined as S4 method, \S4method does not work as well. However, the following clauses let it through the check w/o warnings or errors: \alias{$,character-method} \alias{$<-,character,ANY-method} \usage{ ## S4 methods for signature 'MyClass,character' x$name x$name <

Re: [Rd] \S4method in combination with "[" and "[<-"

2008-05-21 Thread Kurt Hornik
> Matthias Kohl writes: > Dear developers, > We want to use "\S4method" to document new S4-methods for "[" and "[<-". > We use this for other functions/methods and it works without any > problem, but in case of "[" and "[<-" we didn't manage to bring this to > work. > The problem occurs in

Re: [Rd] \S4method in combination with "[" and "[<-"

2008-05-21 Thread Matthias Kohl
Dear Kurt, I tried your proposal. It also led to Bad \usage lines found in documentation object 'Subsetting-methods': \S4method{[}{SeqDataFrames}(x, i, j, k, drop = FALSE) \S4method{[}{SeqDataFrames}(x, i, j, k) <- value My sessionInfo: R version 2.7.0 Patched (2008-05-20 r45741) i686-pc-lin

Re: [Rd] image (PR#11493)

2008-05-21 Thread Henrik Bengtsson
On Tue, May 20, 2008 at 5:05 PM, <[EMAIL PROTECTED]> wrote: > Full_Name: Joseph Scandura > Version: 2.7.0 > OS: Mac 10.5 > Submission from: (NULL) (140.251.50.94) > > > Since updating to 2.7.0 all plots that use image() (heatmap, etc...) now draw > visible boxes around each rectangle in the plot.

Re: [Rd] image (PR#11493)

2008-05-21 Thread Simon Urbanek
On May 20, 2008, at 8:05 PM, [EMAIL PROTECTED] wrote: Full_Name: Joseph Scandura Version: 2.7.0 OS: Mac 10.5 Submission from: (NULL) (140.251.50.94) Since updating to 2.7.0 all plots that use image() (heatmap, etc...) now draw visible boxes around each rectangle in the plot. When there are

Re: [Rd] interrupting native code

2008-05-21 Thread Luke Tierney
If you are using an external pointer you can register a finalizer that does the cleanup at gc time in case of an abnormal exit. Otherwise you should for now be able to use R_ToplevelExec tigether with R_CheckUserInterrupt as I suggested previously. Best, luke On Wed, 21 May 2008, Kjell Konis w

[Rd] Problem with R or fBasics Package (PR#11495)

2008-05-21 Thread cenap
I have a problem wirh R: After loding fBasics packages log funtion doesn't work like as fallow: Cenap ERDEMIR Hacettepe University Turkey > log(20) [1] 2.995732 > local({pkg <- select.list(sort(.packages(all.available = TRUE))) + if(nchar(pkg)) library(pkg, character.only=TRUE)}) Loading required

[Rd] table(factor(x), exclude=NULL) (PR#11494)

2008-05-21 Thread David . Duffy
Hi. I don't know if this a bug or just annoying to me: > x <- c(1,2,3,NA) > table(x, exclude=NULL) x 123 1111 > table(factor(x), exclude=NULL) 1 2 3 1 1 1 I don't think many people use factor(x, exclude=NULL): it is not the default handling of character data by re

Re: [Rd] Problem with R or fBasics Package (PR#11495)

2008-05-21 Thread Yohan Chalabi
"CET" == [EMAIL PROTECTED] on Wed, 21 May 2008 10:20:09 +0200 (CEST) CET> I have a problem wirh R: After loding fBasics packages log CET> funtion doesn't CET> work like as fallow: CET> Cenap ERDEMIR CET> Hacettepe University CET> Turkey Thanks for your report, I will

Re: [Rd] Problem with R or fBasics Package (PR#11495)

2008-05-21 Thread ripley
This indicates that you need to reinstall your packages for the current version of R (and you have not even told us what that is, nor your OS). It is not a bug in R, and something frequently answered on the R-help mailing list. On Wed, 21 May 2008, [EMAIL PROTECTED] wrote: > I have a problem w

[Rd] doc buglet / system method

2008-05-21 Thread Paul Roebuck
Under Value section for system: If the command could not be run for any reason, the value is 256*127 = 52512. ^ should be 32512 R version 2.7.0 Patched (2008-05-20 r45743) -- SIGSIG -- signature too long (core dumped) ___

Re: [Rd] Problem with R or fBasics Package (PR#11495)

2008-05-21 Thread Sklyar, Oleg (MI London)
It's not a problem with R, it's just fBasics is buggy! It overrides log and round. Please contact the maintainer of the fBasics package. Dr Oleg Sklyar Technology Group Man Investments Ltd +44 (0)20 7144 3803 [EMAIL PROTECTED] > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EM

[Rd] rawToChar(raw(0))

2008-05-21 Thread Henrik Bengtsson
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 would prefer that an empty input vector returns an empty output vector. Same shoul

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

[Rd] rbind.data.frame drops attributes for factor variables

2008-05-21 Thread Erik Iverson
Dear R-devel - I noticed that when I rbind two data.frames together, factor variables lose their attributes in the resulting data.frame while numeric variables do not. As an example, create two data.frames, t1 and t2, with two variables each. Give each variable an attribute called "label",

Re: [Rd] image (PR#11493)

2008-05-21 Thread Duncan Murdoch
Simon Urbanek wrote: On May 20, 2008, at 8:05 PM, [EMAIL PROTECTED] wrote: Full_Name: Joseph Scandura Version: 2.7.0 OS: Mac 10.5 Submission from: (NULL) (140.251.50.94) Since updating to 2.7.0 all plots that use image() (heatmap, etc...) now draw visible boxes around each rectangle in t

Re: [Rd] image (PR#11493)

2008-05-21 Thread Duncan Murdoch
(Edited to add link to sample picture) Simon Urbanek wrote: On May 20, 2008, at 8:05 PM, [EMAIL PROTECTED] wrote: Full_Name: Joseph Scandura Version: 2.7.0 OS: Mac 10.5 Submission from: (NULL) (140.251.50.94) Since updating to 2.7.0 all plots that use image() (heatmap, etc...) now draw