Re: [R] [R-sig-Fedora] Building R-3.2.0 from source.

2015-05-11 Thread Rolf Turner
On 11/05/15 16:19, Tom Callaway wrote: I just landed in Paris, and haven't read backwards in this thread, but I've done 3.2.0 builds for all current Fedora releases, they're all in updates-testing (I think the Fedora 22 builds are in updates stable now). The thing that changed is that R doesn't

Re: [R] Variance-covariance matrix

2015-05-11 Thread Giorgio Garziano
Hi Tsjerk, Yes, I understand your point. Thanks for drawing my attention on that aspect. Let me then rephrase my question. I would need some R package function able to compute the variance-covariance matrix for multivariate series as defined at:

Re: [R] Variance-covariance matrix

2015-05-11 Thread Pascal Oettli
Hi Giorgio, No need for a package. Please check function var (?var). Regards, Pascal On Mon, May 11, 2015 at 3:17 PM, Giorgio Garziano giorgio.garzi...@ericsson.com wrote: Hi Tsjerk, Yes, I understand your point. Thanks for drawing my attention on that aspect. Let me then rephrase my

Re: [R] Code works on Mac but not Windows

2015-05-11 Thread Thierry Onkelinx
Dear Glenn, We need more details on the function. Please provide a commented, minimal, self-contained version of the function that reproduces the problem (as the posting guide asks you to do). Best regards, ir. Thierry Onkelinx Instituut voor natuur- en bosonderzoek / Research Institute for

Re: [R] how to update a value in a list with lapply

2015-05-11 Thread ce
Thanks a lot Bill and David. Very few elements will be updated in the list. I think I will go for for loop in this case. As a classic programmer I still feel uncomfortable with lapply anyway. ce -Original Message- From: William Dunlap [wdun...@tibco.com] Date: 05/10/2015 06:00 PM To:

Re: [R-es] POSIXct en la version 3.1.3 (2015-03-09) -- Smooth Sidewalk

2015-05-11 Thread Carlos Ortega
Hola, Así, en general, sí hay scripts que dejan de funcionar cuando cambia la versión de R. ¿Es tu caso uno de ellos?, pues nos tendrías que dar bastantes más detalles antes de decir nada: desde un ejemplo, hasta detalles de la configuración local de tus máquinas (la que produce el error y las

Re: [R] [R-sig-Fedora] Building R-3.2.0 from source.

2015-05-11 Thread Tom Callaway
On 05/11/2015 09:42 AM, Rolf Turner wrote: It certainly did! Success. Thank you hugely! But if I may ask a supplementary question: You say If you really want to build from source . No, I don't *want* to; I have to. At least in my understanding. I run the ancient and beyond

Re: [R] how to update a value in a list with lapply

2015-05-11 Thread Henric Winell
On 2015-05-10 21:14, David Winsemius wrote: On May 10, 2015, at 6:11 AM, ce wrote: yes indeed : foo - lapply(foo, function(x) if(x[1] == 1 ) {x[2] - 0; x }else{x} ) would work. But if the list is too long, would it be time consuming rather than just updating elements that meet the if

Re: [R] lmom and lmomRFA Upper and Lower Bounds Simulation Questions

2015-05-11 Thread J. R. M. Hosking
On 2015-05-11 00:01, Douglas Hultstrand wrote: Hello, I am using the lmom and lmomRFA to compute the return frequencies using the GEV distribution.Iam trying to generate upper and lower bound frequency estimates. I provided a working example of the code that I am using to estimate the upper

[R] Caret and custom summary function

2015-05-11 Thread Lorenzo Isella
Dear All, I am trying to implement my own metric (a log loss metric) for a binary classification problem in Caret. I must be making some mistake, because I cannot get anything sensible out of it. I paste below a numerical example which should run in more or less one minute on any laptop. When I

Re: [R-es] POSIXct en la version 3.1.3 (2015-03-09) -- Smooth Sidewalk

2015-05-11 Thread Carlos J. Gil Bellosta
Hola, ¿qué tal? Pudiera ser un problema de locales. Mira ?Sys.getlocale. Eso podría explicar las diferencias entre computadoras. También puedes mirar lo que se cuenta sobre locales en ?as.POSIXct Un saludo, Carlos J. Gil Bellosta http://www.datanalytics.com El día 11 de mayo de 2015, 15:14,

Re: [R-es] POSIXct en la version 3.1.3 (2015-03-09) -- Smooth Sidewalk

2015-05-11 Thread javier.ruben.marcuzzi
Estimada Ana María Srur Estoy de acuerdo con Carlos Ortega, las fechas tienen mucho que ver con el sistema operativo, versiones, etc. Yo vivo en Argentina, y lo que en mi caso funciona es striptime, supe utilizar muchas opciones, lo más raro son conversiones de fecha en donde, por ejemplo,

Re: [R] Caret and custom summary function

2015-05-11 Thread Max Kuhn
The version of caret just put on CRAN has a function called mnLogLoss that does this. Max On Mon, May 11, 2015 at 11:17 AM, Lorenzo Isella lorenzo.ise...@gmail.com wrote: Dear All, I am trying to implement my own metric (a log loss metric) for a binary classification problem in Caret. I

Re: [R] [SPAM?] binding two lists of lists of dataframes together

2015-05-11 Thread Jeff Newmiller
HTML email does not work at all well on this mailing list. Sending you your question in plain text will help, as will following the advice in [1] to use the dput function to format the data so that we can easily put it into R and know what you are working with. My guess at your goal is that

[R] Course: Introduction to zero inflated models with R

2015-05-11 Thread Highland Statistics Ltd
Apologies for cross-posting We would like to announce the following statistics course in Palm Cove, Australia. Course: Introduction to zero inflated models with R Location: Palm Cove, Australia Date: 17-21 August 2015 Price: 550 GBP Course website:

[R] binding two lists of lists of dataframes together

2015-05-11 Thread Vin Cheng
Hi, I'm new to R and am stumped. I'm trying to bind List 1 to List 2 and have the corresponding Output. I've found the following code - I can't say I understand rbindlist(lapply(list12, [, i, TRUE)). Either way - it doesn't give exactly what's needed. library(data.table) list12 -

Re: [R] Code works on Mac but not Windows

2015-05-11 Thread Glenn Schultz
Hi Thierry, Below is the function setMethod(initialize, signature(TermStructure), function(.Object,..., tradedate = character, period = numeric, date = character, spotrate = numeric,

Re: [R] Code works on Mac but not Windows

2015-05-11 Thread Henrik Bengtsson
Before blaming Windows and/or OS X, make sure you verify the behavior on the exact same versions of R; it might be due to difference in R versions. If you're luck it's a bug that has been fixed and your problems goes away after updating. This is why folks on this lists are repeatable requesting

[R] Compositional ANOVA With Several Main Effects: Explanation of Results

2015-05-11 Thread Rich Shepard
The results of compositional ANOVA models with several main effects with conditional data as the response variable produce 'missing not at random' (MNAR) results for the same rows in the matrix of output coefficients: the last, third from last, and fourth from last regardless of the number of

Re: [R] binding two lists of lists of dataframes together

2015-05-11 Thread John Kane
http://adv-r.had.co.nz/Reproducibility.html and please do not post in Html. John Kane Kingston ON Canada -Original Message- From: newrnew...@hotmail.com Sent: Mon, 11 May 2015 20:16:40 + To: r-help@r-project.org Subject: [R] binding two lists of lists of dataframes together