[R] confidence interval around Aalen-Johansen if no events

2023-09-06 Thread Andreas Leha
Hi all, I'd like to calculate confidence intervals around Aalen-Johansen estimates at given time points. And later I'd like to be able to compare the Aalen-Johansen estimates at given time points between groups. My problem is, that there are no events recorded. So my question is: Does anyone

Re: [ESS] [OT] Enabled a hook and no longer find which

2021-07-30 Thread Andreas Leha via ESS-help
Dirk Eddelbuettel via ESS-help writes: > tl;dr: I enabled an action 'on save' and I no longer find where :-/ > > > Longer story: I settled upon GNU global and ggtags at some point for a > (mostly multilingual) system of tags in R and C++ (and some more). So a few > of source directories have

Re: [R] PSOCK cluster and renice

2017-12-03 Thread Andreas Leha
rPSOCK(2L, rscript = c("nice", > "--adjustment=10", file.path(R.home("bin"), "Rscript"))) > > which is backward compatible with parallel::makePSOCKcluster() but > provides you with more detailed control. Try adding verbose = TRUE to >

[R] PSOCK cluster and renice

2017-12-03 Thread Andreas Leha
Hi all, Is it possible to use the 'renice' option together with parallel clusters of type 'PSOCK'? The help page for parallel::makeCluster is not specific about which options are supported on which types and I am getting the following message when passing renice = 19 : > cl <-

Re: [R] encoding/locale problem with ssh -X

2017-06-23 Thread Andreas Leha
I can replicate this with ... > > x11(type="Xlib") > library(grid) > convertHeight(stringDescent("größe"), "in") > > ... on R 3.2.5, but not on, e.g., R 3.4.0 (just running R locally in > both cases). > > Paul > > On 21/06/17 20:05, Andrea

[R] encoding/locale problem with ssh -X

