Re: [R] Unintended behaviour (possibly bugs)

2020-02-17 Thread Alexey Shipunov
Thank you for the detailed explanation. I tend to agree. However, this behavior is relatively easy to remediate: This is the piece of the current code: === if (!(is.null(labels) && is.null(glabels))) { nmai <- par("mai") nmai[2L] <- nmai[4L] + max(linch + goffset, ginch) + 0.1

Re: [R-es] Colocar objeto Dates dentro de un vector.

2020-02-17 Thread Javier Marcuzzi
Estimado Jaume Tormo En lo personal yo utilizo un enfoque como el que comenta Carlos Ortega, se me ocurre que posiblemente funcione si a su código le coloca algo de formato, me refiero a esta forma: as.Date("10/21/2012", format = "%m/%d/%Y") Javier Rubén Marcuzzi El lun., 17 feb. 2020 a las

Re: [R-es] Colocar objeto Dates dentro de un vector.

2020-02-17 Thread Jaume Tormo
Carlos, muchas gracias, voy a probarlo. Pero me sigue intrigando por que no puedo ponerlo como elemento de un vector... Misterios del R. SI lo averiguo os lo digo. Jaume. El sáb., 15 feb. 2020 a las 19:08, Carlos Ortega () escribió: > Hola, > > Una alternativa que te puede ayudar es enfocar el

[R] object.size vs lobstr::obj_size

2020-02-17 Thread Stefan Schreiber
I am currently working through Advanced R by H. Wickham and came across the `lobstr::obj_size` function which appears to calculate the size of an object by taking into account whether the same object has been referenced multiple times, e.g. x <- runif(1e6) y <- list(x, x, x) lobstr::obj_size(y) #

Re: [R] Problems in writing code for circos plot

2020-02-17 Thread Bert Gunter
Wrong list -- (for which statistical methods question are generally offtopic anyway). Post here instead: https://www.bioconductor.org/help/ 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

Re: [R] Problems in writing code for circos plot

2020-02-17 Thread pooja sinha
Hi All, I had previously mentioned that I have large data set with methylation values ranging from 0-1. The data contains around 3 million rows of values corresponding to the chromosomal locations. I want to split/sort my data for plot using circos plot. I thought of doing like sorting the

Re: [R] testing my package : unstated dependency to self in package tests

2020-02-17 Thread Servet Ahmet Çizmeli
That worked. Thanks. From: Michael Dewey Sent: Sunday, February 16, 2020 5:54 PM To: Servet Ahmet Çizmeli ; r-help@r-project.org Subject: Re: [R] testing my package : unstated dependency to self in package tests When something similar happened to me I found

Re: [R] Unintended behaviour (possibly bugs)

2020-02-17 Thread Deepayan Sarkar
On Mon, Feb 17, 2020 at 10:24 AM Rui Barradas wrote: > > Hello, > > Yes, this is definitely a bug. I would argue that the only bug here is that the documentation doesn't say that 'ylab' may not behave as expected. dotchart() is mainly designed for 2-way tables (see the VADeaths example), but

Re: [R] Unintended behaviour (possibly bugs)

2020-02-17 Thread Rui Barradas
Hello, To move to r-devel just send email to r-de...@r-project.org. See https://stat.ethz.ch/mailman/listinfo/r-devel Rui Barradas Às 04:59 de 17/02/20, Alexey Shipunov escreveu: My suggestion (shipunov::Dotchart1()) was: === yinch <- if (!is.null(ylab)) 0.4 else 0 # inserted!