Re: [R] R 3.2, Mac 10.10.3 : help.search showing error

2015-06-13 Thread Berend Hasselman
> On 14-06-2015, at 06:25, Ramnik Bansal wrote: > > Thanks. But it seems to be an R 3.2.0 specific problem. > I replied with the following to a similar message on R-devel. See this thread on R-SIG-Mac https://stat.ethz.ch/pipermail/r-sig-mac/2015-April/011420.html T

Re: [R] Creating list with increasing string lengths

2015-06-13 Thread Bert Gunter
Is this homework? Homework is deprecated here. ?lapply is one of many possible approaches. If this is not homework, showing your unsuccessful code would likely lead to a better learning experience for you. Cheers, Bert Bert Gunter "Data is not information. Information is not knowledge. And kno

Re: [R] R 3.2, Mac 10.10.3 : help.search showing error

2015-06-13 Thread David Winsemius
On Jun 13, 2015, at 9:25 PM, Ramnik Bansal wrote: > Thanks. But it seems to be an R 3.2.0 specific problem. Exactly. That's why I needed to take the time to update my installation. I posted a message to R-devel after failing to find where the code was different in the two versions and not gett

Re: [R] R 3.2, Mac 10.10.3 : help.search showing error

2015-06-13 Thread Ramnik Bansal
Thanks. But it seems to be an R 3.2.0 specific problem. On Sun, Jun 14, 2015 at 8:42 AM, David Winsemius wrote: > > On Jun 13, 2015, at 7:41 AM, Ramnik Bansal wrote: > > > Getting following error in using help.search > > > >> utils::help.search("linear models") > > Error in help(db[i, "topic"],

Re: [R] matrix/df help populate NA

2015-06-13 Thread Jeff Newmiller
?merge Particularly look at the all argument. --- Jeff NewmillerThe . . Go Live... DCN:Basics: ##.#. ##.#. Live Go... Live: OO#.

[R] matrix/df help populate NA

2015-06-13 Thread Adrian Johnson
Dear group: I have two data frames. The column names of the two data frame has some common variables but not identical. my aim is to make 2 DFs more uniform by taking union of both colnames For example: I have x1 and x2 matrices: > x1 SubjectAB CD 1 x1 1.5 -1.3 0.4 -0.2

Re: [R] R 3.2, Mac 10.10.3 : help.search showing error

2015-06-13 Thread David Winsemius
On Jun 13, 2015, at 7:41 AM, Ramnik Bansal wrote: > Getting following error in using help.search > >> utils::help.search("linear models") > Error in help(db[i, "topic"], package = db[i, "Package"], lib.loc = lib, : > 'topic' should be a name, length-one character vector or reserved word I fir

[R] Error in ginv(A) : 'X' must be a numeric or complex matrix

2015-06-13 Thread Matteo Villa
Dear all, I tried searching the archives for a problem that I encountered today, but to no avail, so here I am sending my first e-mail to the list! I am estimating a binary spatial autoregressive model via a Gibbs sampler. When I do this with a neighborhood matrix, everything goes perfectly fine,

[R] Creating list with increasing string lengths

2015-06-13 Thread Nia Gupta via R-help
Hello, I am trying to create a list where each name would have an increasing vector length. For example, I am trying to obtain something that looks like this: [[1]][1] 2 [[2]] [1] 2 4 [[3]] [1] 1 2 3 . The numbers generated would just be any random numbers. My thought was to use a fo

Re: [R] Boxplot function error-help required

2015-06-13 Thread Kris Singh
Thank you all for the feedback. I was actually amazed at not only the number but quality of responses, and they were all helpful. I have got it working now, thanks again! Kind regards, Kris 2015-06-12 7:58 GMT+08:00 John Kane : > Thanks Don, > > I suspected there was a Boxplot() out there by w

[R] Post hoc ANCOVA

2015-06-13 Thread Thalita Gabriella Zimmermann
My name is Thalita, and I am a Phd student from Brasil. I am trying to do a post hoc of ANCOVA to compare three slopes with Tukey test. I am using: #percentagem: dependent variable #tratamento: factor #tempo: covariate #ANCOVA ancova(percentagem~tratamento*tempo, data=data) summary(ancova(pe

[R] R 3.2, Mac 10.10.3 : help.search showing error

2015-06-13 Thread Ramnik Bansal
Getting following error in using help.search >utils::help.search("linear models") Error in help(db[i, "topic"], package = db[i, "Package"], lib.loc = lib, : 'topic' should be a name, length-one character vector or reserved word > example(help.search) hlp.sr> help.search("linear models")#

Re: [R] Colour gradient is not working.

2015-06-13 Thread Boris Steipe
1. Don't ignore previous advice On Jun 1, 2015, at 10:59 AM, Boris Steipe wrote: > 1. Don't use Nabble for the r-help mailing list. > > 2. Read the posting guide, and read > http://adv-r.had.co.nz/Reproducibility.html > 2. Map your values to a range of integers that you can use as indices