2017-06-21 Thread Andreas Leha
Hi all, I am struggling with remote R sessions and a (I suspect) locale related encoding problem: Using the X11 device (X11forwarding enabled), whenever I try to plot something containing umlauts using ggplot2, I am seeing sth like , | Error in grid.Call(L_stringMetric,

Re: [R] why must a named colClasses in read.table be in correct order

2015-07-08 Thread Andreas Leha
, Andreas Leha andreas.l...@med.uni-goettingen.de wrote: Hi all, Apparently, the colClasses argument to read.table needs to be in the order of the columns *even when it is named*. Why is that? And where would I find it in the documentation? Here is a MWE: --8---cut here

Re: [R] why must a named colClasses in read.table be in correct order

2015-07-08 Thread Andreas Leha
### $ b: chr x Let's hope that the above is a (10-year old) typo, and changing a to a = adds support for named 'colClasses', which is a really useful functionality. /Henrik On Wed, Jul 8, 2015 at 6:42 PM, Andreas Leha andreas.l...@med.uni-goettingen.de wrote: Hi Henrik, Thanks for your

[R] why must a named colClasses in read.table be in correct order

2015-07-08 Thread Andreas Leha
Hi all, Apparently, the colClasses argument to read.table needs to be in the order of the columns *even when it is named*. Why is that? And where would I find it in the documentation? Here is a MWE: --8---cut here---start-8--- kkk - c(a\tb,

Re: [R] filename of current device

2014-05-19 Thread Andreas Leha
On 18/05/2014 18:08, Prof Brian Ripley wrote: On 14/05/2014 23:04, Andreas Leha wrote: Hi all, how do I find out about the filename, the currently open (let's say pdf) device is writing to? If I find 'dev.cur()' returning 'pdf 3' when I expect 'nulldevice 1' I would like to know, which

[R] filename of current device

2014-05-14 Thread Andreas Leha
Hi all, how do I find out about the filename, the currently open (let's say pdf) device is writing to? If I find 'dev.cur()' returning 'pdf 3' when I expect 'nulldevice 1' I would like to know, which file that pdf device is actually targeting. Any help for my poor organization is highly

Re: [R] filename of current device

2014-05-14 Thread Andreas Leha
Hi David, Thank you for following up on that. David Winsemius dwinsem...@comcast.net writes: On May 14, 2014, at 3:04 PM, Andreas Leha wrote: Hi all, how do I find out about the filename, the currently open (let's say pdf) device is writing to? If I find 'dev.cur()' returning 'pdf 3

Re: [R] filename of current device

2014-05-14 Thread Andreas Leha
Hi David, David Winsemius dwinsem...@comcast.net writes: On May 14, 2014, at 3:44 PM, Andreas Leha wrote: Hi David, Thank you for following up on that. David Winsemius dwinsem...@comcast.net writes: On May 14, 2014, at 3:04 PM, Andreas Leha wrote: Hi all, how do I find out

[R] transition from depends to imports

2014-05-09 Thread Andreas Leha
Hi all, I am having trouble to do a particular transition from depends to imports in one of my packages. This packages uses 'wilcoxsign_test' from the 'coin' package. And this is the only function from the coin package that it uses (directly). (Everything works fine, as long as my package

Re: [R] transition from depends to imports

2014-05-09 Thread Andreas Leha
Hi Duncan, Thank you for your follow-up and fast response! Duncan Murdoch murdoch.dun...@gmail.com writes: On 09/05/2014, 5:08 PM, Andreas Leha wrote: Hi all, I am having trouble to do a particular transition from depends to imports in one of my packages. This packages uses

Re: [R] transition from depends to imports

2014-05-09 Thread Andreas Leha
Duncan Murdoch murdoch.dun...@gmail.com writes: On 09/05/2014, 5:39 PM, Andreas Leha wrote: Hi Duncan, Thank you for your follow-up and fast response! Duncan Murdoch murdoch.dun...@gmail.com writes: On 09/05/2014, 5:08 PM, Andreas Leha wrote: Hi all, I am having trouble to do

Re: [R] quickly extract response from formula

2013-11-01 Thread Andreas Leha
Hi David, thanks for your quick answer! David Winsemius dwinsem...@comcast.net writes: On Oct 31, 2013, at 1:27 PM, Andreas Leha wrote: Hi all, what is the recommended way to quickly (and without much burden on the memory) extract the response from a formula? If you want its expression

Re: [R] quickly extract response from formula

2013-11-01 Thread Andreas Leha
- if (length(frm)==3) frm[[2]] else NULL (or call stop(), or warning(), ...) Will do. Thanks. - Andreas Bill Dunlap Spotfire, TIBCO Software wdunlap tibco.com -Original Message- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of Andreas Leha

[R] quickly extract response from formula

2013-10-31 Thread Andreas Leha
Hi all, what is the recommended way to quickly (and without much burden on the memory) extract the response from a formula? The standard way to extract the response from a formula seems to be via model.frame() or model.extract(), but that is very memory intensive. Here is a quick example, that

[R] suppress startup messages from default packages

2013-07-15 Thread Andreas Leha
Hi all, several packages print messages during loading. How do I avoid to see them when the packages are in the defaultPackages? Here is an example. With this in ~/.Rprofile ,[ ~/.Rprofile ] | old - getOption(defaultPackages) | options(defaultPackages = c(old, filehash)) | rm(old) ` I

Re: [R] suppress startup messages from default packages

2013-07-15 Thread Andreas Leha
Hi Helios, Helios de Rosario helios.derosa...@ibv.upv.es writes: Hi all, several packages print messages during loading. How do I avoid to see them when the packages are in the defaultPackages? Here is an example. With this in ~/.Rprofile ,[ ~/.Rprofile ] | old -

Re: [R] suppress startup messages from default packages

2013-07-15 Thread Andreas Leha
Hi David, David Winsemius dwinsem...@comcast.net writes: On Jul 15, 2013, at 4:11 AM, Andreas Leha wrote: Hi all, several packages print messages during loading. How do I avoid to see them when the packages are in the defaultPackages? I'm pretty sure this has been asked before

Re: [R] suppress startup messages from default packages

2013-07-15 Thread Andreas Leha
Hi Martin, Martin Morgan mtmor...@fhcrc.org writes: On 07/15/2013 06:25 AM, Duncan Murdoch wrote: On 15/07/2013 8:49 AM, Andreas Leha wrote: Hi Helios, Helios de Rosario helios.derosa...@ibv.upv.es writes: Hi all, several packages print messages during loading. How do I avoid

[R] segfault in gplots::heatmap.2

2012-08-30 Thread Andreas Leha
Hi all, I experience a segfault when calling gplots::heatmap.2(), but only when certain other packages are loaded. I am not sure for the correct place to send this bug report. Should I send it to the package maintainers directly? If R-help is the wrong place, please feel free to direct me to