When I do full CRAN/BIOC installs I use Xvfb via something like
Xvfb :5 -screen 0 1280x1024x24 &
setenv DISPLAY :5
Best,
luke
On Thu, 30 Sep 2021, Brodie, Kent via R-help wrote:
Bill-- BINGO.You have found the answer. After some testing on one of
my environments where it was
You can define the environment variable R_DONT_USE_TK (to any value) to
avoid this hang caused by code in the tkrplot package. You do not have to
have an X server running if R_DONT_USE_TK is set. This will avoid
potential hangs while installing the 23 packages that depend on tkrplot.
I tried this a second time, but with --no-byte-compile, and it hung with a
slightly different traceback
(gdb) where
#0 0x7f95bc4c6689 in __fxstat64 () from
/usr/lib/x86_64-linux-gnu/libc.so.6
#1 0x7f95bc497050 in opendir () from
/usr/lib/x86_64-linux-gnu/libc.so.6
#2 0x7f95b935f1e0
Bill-- BINGO.You have found the answer. After some testing on one of
my environments where it was always hanging, connecting to the same server with
an X-Sever running on my workstation did indeed allow the package to be
installed.
**GOOD LORD THAT’S RIDICULOUS** But at least I
This is a microcosm of why installing "all CRAN" packages is a bad idea. Now
extend this to the other 5% of 16000+ packages that will have unclear
requirements, and when you have all those installed try to update just one of
the packages because one of your users has learned of a bug in that
Alternatively you can modify the test as follows:
length(unique(df_b$q)) == 1
On Thu, Sep 30, 2021 at 7:22 PM Bert Gunter wrote:
> I haven't followed this thread closely, but to your question I think
> maybe this is what you want"
>
> > z <- c("","")
> > all(z == "")
> [1] TRUE
> > z <-
I haven't followed this thread closely, but to your question I think
maybe this is what you want"
> z <- c("","")
> all(z == "")
[1] TRUE
> z <- c("a","")
> all(z == "")
[1] FALSE
If this isn't it, just ignore without reply.
Bert Gunter
"The trouble with having an open mind is that people keep
No it shouldn't work. unique returns zero or more results so == with a constant
will be a logical vector zero or more elements long, which is inappropriate for
&&. Use the any function perhaps.
On September 30, 2021 8:51:02 AM PDT, Luigi Marongiu
wrote:
>Yes, but the && should work within
I just tried installing forensim on R-devel/Ubuntu 20.04/WSL-2.0 without an
X server (hence DISPLAY was not set). Loading tktcl gives a warning that
Tk is not available because DISPLAY is not set. The installation hung
after the byte-compile message:
installing to
(As I said, I'll try anything!)
OK, so I went ahead to get the scl devtoolset, and rebuilt R 4.1.1 with the
same exact gcc you used.
But- same result for me. Hung at the byte-compile step when installing that
one package, no error, no messages, no logs.
> -Original Message-
>
Yes, but the && should work within `unique(df_b$q) == ""` because the
test should be: (IF THE DATAFRAME HAS ZERO ROW) OR (ALL THE ELEMENTS
OF $q ARE EMPTY) THEN (PRINT empty).
Can I collapse the TRUE FALSE of `unique(df_b$q) == ""`into a single FALSE?
On Thu, Sep 30, 2021 at 4:28 PM Sarah Goslee
Hi,
The OR operator you used is working as expected: || starts from the
left and evaluates only enough of the options to determine the
results. The first test is TRUE, so the result is TRUE. It sounds
like you might actually want an AND operator, & or &&, which will only
return TRUE if all
Hello,
I have two data frames, each with three rows:
```
df_a <- data.frame(a = letters[1:3], b = LETTERS[1:3], q = c("", "", ""),
stringsAsFactors = FALSE)
df_b <- data.frame(a = letters[4:6], b = LETTERS[4:6], q = c("", "", "1.5"),
stringsAsFactors = FALSE)
```
I need to test whether the
Muchas gracias, reviso el paquete
Saludos
Enrique
> El 30 sept 2021, a las 14:06, Carlos Ortega
> escribió:
>
>
> Hola,
>
> En el paquete "psychometric" es donde aparece mencionado "Aiken" y tienen
> múltiples métricas para determinar el nivel de fiabiliad, errores, etc..
> Pero como tal
Hola
Muchas gracias por tu disposición. He encontrado este artículo donde programa
un script para calcularlo en R. Pero quería saber si el V de Aiken está
integrado en alguna librería de R
https://adicciones.es/index.php/adicciones/article/download/1213/1038
Saludos
Enrique
> El 30 sept
Hola,
Ni idea, pero si mandas algún artículo o enlace donde se explique cómo
calcularlo, igual alguien puede crear una función (yo mismo si tengo tiempo
este finde) y la meto en el paquete SixSigma ;)
Emilio L. Cano
http://emilio.lcano.com
> El 30 sept 2021, a las 10:13, Enrique Ramalle
Buenos días
Existe alguna librería en R para calcular el coeficiente V de Aiken para
evaluar la validez de contenido de una escala o cuestionario?
Saludos, muchas gracias
Enrique Ramalle
___
R-help-es mailing list
R-help-es@r-project.org
17 matches
Mail list logo