Re: [R] R 3.5.0, vector memory exhausted error on readBin

2018-06-12 Thread Valerie Cavett
Thanks so much for taking a look at this. 
 Before setting a new value, I opened a fresh session of R and checked to see whether there was any value set for R_MAX_VSIZE. There was not, so we'll assume the default as you described. 
 Next, I tried to set a value with Sys.setenv("R_MAX_VSIZE" =

Re: [R] R 3.5.0, vector memory exhausted error on readBin

2018-06-12 Thread luke-tierney
This item in NEWS explains the change: • The environment variable R_MAX_VSIZE can now be used to specify the maximal vector heap size. On macOS, unless specified by this environment variable, the maximal vector heap size is set to the maximum of 16GB and the available

[R] Help installing the finalfit package

2018-06-12 Thread Bill Poling
Good morning. Over the weekend I worked through this tutorial on bloggers.com at home where I am on 3.5.5: #Elegant regression results tables and plots in R: the finalfit package https://www.r-bloggers.com/elegant-regression-results-tables-and-plots-in-r-the-finalfit-package/ Here at my office

Re: [R] extract and re-arrange components of data frame

2018-06-12 Thread S Ellison
> #I need to get this final result > r<-data.frame(i=c(1,1,1,2,2,3), s=c(97, 98, 99, 103, 105, 118)) Nothing magic to suggest. But maybe: list.s <- strsplit(d$s,",") r <- data.frame(i=rep(d$i, times=sapply(list.s, length)), s=unlist(list.s), stringsAsFactors=FALSE ) S Ellison

Re: [R] extract and re-arrange components of data frame

2018-06-12 Thread Massimo Bressan
thank you for your reply well, you are resorting to a supposed order of i which is not necessary the case, and in fact is not in mine... consider this example, please d<-data.frame(i=c(8,12,3), s=c('97,918,19','103,1205', '418'), stringsAsFactors = FALSE) d Da: "Bert Gunter" A:

Re: [R] Changing selected columns to factor

2018-06-12 Thread Jeff Reichman
Well that’s easy enough - thank you -Original Message- From: Jim Lemon Sent: Monday, June 11, 2018 11:50 PM To: Jeff Reichman Cc: r-help mailing list Subject: Re: [R] Changing selected columns to factor Hi Jeff, jrdf<-data.frame(A=rnorm(10),B=rnorm(10),C=rnorm(10),

Re: [R] Help installing the finalfit package

2018-06-12 Thread David Winsemius
> On Jun 12, 2018, at 5:00 AM, Bill Poling wrote: > > Good morning. Over the weekend I worked through this tutorial on bloggers.com > at home where I am on 3.5.5: > > #Elegant regression results tables and plots in R: the finalfit package > >

[R] Calling r-scripts with arguments from other scripts, or possibly R programming conventions/style guide

2018-06-12 Thread Sam Tuck
Hi All, I am new to R and am wondering if there is a way to pass arguments between rscripts. I have this working but have had to create a C# shell calling the scripts in sequence via windows scripting which enables command line arguments to get the necessary interaction. I'm

[R] on execution time of a function...

2018-06-12 Thread akshay kulkarni
I ran a function in R three days ago and the execution time was about 4 minutes. I ran the same function yesterday and the execution time was more than 6:50 minutes(I aborted the function after that time). I read in the Internet that this is possible. I also came to know that software or

Re: [R] R 3.5.0, vector memory exhausted error on readBin

2018-06-12 Thread Valerie Cavett
Ah - I see the problem - thanks so much for the clarification! Just in case anyone else is using Rstudio on a mac and runs into this issue, I ended up following the instructions from http://btibert3.github.io/2015/12/08/Environment-Variables-in-Rstudio-on-Mac.html to add the following line to

Re: [R] R 3.5.0, vector memory exhausted error on readBin

2018-06-12 Thread luke-tierney
On Tue, 12 Jun 2018, Valerie Cavett wrote: Ah - I see the problem - thanks so much for the clarification! Just in case anyone else is using Rstudio on a mac and runs into this issue, I ended up following the instructions from

[R] extract and re-arrange components of data frame

2018-06-12 Thread Massimo Bressan
# considering this data.frame as a reproducible example d<-data.frame(i=c(1,2,3), s=c('97,98,99','103,105', '118'), stringsAsFactors = FALSE) d #I need to get this final result r<-data.frame(i=c(1,1,1,2,2,3), s=c(97, 98, 99, 103, 105, 118)) r #this is my attempt #number of components

Re: [R] extract and re-arrange components of data frame

2018-06-12 Thread Bert Gunter
You mean like this? > s.new <-with(d, as.numeric(unlist(strsplit(s,"," > s.new <- cut(s.new,breaks = c(0,100,110,200),lab = d$i) > s.new [1] 1 1 1 2 2 3 Levels: 1 2 3 (Obviously, this could be a one-liner) See ?cut Cheers, Bert Bert Gunter "The trouble with having an open mind is

Re: [R] R 3.5.0, vector memory exhausted error on readBin

2018-06-12 Thread luke-tierney
The environment variable R_MAX_VSIZE is read at start-up so need to be set outside R. If you are starting R from a shell you can use env R_MAX_VSIZE=700Gb R If you use a GUI you might need to set the variable in another way. Here is a reproducible version of your example: hertz <-

[R-es] X Jornadas de R en Murcia. Ponente Julia Silge

2018-06-12 Thread Antonio Maurandi López
Erreros y erreras! En las */X Joranadas de R en Murcia/* (R-hispano), podremos escuchar a *Julia Silge *, todo un referente del Text Mining. Su ponencia será el viernes 23 y el titulo: “Text Mining Using Tidy Data Principles” También podéis participar con

Re: [R-es] X Jornadas de R en Murcia. Ponente Julia Silge

2018-06-12 Thread Francisco Rodríguez
Enhorabuena gran referente Enviado desde mi smartphone Samsung Galaxy. Mensaje original De: Antonio Maurandi López Fecha: 12/6/18 10:16 (GMT+01:00) Para: x...@listas.um.es, anunc...@listas.um.es, u...@listas.um.es, R-help-es@r-project.org Asunto: [R-es] X Jornadas de R en

Re: [R-es] Boxplot.stats

2018-06-12 Thread Carlos Ortega
Hola, Mira el ejemplo de la ayuda: #-- > rb <- boxplot(decrease ~ treatment, data = OrchardSprays, col = "bisque") > title("Comparing boxplot()s and non-robust mean +/- SD") > rb $stats [,1] [,2] [,3] [,4] [,5] [,6] [,7] [,8] [1,] 2.0 4.0 9.0 20.0 39 20.0

Re: [R-es] Boxplot.stats

2018-06-12 Thread Javier Marcuzzi
Estimada Dayana Muñoz Si no entendí mal, usted ya está en el resultado, corra al siguiente ejemplo, solo falta el último tramo, que creo que es lo que usted debería realizar, pero eso no es en boxplot, se trata de buscar datos dentro de un data.frame o alguna estructura de datos semejante.

Re: [R-es] Plotear cilindros en un mapa

2018-06-12 Thread Carlos Ortega
Hola, Cilndros no, pero puedes utilizar algo equivalente mientras encuentras una solución utilizando el paquete "leaflet.minicharts". Saludos, Carlos Ortega www.qualityexcellence.es El 12 de junio de 2018, 16:02, javier bueno enciso escribió: > Buenas tardes errer@s! > > > Estoy atascado con

Re: [R-es] X Jornadas de R en Murcia. Ponente Julia Silge

2018-06-12 Thread Didimo Escobar
Excelente ¡ Saluda Atte., DE De: Antonio Maurandi López Enviado: martes, 12 de junio de 2018 04:16 Para: x...@listas.um.es; anunc...@listas.um.es; u...@listas.um.es; R-help-es@r-project.org Asunto: [R-es] X Jornadas de R en Murcia. Ponente Julia Silge Erreros y erreras! En las */X

Re: [ESS] ess problem

2018-06-12 Thread Vitalie Spinu via ESS-help
Hi Rob, Have you changed prompt on the R side (in opts)? Try running R without any personal configuration. If it "just started happening" it's unlikely ESS problem. Evaluation hasn't been touched in a while here. Vitalie >> On Tue, Jun 12 2018 12:00, Rob Dunne wrote: > Hi Ess- help, >