Re: [R] Updating github R packages

2016-02-16 Thread Jeff Newmiller
AFAIK the answer is no. That would be one of the main drawbacks of depending on github for packages. It isn't really a package repository so much as it is a herd of cats. -- Sent from my phone. Please excuse my brevity. On February 16, 2016 6:43:02 PM PST, "Hoji, Akihiko" wrote: >Hi, > >Is th

[R] Randomizing list independence

2016-02-16 Thread filaro1964 .
Bonjour, Hi, English follow (google trad.) Mon fils fait des course de ski alpin. Lors des courses, il y a un tirage au sort pour déterminer l'ordre de départ. Au fil du temps, j'ai remarqué que sa position de départ semblait répondre à un certain patron. Il se retrouve très souvent en début de

Re: [R] MCMCglmm and iteration

2016-02-16 Thread Ben Bolker
Rémi Lesmerises yahoo.ca> writes: > Hi everyone, I'm running a bayesian regression using the package > MCMCglmm (Hadfield 2010) and to reach a normal posterior > distribution of estimates, I increased the number of iteration as > well as the burnin threshold. However, it had unexpected > outcome

[R] Updating github R packages

2016-02-16 Thread Hoji, Akihiko
Hi, Is there a way to update a R package and its dependencies, installed from the github repo by a simple command equivalent to “update_packages()”? Thanks. __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/

[R] MCMCglmm and iteration behaviour (new attempt)

2016-02-16 Thread Rémi Lesmerises
Here a new attempt in trying to improve the visual of my request: I'm running a bayesian regression using the package MCMCglmm (Hadfield 2010) and to reach a normal posterior distribution of estimates, I increased the number of iteration as well as the burnin threshold. However, it had unexpect

Re: [R] error message for every parenthesis

2016-02-16 Thread Tara Kerin
Thank you both for your quick reply! I did install 3.2.3, it appears that was just a typo in my earlier message. Yes! deleting the workspace and history seems to correct the problem. I will also not continue the practice of saving my workspace. I have also now downloaded R studio. Thank you for t

[R] MCMCglmm and iteration

2016-02-16 Thread Rémi Lesmerises
Hi everyone, I'm running a bayesian regression using the package MCMCglmm (Hadfield 2010) and to reach a normal posterior distribution of estimates, I increased the number of iteration as well as the burnin threshold. However, it had unexpected outcomes. Although it improved posterior distributi

Re: [R] Recommendation for updating packages such as nlme

2016-02-16 Thread Jeff Newmiller
Isn't /usr/local for software your sysadmin (you, when you wear that hat) have compiled, while /usr/lib is managed by the system package manager (apt-get for Ubuntu)? FWIW I usually only manage my personal R library and ignore the system R library... I never specify instLib myself, and never ru

[R] Recommendation for updating packages such as nlme

2016-02-16 Thread Frank Harrell
I use this function to update my installed R packages: updatePac <- function (checkBuilt = FALSE, ...) update.packages(repos = "http://cran.rstudio.com";, instlib = "/usr/local/lib/R/site-library", checkBuilt = checkBuilt, ...) When I type updatePac() I get: Warning: package 'MASS' in libr

Re: [R] this is not a list, not a data frame, but what ?

2016-02-16 Thread ruipbarradas
Hello, What you want is a list of lists. Try something like Parameters <- list(PC_h_m = list(descript = "Point de convergence hauteur en metre", value = 5),         PC_Q_m3 = list(descript = "Point de convergence debit en m3/s", value = 805.00)) Hope this helps, Rui Barradas   Citando MAUR

Re: [R] this is not a list, not a data frame, but what ?

2016-02-16 Thread Ulrik Stervbo
Hi Maurice, Could you use a data.frame with a description and a value column? Something like data.frame(description1 = c ("Point de convergence hauteur en metre", "Point de convergence debit en m3/s"), description2 = c ( "PC_h_m", "PC_Q_m3" ), value = c ( 5.00, 805.00 )) You can then subset t

[R] this is not a list, not a data frame, but what ?

2016-02-16 Thread MAURICE Jean - externe
HI, I am new to R and English is not my natural language. I am working on an old R application where there is a matrix containing parameters. Something like : parametres=matrix(NA,15,3) parametres[1,1]<- "Point de convergence hauteur en metre" parametres[1,2]<- 5.00 parametres[1,3]<- "PC_

Re: [R] Comparing variance components

2016-02-16 Thread Bert Gunter
I'll save you the trouble. Yes, they're bigger. Or smaller. Certainly differ between experiments. So what? That is just the way things work. Google "weighting in meta-analysis" or similar for ways folks try to deal with this. Cheers, Bert On Tuesday, February 16, 2016, Wen Huang wrote: > H

