similar to: problems with missing values created by conversion using as.matri (PR#2130)

Displaying 20 results from an estimated 9000 matches similar to: "problems with missing values created by conversion using as.matri (PR#2130)"

2004 May 24
1
as.matrix.data.frame() in R 1.9.0 converts to character when it should (?) convert to numeric
Conversion of a data frame to a matrix using as.matrix() when a column of the data frame is POSIXt and all other columns are numeric has changed in R 1.9.0 from R 1.8.1. The new behavior issues a warning message and converts to a character matrix. In R 1.8.1, such an object was converted to a numeric matrix. Here is an example. #### R 1.9.0 #### > foo <- data.frame(
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 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
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 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 _
2001 Jun 14
1
expand.model.frame() fails when subset is specified (PR#979)
Full_Name: Gregory R. Warnes Version: 1.2.0, 1.2.3 OS: SunOS gsun124 5.8 Generic_108528-03 sun4u sparc SUNW,Ultra-5_10 Submission from: (NULL) (12.18.36.49) When using expand.model.frame on a model that specifies a subset selection, an error is generated on the variable used for the subset selection. Example: > data <- data.frame(x=1:10,y=1:10,z=1:10,m=1:10) > model <- lm( y ~
2002 Feb 07
2
Problems sending email to r-bugs
Hi all, I've twice tried to send a bug report to r-bugs@biostat.ku.dk , however, the bug report has not shown up in the database, nor does it appear to have been copied to R-devel. One message was sent Tue Feb-05-2002 at 4:12pm EST, I resent at Wed Feb-06-2002 at 12:52 EST. I haven't recieved any error messages or warnings from the mail server, so I'm not sure what is wrong. Is
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",
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 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
2003 Jul 07
0
feature enhancement request & patch: dev.control(displaylist='en (PR#3424)
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_01C344B0.28BC0750 Content-Type: text/plain; charset="windows-1252" Summary: Currently R provides > dev.control(displaylist='inhbit') to turn *off* the recording of graphics operations in a device, but there is no
2004 Feb 27
1
Authentication problem when using LDAP
A colleague has seen a problem (with Samba 3.0), in using LDAP. A very simple version of the problem is as follows, where he tries to authenticate a user "grw" > > I am almost there... I get the following when I do a simple test to > > find the user 'grw' by attempting to change the password (even > > though I do not want Samba to change the pw, this
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 Sep 20
0
problem with make on sparc solaris 8 ( R-1.6.0beta_2002-09-18.tar.gz)
This is something that I have not seen in earlier beta versions of 1.6.0: . . . ts.plot text html latex example ts.union text html latex example tsSmooth text html latex tsdiag text html latex example R_LIBS= ../../../bin/R CMD INSTALL ERROR: no packages
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,
2010 May 13
1
GAM, GAMM and numerical integration, help please
I am trying to apply methods used by Chaloupka & Limpus (1997) ( http://www.int-res.com/articles/meps/146/m146p001.pdf) to my own turtle growth data. I am having trouble with two things... 1) After the GAM is fit, the residuals are skewed. >m1 <- gam(growth~s(mean.size, bs="cr")+s(year,bs="cr",k=7)+s(cohort,bs="cr")+s(age,bs="cr"), data=grow,
2002 Jun 18
2
Problems with url/download and http_proxy
I would like to use the getBioC.R script from http://www.bioconductor.org/getBioC.R to install the biobase packages. Unfortunately, url() and download.file() die when trying to talk to my proxy: > getBioC("exprs") connect: Cannot assign requested address unable to connect to 'gproxy1.pfizer.com'. connect: Cannot assign requested address unable to connect to
2002 Jun 18
2
Problems with url/download and http_proxy
I would like to use the getBioC.R script from http://www.bioconductor.org/getBioC.R to install the biobase packages. Unfortunately, url() and download.file() die when trying to talk to my proxy: > getBioC("exprs") connect: Cannot assign requested address unable to connect to 'gproxy1.pfizer.com'. connect: Cannot assign requested address unable to connect to
2004 May 25
3
problems with plot.formula
With the recent changes in R 1.9.x, it is now impossible to properly call plot on a formula() where the formula is provided via a named first argument. On today's R-1.9.1-alpha: > x <- 1:10 > y <- rnorm(x,0.25) > > plot(x~y) > > plot(x=x~y) Error in terms.formula(formula, data = data) : argument is not a valid model > > plot(formula=x~y) Error in
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