Re: [R] ave(x, y, FUN=length) produces character output when x is character

2014-12-25 Thread Jeff Newmiller
You have written a lot, Mike, as though we did not know it. You are not the only one with math and multiple computing languages under your belt. The point Bert made is that the concept that a matrix IS-A vector is not just an implementation detail in R... it helps the practitioner keep

[R] debugging R code and dealing with dependencies

2014-12-25 Thread Mike Miller
I just wanted to put this out there. It's just some of my observations about things that happen with R, or happened in this particular investigation. There were definitely some lessons for me in this, and maybe that will be true of someone else. The main thing I picked up is that it is good

Re: [R] ave(x, y, FUN=length) produces character output when x is character

2014-12-25 Thread Mike Miller
On Thu, 25 Dec 2014, Jeff Newmiller wrote: You have written a lot, Mike, as though we did not know it. You are not the only one with math and multiple computing languages under your belt. I'm not assuming that you and Bert don't know things, but I do expect to have a wider audience -- when

Re: [R] ave(x, y, FUN=length) produces character output when x is character

2014-12-25 Thread Mike Miller
On Thu, 25 Dec 2014, Mike Miller wrote: On Thu, 25 Dec 2014, Jeff Newmiller wrote: You have written a lot, Mike, as though we did not know it. You are not the only one with math and multiple computing languages under your belt. I'm not assuming that you and Bert don't know things, but I

Re: [R] ave(x, y, FUN=length) produces character output when x is character

2014-12-25 Thread peter dalgaard
On 25 Dec 2014, at 08:15 , Mike Miller mbmille...@gmail.com wrote: is.vector returns TRUE if x is a vector of the specified mode having no attributes other than names. It returns FALSE otherwise. So that means that a vector in R has no attributes other than names. Wrong. Read

[R] tcltk