Re: [R] Comparing variance components

2016-02-16 Thread Wen Huang
Hi Harold, Thank you for your input. I was not very clear. I wanted to compare the sigma2_A’s from the same model fitted to two different data sets. The same for sigma2_e’s. The motivation is when I did the same experiment at two different times, whether the variance due to A (sigma2_A) is bigg

Re: [R] Comparing variance components

2016-02-16 Thread Doran, Harold
(adding R mixed group). You actually do not want to do this test, and there is no "shrinkage" here on these variances. First, there are conditional variances and marginal variances in the mixed model. What you are have below as "A" is the marginal variances of the random effects and there is no

[R] Comparing variance components

2016-02-16 Thread Wen Huang
Dear R-help members, Say I have two data sets collected at different times with the same design. I fit a mixed model using in R using lmer lmer(y ~ (1|A)) to these data sets and get two estimates of sigma2_A and sigma2_e What would be a good way to compare sigma2_A and sigma2_e for these two d

Re: [R] NaNs produced as a returned value for a function

2016-02-16 Thread Maram SAlem
Thanks for helping Dunlap. I just don't get why does the function bettarg() executes well if I evaluate it (by hand) step-by step . nut for the same input values , if I tried to execute bettarg() it will give me the error Error in if (y <= accept.prob) { : missing value where TRUE/FALSE needed A

Re: [R] Estimating Mean of a Poisson Distribution Based on interval censoring

2016-02-16 Thread mohsen hs via R-help
Hi Terry, Thank you for your reply and your time. I really appreciate your time and I know that you should be very busy. Please forgive me for any possible technical mistake as I am not a professional in statistic. R has a package with the name of fitdist that gave me the estimation. It seems th

Re: [R] Need your favour : twitter sentiment issue while cleaning the corpus

2016-02-16 Thread Sandeep Rana
Hi, In continuation to my initial mail I also observed that as I include more number of tweets, the likelihood of getting this error increases. Platform I’m using: - Mac Yosemite - R version 3.2.2(RStudio) I have below questions: - Does this error has to do anything with the default locale set

[R] Need your favour : twitter sentiment issue while cleaning the corpus

2016-02-16 Thread Sandeep Rana
Hi, I need your favour. I received below warning while cleaning the corpus of tweets which is not allowing me to further the analysis: Warning message: In mclapply(content(x), FUN, ...) : scheduled core 1 encountered error in user code, all values of the job will be affected Code used: for cl

Re: [R] error message for every parenthesis

2016-02-16 Thread Michael Dewey
Dear Tara 1 - why did you install 3.2.1 when 3.2.3 is the latest version 2 - what happens if you delete .RData and .Rapp.history from your workspace? 3 - you do have a function try as it is part of R On 16/02/2016 02:49, Tara Kerin wrote: Hi, I seem to be having the same problem Garrett (below

Re: [R] [FORGED] Error installing the package "Cairo"

2016-02-16 Thread Sandeep Mallya
I tried the command below sudo yum install cairo-devel.x86_64 Package cairo-devel-1.8.8-6.el6_6.x86_64 already installed and latest version Nothing to do I have also tried installing libpng-devel Still the error persists. Thanks, Sandeep On Tue, Feb 16, 2016 at 3:09 AM, Rolf Turner wrote:

[R] error in try

2016-02-16 Thread Tara Kerin
Hi, I seem to be having the same problem Garrett (below) had in 2009. However, I do not have functions named try written in my active code. In fact, I don't have any of my own functions written at all yet. I did just install version 3.2.1 today, and the errors started after that. Please advise!

[R] error message for every parenthesis

2016-02-16 Thread Tara Kerin
Hi, I seem to be having the same problem Garrett (below) had in 2009. However, I do not have functions named try written in my active code. In fact, I don't have any of my own functions written at all yet. I did just install version 3.2.1 today, and the errors started after that. Please advise!

[R] Matrix-free fused lasso

2016-02-16 Thread Antony Lee
Hi, I am looking for an implementation of the fused lasso that allows the predictor matrix to be an "abstract" linear operator, namely the cumulative sum (that is, (X.b)_i = sum(b_k, k=1..i)) (due to the size of the problem, forming the entire matrix is unlikely to be a good approach). Any pointer

Re: [R] filtering a data frame from a column of type integer

2016-02-16 Thread Stefano Sofia
Thank you Stefano Da: Huzefa Khalil [huzefa.kha...@umich.edu] Inviato: luned� 15 febbraio 2016 17.52 A: Stefano Sofia Cc: r-help@r-project.org Oggetto: Re: [R] filtering a data frame from a column of type integer This is because of the presence of NA's in your "st