search for: subsripting

Displaying 6 results from an estimated 6 matches for "subsripting".

Did you mean: subscripting
2005 Sep 30
3
Subscripting fails if name of element is "" (PR#8161)
...the name is a string of length zero). Best regards Jens Oehlschl?gel > p <- 1:3 > names(p) <- c("a","", as.character(NA)) > p a <NA> 1 2 3 > > for (i in names(p)) + print(p[[i]]) [1] 1 [1] 2 [1] 3 > > # error 1: vector subsripting with "" fails in second element > for (i in names(p)) + print(p[i]) a 1 <NA> NA <NA> 3 > > # error 2: print method for list shows no name for second element > p <- as.list(p) > > > for (i in names(p)) + print(p[[i]]) [1] 1 [1] 2 [1] 3 >...
2007 Dec 12
1
upgrade to 1.1 and mail location
I recently upgraded from 1.0.8 to 1.1-11 the only thing that was changed in the config file was the new syntax for mail location. default_mail_env = mbox:~/:INBOX=~/mbox to mail_location = mbox:~/:INBOX=~/mbox now some imap clients, like squirrellmail and pine have difficulties writting to Sent, Draft and sent-mail folders. In all cases the folders are visible and are present in
2009 Sep 02
1
problem in loop
Hi R-users, I have a problem for updating the estimates of correlation coefficient in simulation loop. I want to get the matrix of correlation coefficients (matrix, name: est) from geese by using loop(500 times) . I used following code to update, nsim<-500 est<-matrix(ncol=2, nrow=nsim) for(i in 1:nsim){ fit <- geese(x ~ trt, id=subject, data=data_gee, family=binomial,
2013 Jun 05
0
Survival aareg problem
...ction(x, ..., drop=FALSE) { if (!inherits(x, 'aareg')) stop ("Must be an aareg object") i <- ..1 if (is.matrix(x$coefficient)) { x$coefficient <- x$coefficient[,i, drop=drop] x$tweight <- x$tweight[,i,drop=drop] } else stop("Subsripting impossible, coefficient component not a matrix") if (!is.null(x$dfbeta)){ x$dfbeta <- x$dfbeta[,i,,drop=drop] x$test.var2 <- x$test.var2[i,i,drop=drop] } x$test.statistic <- x$test.statistic[i, drop=drop] x$test.var <- x$test.var[i,i,drop=drop...
2003 Apr 22
1
cifs samba mailing list
For two days now I've tried for two days now to get cifs working on a redhat 9.0 2.4.20 based linux box. I followed the instructions given at http://de.samba.org/samba/Linux_CIFS_client.html, i.e. compiling cifs-0.6.8 and mount.cifs rev. 1.2.2.1. I successfully loaded the cifs.o as a module and following the given examples I tried: [root@r151-101 cifs]# /sbin/mount.cifs //raid/demo
2001 Mar 05
3
xgobi/ggobi
> From: Ko-Kang at xtra.co.nz > Date: Mon, 5 Mar 2001 23:25:00 +1300 > > This might be better discussed on the ggobi help list, but I failed to > > subscribe to that as mail to ggobi.org is refused .... > > Yes I tried to subscribe to the list a few weeks ago and it refused my > subsription somehow... I think if you use ggobi-help-request at franz.stat.wisc.edu it