Re: [R-es] Respuestas múltiples en una sola columna

2021-10-06 Thread juan manuel dias
Muchas gracias a ambos! El mié., 6 de octubre de 2021 15:52, Carlos Ortega escribió: > Hola, > > Sí, otra alternativa para dejarlo como has comentado y leyendo > directamente de Excel... > > #--- > > library(dplyr) > library(tidyr) > library(readr) > library(readxl) > > datin <-

Re: [R] Strange behavior of 2-d array within function

2021-10-06 Thread Bert Gunter
Likely impossible to answer without seeing your code. Bert Gunter "The trouble with having an open mind is that people keep coming along and sticking things into it." -- Opus (aka Berkeley Breathed in his "Bloom County" comic strip ) On Wed, Oct 6, 2021 at 11:33 AM Gabriel Toro wrote: > Hi,

Re: [R] Rename variables starting with digits

2021-10-06 Thread Jeff Newmiller
>Also, I checked my options and I have my email set to plain text... The warning inserted by the mailing list at the bottom of your message below > [[alternative HTML version deleted]] indicates that you may still need to understand your mail client better. On October 6, 2021 10:30:49 AM

Re: [R] RSQLite slowness

2021-10-06 Thread Jeff Newmiller
Since the sqlite package is contributed, it is NOT related to "core R", and is in fact technically off-topic on this list. FWIW all SQL implementations work better with indexes, but AFAIK the R data frame support does nothing with indexes. This may be related to your question, or not. I am not

Re: [R] RSQLite slowness

2021-10-06 Thread Martin Morgan
https://support.bioconductor.org and the community slack (sign up at https://bioc-community.herokuapp.com/ ) as well as the general site https://bioconductor.org . Actually your question sounds like a SQLite question � JOIN a table, versus parameterized query. One could perhaps construct the

Re: [R] RSQLite slowness

2021-10-06 Thread Rasmus Liland
Thank you Bert, I set up a new thread on BioStars [1]. So far, I'm a bit unfamilliar with Bioconductor (but will hopefully attend a course about it in November, which I'm kinda hyped about), other than installing and updating R packages using BiocManager Did you think of something

Re: [R-es] Respuestas múltiples en una sola columna

2021-10-06 Thread José Luis Pedro Méndez
Buenas tardes, En mi caso funciona bien usando pivot_longer, pero guardé la información en csv para leerlo con vroom. base <- vroom("ruta/Ejes formativos.csv", col_types = str_c(rep("c",19))) base %>% pivot_longer(-c(ID,area_pertenencia),"pregunta") [image: image.png] Saludos

[R] Strange behavior of 2-d array within function

2021-10-06 Thread Gabriel Toro
Hi, I have a function, which defines an array of dimensions 5000 by 60, calculates the values within that array and then returns the array on exit. I get an error: Error in my_simulated[ir, 1:it] : incorrect number of dimensions For some strange reason, the array is somehow being changed from

[R-es] Respuestas múltiples en una sola columna

2021-10-06 Thread juan manuel dias
Hola, cómo andan! Tengo una base de una encuesta sobre formación profesional realizada a un conjunto de empleados de una institución. Una de las preguntas es de respuesta múltiple, eje_tem_1,eje_tem_2, eje_tem_3hasta eje_tem_17. Necesitaría que las respuestas de cada persona que están en

Re: [R] Rename variables starting with digits

2021-10-06 Thread Anne Zach
Hello, Thank you for your help, I really appreciate it, I was able to solve the problem! Here is a part of my dataframe (just in case...): > dput( head( behavioral_df) ) structure(list(ID = c(1, 2, 3, 4, 5, 6), DOB = c("9/53/1959", "4/8/1953", "2/21/1961", "10/11/1948", "9/4/1962",

Re: [R] RSQLite slowness

2021-10-06 Thread Bert Gunter
Generally, such gene-related questions are better asked on Bioconductor than here. They also might know of more efficient, purpose built tools for your efforts there. No guarantees, of course, and you might get a helpful response here. But if not ... Bert Gunter "The trouble with having an open

[R] RSQLite slowness

2021-10-06 Thread Rasmus Liland
Dear r-help readers, why is it so much slower to query an sqlite database using RSQlite «from the outside» using param like statement <- "SELECT * FROM gene2refseq LEFT JOIN gene_info ON gene_info.GeneID = gene2refseq.GeneID WHERE

Re: [R] (no subject)

2021-10-06 Thread Bert Gunter
Perhaps it's R packages and the security policies -- checks for malicious software, etc. -- of the repositories on which they reside that Thomas should be concerned with. R, itself, is fine(checksums are provided), but, as you say, can be programmed to do anything. So R packages can certainly do

Re: [R] (no subject)

2021-10-06 Thread Ivan Krylov
On Tue, 5 Oct 2021 22:20:33 + Thomas Subia wrote: > Some co-workers are wondering about how secure R software is. I'm afraid that this question is too hard to answer without their threat model. Secure against what, specifically? > Is there any documentation on this which I can forward to

[R] (no subject)

2021-10-06 Thread Thomas Subia
Colleagues, Some co-workers are wondering about how secure R software is. Is there any documentation on this which I can forward to them? All the best, Thomas Subia Quality Engineer __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more,