similar to: Wierd problem comparing numeric values and list using == (PR#1073)

Displaying 20 results from an estimated 30000 matches similar to: "Wierd problem comparing numeric values and list using == (PR#1073)"

2002 Jan 25
3
make check fails when R_HOME env var set (PR#1284)
When the R_HOME environment variable is set, R issues a warning messages when it starts up. When doing 'make check' this causes the check for eval-etc.R to fail: [...] make[3]: Leaving directory `/Volumes/app/R/src/R-1.4.0_patched_2002-01-24/tests' running strict specific tests make[3]: Entering directory `/Volumes/app/R/src/R-1.4.0_patched_2002-01-24/tests' running code in
2003 May 22
4
grep, gsub, sub have problems with NA values (PR#3078)
In a string context, grep, gsub, sub are improperly treating NA (missing) as the string "NA", and returning unexpected results > grep("A", c(NA,"NA")) [1] 1 2 # expected: # [1] 2 > gsub("A", "X", c(NA,"NA")) [1] "NX" "NX" # expected # [1] NA "NX" > sub("A", "X",
2001 Aug 27
1
Wierd problem comparing numeric values and list using == (PR#1076)
Peter Dalgaard BSA wrote: > > gregory_r_warnes@groton.pfizer.com writes: > > > Under R 1.3.0 on Solaris and Windows NT there seems to be a bug in == when > > applied to elements of a list, particularly when one of the elements is of > > mode integer: > > > > > list(1) == list(1) > > [1] FALSE > > > 1 == list(1) > >
2003 Dec 09
3
latex problem with \preformatted (PR#5645)
This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_000_01C3BE9C.3FB5BC1A Content-Type: text/plain; charset="iso-8859-1" There is a small bug in the implementation of \preformatted in R 1.8.0: The closing "\end{verbatim}" needs to be followed by a newline, since my latex
2002 Feb 07
2
FW: layout and piechart diameter problem (PR#1300)
Third try... > -----Original Message----- > From: Warnes, Gregory R > Sent: Tuesday, February 05, 2002 4:12 PM > To: 'R-bugs' > Subject: layout and piechart diameter problem > > > I've been using layout to create some graphics pages which include pie > charts. (NB: No piechart arguments please, the main chart on the page is > a proper bar chart
2002 Oct 09
1
problems with missing values created by conversion using as.matri (PR#2130)
> version _ platform sparc-sun-solaris2.8 arch sparc os solaris2.8 system sparc, solaris2.8 status major 1 minor 6.0 year 2002 month 10 day 01 language R
2001 Nov 14
3
rpart:plotcp doesn't allow ylim argument (PR#1171)
Full_Name: Gregory R. Warnes Version: R 1.3.1 OS: Solaris 2.8 Submission from: (NULL) (192.77.198.200) rpart library version 3.1-2 Error message: > plotcp(fit.thirds.1,ylim=c(0.7,1.5)); Error in plot.default(ns, xerror, axes = FALSE, xlab = "cp", ylab = "X-val Relative Error", : formal argument "ylim" matched by multiple actual arguments > This can be
2002 Apr 10
5
Funny characters in x11 window title (PR#1451)
In R-1.5.0pre (2002-04-08) on Solaris 2.6, the window that X11() creates has a title like: R Graphics: Device 2 (ACTIVE) o iyeP )( y except the funny characters at the end have umlauts and other accents (i.e. extended ASCII characters), and they may be different each time X11() is invoked. There is no loss of functionality; it just looks a little ugly. I saw this behavior in R-1.3.?, it
2004 Mar 25
2
Odd error in R CMD check (PR#6695)
I'm seeing an odd error message when running R CMD check gregmisc with R-1.9.0beta_2004-03-22.tar.gz * checking package dependencies ... WARNING Error in switch(type, code = c("R", "r", "S", "s", "q"), data = c("R", : Argument "type" is missing, with no default Execution halted See the information on DESCRIPTION
2001 Jun 14
1
expand.model.frame() fails when subset is specified (PR# 979)
> Thanks. This is also present in the current pre-1.3.0. Your patch > looks correct, but I wonder if the default for "enclos" > should not be > environment(formula(model)) rather than parent.frame() as it is now? > > (And wouldn't it be better named "envir"?) Peter, I was merely making an incremental improvement, your suggestions provide
2002 Apr 09
1
Problem handling NA indexes for character matrixes (PR#1447)
In a package I've been developing for manipulating genetic data I discovered a problem when indexing into character arrays using NA's: Create a character matrix and a numeric matrix > cmat <- matrix( letters[1:4], ncol=2, nrow=2) > nmat <- matrix( 1:4, ncol=2, nrow=2) Create an index vector containing an NA value > indvec <- c(1,2,NA) Indexing works fine for both
2003 Sep 10
3
Off Topic: Good reference for sample size calculations
Hi All, This is off topic, but we're drawing a blank here.. > In a presentation I'll be giving next week, I want to include a reference > to a good general text on computing sample sizes for standard experiments. > Can anyone recommend a good book to use for this purpose? > > Thanks, > > -Greg LEGAL NOTICE\ Unless expressly stated otherwise, this
2002 Oct 31
1
Re: gregmisc version 0.7.3 now available
Dear Greg, Thanks for the new release. The decomposition of the SSQ is just what I need! Regards, Martin. Martin Hoyle, School of Life and Environmental Sciences, University of Nottingham, University Park, Nottingham, NG7 2RD, UK Webpage: http://myprofile.cos.com/martinhoyle >>> gregory_r_warnes at groton.pfizer.com 10/30/02 07:16PM >>> Version 0.7.3 of the gregmisc package
2004 Oct 14
2
Problem with R version 2.0.0 (and patched)
What I am doing : create a simple correlation matrix on 41 variables, then plot an heatmap with this program : library(gplots) mat<-cor(temp.alln,use="pairwise.complete.obs") hm<-heatmap.2(mat,symm=T) HM<-format(round(mat[hm[[1]],hm[[2]]],2)) library(RColorBrewer) brewer.pal(10,"Spectral")->mp heatmap.2(mat, symm = TRUE, col = mp,
2001 Sep 15
1
Tk version of data.entry?
Has anyone taken the time to put together a Tk version of the data.entry() function? -Greg LEGAL NOTICE Unless expressly stated otherwise, this message is confidential and may be privileged. It is intended for the addressee(s) only. Access to this E-mail by anyone else is unauthorized. If you are not an addressee, any disclosure or copying of the contents of this E-mail or any action taken (or
2001 May 23
3
RE^2: New generic functions in "R base" {was `truncate'}
> From: Martin Maechler [mailto:maechler@stat.math.ethz.ch] > Sent: Friday, May 18, 2001 11:30 AM > To: gregory_r_warnes@groton.pfizer.com > Subject: RE^2: [Rd] New generic functions in "R base" {was `truncate'} > [...] > Apropos ci() : > > There's the very generally useful confint() function in MASS. > Since MASS will become one of the
2003 Oct 02
1
warnings() generates error if there never were any (PR#4389)
This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_000_01C388B0.D441A780 Content-Type: text/plain; charset="iso-8859-1" In debugging a long-running function where I occasionally call warnings() to write out any warnings that have occurred, I discovered that calling warnings() before
2004 Jan 20
2
ChangeLog for R packages {was "Wish list"}
I've been using a cvs2cl.pl (http://www.red-bean.com/cvs2cl), a nice little perl script to auto-generate GNU-style changelogs from CVS log information. This site also has a proposed XML format for changelogs, and cvs2cl can optionally produce this instead. Finally, they have an XSLT sylesheet that will convert the XML changlong format into an HTML/XHTML page. How about we borrow this tool
2004 Jun 09
1
Add links to NEWS/ChangeLog to package pages
Just a thought: It would be nice to be able to review the NEWS and/or ChangeLog files for packages via the package web page on CRAN... -Greg Gregory R. Warnes Manager, Non-Clinical Statistics Pfizer Global Research and Development LEGAL NOTICE\ Unless expressly stated otherwise, this messag...{{dropped}}
2004 Mar 26
4
cbind/rbind fail on matrixes containing lists (PR#6702)
Today's R 1.9.0 beta: > m1 [,1] [,2] [,3] [,4] [1,] NA NA NA NA [2,] NA NA NA NA [3,] NA NA NA NA [4,] NA NA NA NA > class(m1[1,1]) [1] "list" > cbind(m1,m1) Error in cbind(...) : cannot create a matrix from these types > rbind(m1,m1) Error in rbind(...) : cannot create a matrix from these types > version _