Re: [R] Default value of the option initial in the ses function in the forecast package.

2017-10-02 Thread Ashim Kapoor
Dear Peter, Many thanks, Ashim On Mon, Oct 2, 2017 at 3:30 PM, peter dalgaard wrote: > The first one, i.e. "optimal"; check help for match.arg() for the idiom. > > -pd > > > > On 2 Oct 2017, at 11:48 , Ashim Kapoor wrote: > > > > Dear All, > > > > I am

Re: [R] Fwd: R errors

2017-10-02 Thread Jim Lemon
Hi Nyi, It is very unlikely that you ran exactly the same code twice and got a different result. Since we do not know what that code was, we can't debug it (and probably don't want to) so the best thing to do is to take the R script that you ran the first time (you do have the R commands in a

Re: [R] valid package repositories

2017-10-02 Thread Jordan J
I would be on a similar wavelength to Peter, I believe it should be more about the state of the package rather than the location. Yes, the location matters to a degree but I think GitHub is more than well enough established at this point to consider their hosting sufficiently reliable. The most

Re: [R] valid package repositories

2017-10-02 Thread Henrik Bengtsson
Here's my view on this: CRAN = Comprehensive R Archive Network. The "Archive" part is very important - it "promises" the research community that R packages that have ever been published on CRAN, and all the versions of each package, will be available also in the future. It requires quite a bit

Re: [R] valid package repositories

2017-10-02 Thread Berend Hasselman
> On 2 Oct 2017, at 16:47, Federico Calboli > wrote: > . > As a referee I am trying to weed out what I see as malpractice: the promise > that third parties outside the developers might actually use the code because > it has been packaged as a R library, a

Re: [R] valid package repositories

2017-10-02 Thread Jeff Newmiller
I tend to regard GitHub as a bit of wild west... anyone can upload anything there, working or not. CRAN packages at least have to compile so there is some additional verification in being there. GitHub does have the advantage that you can easily download it and run an example if the authors

Re: [R] R and Supervised learning

2017-10-02 Thread Luca Meyer
Hi Bert, Thank you for your useful suggestions I will follow them and come back to this list with any specific R code issue I might have. Kind regards, Luca 2017-10-02 16:57 GMT+02:00 Bert Gunter : > Luca: > > 1. We are not a consulting service. We *help* with R

Re: [R] valid package repositories

2017-10-02 Thread Peter Langfelder
On Mon, Oct 2, 2017 at 7:47 AM, Federico Calboli wrote: > > Thus my question: when can I consider a library to be properly published and > really publicly available? CRAN and BioConductor are clearly gold standards. > What about Github? I am currently using the

Re: [R] fwrite() not found in data.table package

2017-10-02 Thread Matthew Keller
Thanks Jeff! It turns out that my problem was that I tried to install the newest data.table package while the old data.table package was loaded in R. Full instructions for installing data.table are here: https://github.com/Rdatatable/data.table/wiki/Installation On Mon, Oct 2, 2017 at 10:55 AM,

Re: [R] fwrite() not found in data.table package

2017-10-02 Thread Jeff Newmiller
You are asking about (a) a contributed package (b) for a package version that is not in CRAN and (c) an R version that is outdated, which stretches the definition of "on topic" here. Since that function does not appear to have been removed from that package (I am not installing a development

Re: [R] Issues with 'Miwa' algorithm in mvtnorm package

2017-10-02 Thread Hollie Johnson (PGR)
Hi Eric, Thanks for having a look into this. I think you have a small typo... B <- matrix(x, nrow=3, byrow = TRUE) should read B <- matrix(y, nrow=3, byrow = TRUE) Regards, Hollie From: R-help on behalf of Eric Berger

[R] valid package repositories

2017-10-02 Thread Federico Calboli
Hi All, I noticed that it is quite common to find in papers mentions to ‘R libraries’ developed for the algorithms/models/code/whatever that is being described by the paper, so that third parties will be able to use said method for themselves. On further enquiries these libraries are not

Re: [R] Issues with 'Miwa' algorithm in mvtnorm package

2017-10-02 Thread Eric Berger
Hi Hollie, Clearly a negative number for the result of pmvnorm() makes no sense. On the plus side, the routine seems to know it failed since the "error" attribute returns an NA. You can check for this error condition programmatically, as follows: myprob <- pmvnorm(mean=rep(0, 3),lower=rep(-Inf,

Re: [R] Help on adding a negative binomial density plot

2017-10-02 Thread David Winsemius
> On Oct 2, 2017, at 2:05 AM, David wrote: > > Dear list, > > > I am just starting on analysis of count data in R 3.4.0. My dataset was > obtained from counting particles on a surface before andd after a cleaning > process. The sampling positions on the surface are

[R] fwrite() not found in data.table package

2017-10-02 Thread Matthew Keller
Hi all, I used to use fwrite() function in data.table but I cannot get it to work now. The function is not in the data.table package, even though a help page exists for it. My session info is below. Any ideas on how to get fwrite() to work would be much appreciated. Thanks! > sessionInfo() R

Re: [R] Issues with 'Miwa' algorithm in mvtnorm package

2017-10-02 Thread Eric Berger
Good point. Now this returns 0.04062184. Hmmm. On Mon, Oct 2, 2017 at 6:30 PM, Hollie Johnson (PGR) < h.a.john...@newcastle.ac.uk> wrote: > Hi Eric, > > > Thanks for having a look into this. I think you have a small typo... > > B <- matrix(x, nrow=3, byrow = TRUE) should read B <- matrix(y,

Re: [R] Issues with 'Miwa' algorithm in mvtnorm package

2017-10-02 Thread Eric Berger
Hi Hollie, I tried to reproduce your example but could not. Here is what I did. Please explain if you did something different. x <- c(9.358*10^-3, -8.165*10^-3, -1.689*10^-8, -8.165*10^-3, 9.358*10^-3, 1.854*10^-8, -1.689*10^-8, 1.854*10^-8, 9.358*10^-3) A <- matrix(x,

Re: [R] Issues with 'Miwa' algorithm in mvtnorm package

2017-10-02 Thread Bert Gunter
Rather specialized. As this appears to be primarily a statistical, not an R programming question, you may do better posting on a statistical site like http://stats.stackexchange.com/ if you don't get a satisfactory reply here . Alternativey, if you think this is a package bug, perhaps contact the

Re: [R] R and Supervised learning

2017-10-02 Thread Bert Gunter
Luca: 1. We are not a consulting service. We *help* with R pogramming issues. Users are typically expected to make an effort by providing R code and, if appropriate, small data sets that illustrate their difficulties. 2. SEARCH! e.g. on "text processing R" or some such; or try Rseek.org with

[R] Fwd: Re: Fwd: R errors

2017-10-02 Thread Michael Dewey
Please do not just reply to me but also to the list as other people there more expert than I may be able to help you better. Michael Forwarded Message Subject:Re: [R] Fwd: R errors Date: Mon, 2 Oct 2017 18:39:39 +0900 From: NYI NYI HTWE To:

[R] Issues with 'Miwa' algorithm in mvtnorm package

2017-10-02 Thread Hollie Johnson (PGR)
Currently doing some work on local maxima on a random field and have encountered an issue with the Miwa algorithm used with the pmvnorm function in the mvtnorm R package. Based on recommendations by Mi et al., we ran the mvtnorm package using the Miwa algorithm, since we have a maximum of 4

[R-es] Fwd: Minería de texto en R

2017-10-02 Thread Manuel Spínola
-- Mensaje reenviado -- De: Manuel Spínola Fecha: 2 de octubre de 2017, 5:47 Asunto: Re: [R-es] Minería de testo en R Para: Carlos Ortega Cc: Isidro Hidalgo Arellano , R Pido disculpas

Re: [R-es] Minería de texto en R

2017-10-02 Thread Manuel Spínola
El 29 de septiembre de 2017, 8:47, Manuel Spínola escribió: > Estimados miembros del grupo, > > Estoy buscando paquetes de R que permitan hacer minería de textos de > archivos PDF o Word que tengan una estructura tabular (cuadros) de > resultado de talleres de trabajo donde

Re: [R-es] Minería de texto en R

2017-10-02 Thread Manuel Spínola
El 2 de octubre de 2017, 5:47, Manuel Spínola escribió: > Pido disculpas por el error ortográfico en el subject, no me di cuenta. > > Manuel > > El 2 de octubre de 2017, 5:46, Manuel Spínola > escribió: > >> Muchas gracias Carlos. >> >> Manuel >> >>

Re: [R-es] Minería de testo en R

2017-10-02 Thread Manuel Spínola
Pido disculpas por el error ortográfico en el subject, no me di cuenta. Manuel El 2 de octubre de 2017, 5:46, Manuel Spínola escribió: > Muchas gracias Carlos. > > Manuel > > El 2 de octubre de 2017, 1:42, Carlos Ortega > escribió: > >> Hola,

Re: [R-es] Minería de testo en R

2017-10-02 Thread Manuel Spínola
Muchas gracias Carlos. Manuel El 2 de octubre de 2017, 1:42, Carlos Ortega escribió: > Hola, > > Hay una adaptación específica a R de una solución comercial, pero que se > puede usar hasta cierto número de llamdas: pdftools > >

Re: [R-es] Minería de testo en R

2017-10-02 Thread Manuel Spínola
Muchas gracias Isidro. Recién me doy cuenta del error ortográfico en el subject, test en lugar de texto. Manuel El 2 de octubre de 2017, 1:22, Isidro Hidalgo Arellano escribió: > Yo he utilizado "tm" para tratar PDF de forma masiva, pero hay que tener > mucho cuidado con los

[R] R and Supervised learning

2017-10-02 Thread Luca Meyer
Hi, I am currently find myself selecting manually amoungts several hundreds Google Alerts (GA) texts those that are indeed relevant for my research vs those which are not (despite they are triggered by some relevant seach keywords). Basically each week I get several hundreds GA email such as:

Re: [R] Default value of the option initial in the ses function in the forecast package.

2017-10-02 Thread peter dalgaard
The first one, i.e. "optimal"; check help for match.arg() for the idiom. -pd > On 2 Oct 2017, at 11:48 , Ashim Kapoor wrote: > > Dear All, > > I am trying to use the function ses from the forecast package. > > From its help I have : > > Usage: > > ses(y, h = 10,

[R] Default value of the option initial in the ses function in the forecast package.

2017-10-02 Thread Ashim Kapoor
Dear All, I am trying to use the function ses from the forecast package. >From its help I have : Usage: ses(y, h = 10, level = c(80, 95), fan = FALSE, initial = c("optimal", "simple"), alpha = NULL, lambda = NULL, biasadj = FALSE, x = y, ...) My query is that if I do not mention

Re: [R] Fwd: R errors

2017-10-02 Thread Michael Dewey
You need to give us some more information. What package(s) are you using? What are TAbehdata, TAeff, TA_coev_Second_Attempt? It might help to show us the output of sessionInfo too. It is better to post in plain text not HTML as HTML can end up mangled so we do not see what you thought you

Re: [R] Fwd: R errors

2017-10-02 Thread PIKAL Petr
Hi I wonder if you will get any sensible answer. You did not specify used package or function, you did not show your data nor revealed used R version and OS. All this is probably necessary unless the smartest members of this help list discovered efficient crystal ball. Wild guess is that

Re: [R-es] Minería de testo en R

2017-10-02 Thread Carlos Ortega
Hola, Hay una adaptación específica a R de una solución comercial, pero que se puede usar hasta cierto número de llamdas: pdftools https://cloud.r-project.org/web/packages/pdftools/index.html Saludos, Carlos Ortega www.qualityexcellence.es El 2 de octubre de 2017, 9:22, Isidro Hidalgo Arellano

Re: [R-es] Minería de testo en R

2017-10-02 Thread Isidro Hidalgo Arellano
Yo he utilizado "tm" para tratar PDF de forma masiva, pero hay que tener mucho cuidado con los PDF, porque lo que aparentemente es homogéneo (visualmente ves todos los documentos igual), resulta que no lo es, y te encuentras "saltos" de página, códigos de cabeceras de tabla, etc. Colocados de

[R] Fwd: R errors

2017-10-02 Thread NYI NYI HTWE
-- Forwarded message -- From: NYI NYI HTWE Date: Sun, Oct 1, 2017 at 1:49 PM Subject: R errors To: r-wind...@r-project.org Dear I'm very new R-user. I run a model successfully and my supervisor ask me to confirm the result. Then I run the same model again.