2014-12-25 Thread Ivan Calandra
Dear useRs, I have just upgraded to R 3.1.2 for MacOS 10.6.8 (with the binary for Snow Leopard). Everything is fine except that I get an error when loading TclTk: library(tcltk) Error : .onLoad a échoué dans loadNamespace() pour 'tcltk', détails : appel : system2(otool, c(-L, shQuote(DLL)),

Re: [R] tcltk

2014-12-25 Thread Prof Brian Ripley
On 25/12/2014 14:26, Ivan Calandra wrote: Dear useRs, I have just upgraded to R 3.1.2 for MacOS 10.6.8 (with the binary for Snow Leopard). Rather belatedly Everything is fine except that I get an error when loading TclTk: library(tcltk) Error : .onLoad a échoué dans loadNamespace()

Re: [R] ave(x, y, FUN=length) produces character output when x is character

2014-12-25 Thread Mike Miller
On Thu, 25 Dec 2014, peter dalgaard wrote: On 25 Dec 2014, at 08:15 , Mike Miller mbmille...@gmail.com wrote: is.vector returns TRUE if x is a vector of the specified mode having no attributes other than names. It returns FALSE otherwise. So that means that a vector in R has no

Re: [R] debugging R code and dealing with dependencies

2014-12-25 Thread Uwe Ligges
This is a rather detailed analysis, thanks, but I think it should be send to the maintainer of the RFGLS package (CCing). Best, Uwe Ligges On 25.12.2014 10:04, Mike Miller wrote: I just wanted to put this out there. It's just some of my observations about things that happen with R, or

Re: [R] ave(x, y, FUN=length) produces character output when x is character

2014-12-25 Thread Duncan Murdoch
On 25/12/2014 1:57 PM, Mike Miller wrote: On Thu, 25 Dec 2014, peter dalgaard wrote: On 25 Dec 2014, at 08:15 , Mike Miller mbmille...@gmail.com wrote: is.vector returns TRUE if x is a vector of the specified mode having no attributes other than names. It returns FALSE otherwise. So

Re: [R] debugging R code and dealing with dependencies

2014-12-25 Thread Mike Miller
Thanks, but I was already in touch with Rob Kirkpatrick about it. We all work together at U Minnesota, or did until Rob went to VCU. Mike On Thu, 25 Dec 2014, Uwe Ligges wrote: This is a rather detailed analysis, thanks, but I think it should be send to the maintainer of the RFGLS package

Re: [R] ave(x, y, FUN=length) produces character output when x is character

2014-12-25 Thread Bert Gunter
On Thu, Dec 25, 2014 at 12:41 PM, Duncan Murdoch murdoch.dun...@gmail.com wrote: Would you say a cube contains a polygon, or a cube is a polygon? Neither, actually. I'd say a cube is a polyhedron or a square is a polygon. :-) But point taken, of course. Cheers, Bert Bert Gunter

Re: [R] ave(x, y, FUN=length) produces character output when x is character

2014-12-25 Thread Mike Miller
On Thu, 25 Dec 2014, Duncan Murdoch wrote: On 25/12/2014 1:57 PM, Mike Miller wrote: I do think I get what is going on with this, but why should I buy into this conceptualization? Why is it better to say that a matrix *is* a vector than to say that a matrix *contains* a vector? The latter

Re: [R] ave(x, y, FUN=length) produces character output when x is character

2014-12-25 Thread Duncan Murdoch
On 25/12/2014 3:59 PM, Bert Gunter wrote: On Thu, Dec 25, 2014 at 12:41 PM, Duncan Murdoch murdoch.dun...@gmail.com wrote: Would you say a cube contains a polygon, or a cube is a polygon? Neither, actually. I'd say a cube is a polyhedron or a square is a polygon. :-) But point taken,

Re: [R] ave(x, y, FUN=length) produces character output when x is character

2014-12-25 Thread Gabor Grothendieck
On Thu, Dec 25, 2014 at 1:57 PM, Mike Miller mbmille...@gmail.com wrote: I do think I get what is going on with this, but why should I buy into this conceptualization? Why is it better to say that a matrix *is* a vector than to say that a matrix *contains* a vector? The latter seems to be the

Re: [R] ave(x, y, FUN=length) produces character output when x is character

2014-12-25 Thread Mike Miller
On Thu, 25 Dec 2014, Mike Miller wrote: I was going to ask a question about it how to test that an object is a vector, but then I found this: is.vector() does not test if an object is a vector. Instead it returns TRUE only if the object is a vector with no attributes apart from names. Use

Re: [R] ave(x, y, FUN=length) produces character output when x is character

2014-12-25 Thread Bert Gunter
You persist in failing to read the docs! Moreover, neither Hadley Wickham, nor anyone else, is the authoritative source for R usage (other than for the (many!) packages he, himself has authored). R's Help pages and manuals -- and ultimately the source code -- are the only such source. ?factor

Re: [R] debugging R code and dealing with dependencies

2014-12-25 Thread David Winsemius
On Dec 25, 2014, at 1:04 AM, Mike Miller mbmille...@gmail.com wrote: I just wanted to put this out there. It's just some of my observations about things that happen with R, or happened in this particular investigation. There were definitely some lessons for me in this, and maybe that

Re: [R] debugging R code and dealing with dependencies

2014-12-25 Thread Mike Miller
On Thu, 25 Dec 2014, David Winsemius wrote: On Dec 25, 2014, at 1:04 AM, Mike Miller mbmille...@gmail.com wrote: I just wanted to put this out there. It's just some of my observations about things that happen with R, or happened in this particular investigation. There were definitely some

Re: [R] ave(x, y, FUN=length) produces character output when x is character

2014-12-25 Thread Mike Miller
On Thu, 25 Dec 2014, Bert Gunter wrote: You persist in failing to read the docs! the docs -- do those exclude those I have been quoting and linking to? Moreover, neither Hadley Wickham, nor anyone else, is the authoritative source for R usage (other than for the (many!) packages he, himself

[R] help

2014-12-25 Thread Phillip Awodutire
i want to analyse survival data using typeI HALF LOGISTIC DISTRIBUTION.how can i go about it?it installed one on R in the survival package didn't include the distribution...or i need a code to use maximum likelihood to estimate the parameter in survival analysis.a typical example of distribution

[R] wiki link on main page is down?

2014-12-25 Thread kamaraju kusumanchi
On the left panel of http://www.r-project.org/ , there is a link titled Wiki which points to http://rwiki.sciviews.org/ . However, this link is broken and gives a 404 Not Found error. Could you please fix it? thanks raju __ R-help@r-project.org mailing

[R] Question

2014-12-25 Thread Ankita Shukla
Hi I was fitting this model with two matrices. But this bifit function didnt run in my R studio and i got error message. Could anyone guide me how to install this command. I am giving that command below to have better understanding. x.f - cbind(log(Q5.all.pf), log(Q5.all.pf)^2) y.f -

Re: [R-es] Felices fiestas

2014-12-25 Thread Marcuzzi, Javier Rubén
Feliz Navidad No nos olvidemos de lo esencial, parte de lo esencial es compartir, miremos los valores observados, solo así podemos obtener los esperados. El código R es compartido, esto crea comunidades de usuarios, personas que buscan un resultado en los números que no tiene sentido si no se

Re: [R-es] Felices fiestas

2014-12-25 Thread Isidro Hidalgo
Pues sí... Feliz Navidad, eRReRos. Isidro Hidalgo -Mensaje original- De: R-help-es [mailto:r-help-es-boun...@r-project.org] En nombre de Marcuzzi, Javier Rubén Enviado el: jueves, 25 de diciembre de 2014 23:45 Para: r-help-es@r-project.org Asunto: Re: [R-es] Felices fiestas Feliz