Displaying 20 results from an estimated 7000 matches similar to: "Ctrl-c crashes R when run as sudo (PR#7819)"
2007 Jul 27
3
Convert string to list?
Let's say I have the following string:
str <- "P = 0.0, T = 0.0, Q = 0.0"
I'd like to find a function that generates the following object from
'str'.
list(P = 0.0, T = 0.0, Q = 0.0)
Thanks!
--
http://mutualism.williams.edu
2009 Feb 19
2
bugfix for nls with port algorithm (PR#13540)
Full_Name: Manuel A. Morales
Version: 2.8.1
OS: Linux
Submission from: (NULL) (137.165.199.246)
When fitting a model in nls using the algorithm port with constraints and the
shorthand parameter[factor] in the model, I get the following error message:
"Error in nls_port_fit(m, start, lower, upper, control, trace) :
(list) object cannot be coerced to type 'double'
In addition:
2006 Dec 03
2
Force "square" crosstabulation
Hello list members,
I'm looking for a way to force the results of a crosstabulation to be
square - that is, to include 0 values.
For example:
table(letters[1:4],letters[c(1:3,3)])
yields:
a b c
a 1 0 0
b 0 1 0
c 0 0 1
d 0 0 1
I would like to return:
a b c d
a 1 0 0 0
b 0 1 0 0
c 0 0 1 0
d 0 0 1 0
Any suggestions?
Thanks!
--
Manuel A. Morales
2009 Jun 22
1
nls vs nlme: parameter constraints
Hello list,
I'm trying to fit a model like beta[trt]/(1+alpha*x) where the data
include some grouping factor. The problem is that the estimate for alpha
is undefined for some of the treatments - any value greater than 20 is
equally good and a step function would suffice. Ignoring the grouping
structure, I can fit this using nls with the port algorithm by
restricting the upper value of alpha
2013 Nov 20
2
Problema con gráfico lattice
Hola, estoy representando los datos Duncan de la libreria car y
cuando hago un gráfico lattice observo que la profesión "architect"
aparece en dos subgráficos que no se corresponden con su categoría.
Alguien sabe el motivo? Os adjunto un fichero con el código y el gráfico
resultante.
Gracias,
Manuel
[[alternative HTML version deleted]]
2017 Oct 07
11
[Bug 103132] New: GTX 1060 6GB corrupts screen drawing in Kconsole and other apps
https://bugs.freedesktop.org/show_bug.cgi?id=103132
Bug ID: 103132
Summary: GTX 1060 6GB corrupts screen drawing in Kconsole and
other apps
Product: xorg
Version: unspecified
Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: NEW
Severity: normal
Priority: medium
2013 Nov 20
2
Fwd: Problema con gráfico lattice
Hola, estoy representando los datos Duncan de la libreria car y
cuando hago un gráfico lattice observo que la profesión "architect"
aparece en dos subgráficos que no se corresponden con su categoría.
Alguien sabe el motivo? Os adjunto un fichero con el código y el gráfico
resultante.
Gracias,
Manuel
------------ próxima parte ------------
Se ha borrado un adjunto en formato
2015 Jan 07
2
AIX binaries website down
Hello!
I need to install Samba on AIX and the AIX folder in
https://download.samba.org/pub/samba/Binary_Packages/ has only a readme
that points to the following address:
http://pware.hvcc.edu/
However that host is down, what is the best way to get Samba binaries for AIX?
Thanks!
2005 May 31
1
Increasing Console "Paste Buffer"
Hello list.
I'm using R from the gnome-terminal in Fedora. My preference is to write
programs in VIM, and then source the file from R, or copy and paste the
lines into the console. I'm wondering if there is a way to increase the
"paste buffer" as an alternative to "sourcing" large analyses. As was
mentioned in a recent thread on Linux GUI's, I find that if I paste
2004 Nov 30
1
augPred with lme(...,subset=...)
Hello,
Is there a way to get augPred to work with lme if a subset statement is
used? For example, if I modify the example from ?augPred.lme to include
a subset statement, I get the following error:
fm1 <- lme(Orthodont, random = ~1, subset=distance>19)
augPred(fm1, length.out = 2, level = c(0,1))
Error in tapply(object[[nm]], groups, FUN[["numeric"]], ...) :
arguments
2006 Jun 07
1
Using data=x or subset=y in user-defined functions
Dear list members,
In some of my functions, I attach the data internally to allow subset
commands or to specify a data frame. This works well except for cases
where there is a "masking" conflict (which returns a warning). I see
some alternative listed in ?attach, but I'm not sure which of them do
what I'd like. Any suggestions?
Below is how I've been setting up my
2009 May 22
2
sciplot question
Hi,
I would like to have lineplot.CI and barplot.CI to actually plot
confidence intervals , instead of standard error.
I understand I have to use the ci.fun option, but I'm not quite sure
how.
Like this :
> qt(0.975,df=n-1)*s/sqrt(n)
but how can I apply it to visualize the length of the student's T
confidence intervals rather than the stdandard error of the plotted
means
2006 Oct 08
1
Simulate p-value in lme4
Dear r-helpers,
Spencer Graves and Manual Morales proposed the following methods to
simulate p-values in lme4:
************preliminary************
require(lme4)
require(MASS)
summary(glm(y ~ lbase*trt + lage + V4, family = poisson, data =
epil), cor = FALSE)
epil2 <- epil[epil$period == 1, ]
epil2["period"] <- rep(0, 59); epil2["y"] <- epil2["base"]
2006 Oct 27
1
Using data and subset arguments in user-defined functions
Dear list,
A while ago, I posted a question asking how to use data or subset
arguments in a user-defined function. Duncan Murdoch suggested the
following solution in the context of a data argument:
data <- data.frame(a=c(1:10),b=c(1:10))
eg.fn <- function(expr, data) {
x <- eval(substitute(expr), envir=data)
return(mean(x))
}
eg.fn(a,data)
I've
2004 Mar 22
1
persp(), axis font size
Is there a way to adjust the font size for axis labels when using
persp()? The parameter cex works for adjusting the global font size, but
I can't seem to make cex.lab or cex.axis work for adjusting these
values independently. Or, is there a preferred method for making surface
plots in R?
I'm using R version 1.8.
Thanks,
Manuel
2007 Jul 17
1
Alternative to xyplot()?
Hello list,
Is anyone aware of a non-lattice-based alternative to xyplot()?
Thanks!
Manuel
--
http://mutualism.williams.edu
2006 Jun 25
3
ssh session output stalls
Hello,
Is anyone else having problems with the ssh session output stalling
when ssh'd to another system and the command is running via sudo and a
pager is being used (e.g., more)?
Too highly reproducible :( to date, all known occurrences have
involved Centos 4.3 servers; makes no difference whether client is
RHEL WS 4.3, Centos 4.3 or FC 5 or WinDoze. Makes no difference if
terminal
2001 Jun 27
2
OpenSSH, Cygwin, eXceed, and SIGINT
All,
When logging into an HP-UX 10.2 system from a Windows NT machine
running Cygwin and openssh 2.9p2, control-c sends a sigint to the ssh client
on the NT system, thus killing the ssh process. Interestingly enough, this
behavior is only observed when using X11 forwarding. I can eliminate the
behavior by changing clientloop.c to ignore SIGINT (signal(SIGINT, SIG_IGN)
) but then I'm bak to
2019 Apr 30
2
Background R session on Unix and SIGINT
Yeah, I get that they are async.
What happens is that the background process is not doing anything when
the process gets a SIGINT. I.e. the background process is just
listening on its standard input.
AFAICT for an interactive process such a SIGINT is just swallowed,
with a newline outputted to the terminal.
But apparently, for this background process, it is not swallowed, and
it is triggered
2019 Apr 30
2
Background R session on Unix and SIGINT
Hi All,
I realize that this is not a really nice reprex, but anyone has an
idea why a background R session would "remember" an interrupt (SIGINT)
on Unix?
rs <- callr::r_session$new()
rs$interrupt() # just sends a SIGINT
#> [1] TRUE
rs$run(function() 1+1)
#> Error: interrupt
rs$run(function() 1+1)
#> [1] 2
It seems that the main loop somehow stores the SIGINT it