Re: [R] glm with family binomial and link identity

2022-04-28 Thread Ralf Goertz
> Am Wed, 27 Apr 2022 10:27:33 +0200 schrieb Ralf Goertz > > > Hi, > > > > I just noticed that (with my version 4.2.0) it is no longer possible > > to use glm with family=binomial(link=identity). Why is that? It was > > possible with 4.0.x as a colleag

Re: [R] glm with family binomial and link identity

2022-04-27 Thread Ralf Goertz
Am Wed, 27 Apr 2022 10:27:33 +0200 schrieb Ralf Goertz : > Hi, > > I just noticed that (with my version 4.2.0) it is no longer possible > to use glm with family=binomial(link=identity). Why is that? It was > possible with 4.0.x as a colleague of mine just confirmed. After all

[R] glm with family binomial and link identity

2022-04-27 Thread Ralf Goertz
Hi, I just noticed that (with my version 4.2.0) it is no longer possible to use glm with family=binomial(link=identity). Why is that? It was possible with 4.0.x as a colleague of mine just confirmed. After all it is useful to compute risk differences with factors.

Re: [R] RMariaDB returns a query without microseconds

2021-07-27 Thread Ralf Goertz
Am Mon, 26 Jul 2021 16:07:24 + (UTC) schrieb Baki UNAL via R-help : > Hi > > I can query a table from a mysql database with RMariaDB. One of the > table's column indicates "trade_time" and contains values such as > "09:55:02.113000". When I query this table I can not get fractional >

Re: [R] How can certain variables be automatically excluded from being saved?

2021-04-01 Thread Ralf Goertz
Am Thu, 1 Apr 2021 08:39:45 -0400 schrieb Duncan Murdoch : > On 01/04/2021 4:05 a.m., Ralf Goertz wrote: > > Hi, > > > > after having read here about the "seed problem" I wonder if there > > is a way to automatically exclude certain variables from being > &

[R] How can certain variables be automatically excluded from being saved?

2021-04-01 Thread Ralf Goertz
Hi, after having read here about the "seed problem" I wonder if there is a way to automatically exclude certain variables from being saved when the workspace image is saved at the end of an interactive session. I have been using .First() and .Last() for ages but apparently they are of no help as

Re: [R] random numbers with constraints

2021-01-27 Thread Ralf Goertz
Am Wed, 27 Jan 2021 09:03:15 +0100 schrieb Denis Francisci : > Hi, > I would like to generate random numbers in R with some constraints: > - my vector of numbers must contain 410 values; > - min value must be 9.6 and max value must be 11.6; > - sum of vector's values must be 4200. > Is there a

Re: [R] loading edited functions already in saved workspace automatically

2017-05-09 Thread Ralf Goertz
Am Tue, 09 May 2017 10:00:17 -0700 schrieb Jeff Newmiller : > This boils down to the fact that some "my ways" are more effective in > the long run than others.. but I really want to address the complaint > > "... sometimes tedious to rebuild my environment by

Re: [R] loading edited functions already in saved workspace automatically

2017-05-09 Thread Ralf Goertz
Am Sat, 6 May 2017 11:17:42 -0400 schrieb Michael Friendly <frien...@yorku.ca>: > On 5/5/2017 10:23 AM, Ralf Goertz wrote: > > Am Fri, 05 May 2017 07:14:36 -0700 > > schrieb Jeff Newmiller <jdnew...@dcn.davis.ca.us>: > > > >> R normally prompts you

Re: [R] loading edited functions already in saved workspace automatically

2017-05-05 Thread Ralf Goertz
Am Fri, 05 May 2017 07:14:36 -0700 schrieb Jeff Newmiller : > R normally prompts you to save .RData, but it just automatically > saves .Rhistory... the two are unrelated. Not here. If I say "n" to the prompted question "Save workspace image? [y/n/c]: " my history

Re: [R] loading edited functions already in saved workspace automatically

2017-05-05 Thread Ralf Goertz
Am Fri, 05 May 2017 06:30:01 -0700 schrieb Jeff Newmiller : > The answer most people seem to use is to avoid depending on functions > in RData files, and in particular avoiding ever saving the > "automatic" ".RData" files at all. (Some people avoid using any RData >

[R] loading edited functions already in saved workspace automatically

2017-05-05 Thread Ralf Goertz
Hi, In short: Is it possible to have the previously saved workspace restored and nevertheless load a function already existing in this workspace via .Rprofile anyway? In detail: I use different directories for different projects. In all those projects I use a function which I therefore try to

Re: [R] readline issue with 3.3.1

2016-07-25 Thread Ralf Goertz
Am Mon, 25 Jul 2016 08:57:17 +0200 schrieb Martin Maechler <maech...@stat.math.ethz.ch>: >> Ralf Goertz <r_goe...@web.de> on Fri, 22 Jul 2016 10:15:36 +0200 >> writes: > >> It would be great if – while fixing this – you also took care of the >> SIGWINCH p

Re: [R] readline issue with 3.3.1

2016-07-22 Thread Ralf Goertz
Am Thu, 21 Jul 2016 18:07:43 +0200 schrieb Martin Maechler <maech...@stat.math.ethz.ch>: > Ralf Goertz <r_goe...@web.de> on Wed, 20 Jul 2016 16:37:53 +0200 > writes: >> I installed readline version 6.3 and the issue is gone. So probably >> some of the recen

Re: [R] readline issue with 3.3.1

2016-07-20 Thread Ralf Goertz
Am Wed, 20 Jul 2016 11:35:31 +0200 schrieb Ralf Goertz <r_goe...@web.de>: > Hi, > > after a recent update to version 3.3.1 on Opensuse Leap I have > problems with command lines longer than the terminal width. E.g. when > I do this I installed readline version 6.3 and

[R] readline issue with 3.3.1

2016-07-20 Thread Ralf Goertz
Hi, after a recent update to version 3.3.1 on Opensuse Leap I have problems with command lines longer than the terminal width. E.g. when I do this > print("This is a very long line which is in fact so long that it gets wrapped while writing it") and then hit enter I end up with: > print("This

[R] cygwin utf-8 problem with help

2012-08-24 Thread Ralf Goertz
Hi, In R under cygwin I have trouble to correctly display help in text format. One problem arises when there are single qoutes in the text like in ?help which looks like this helppackage:utils R Documentation Documentation Description: Usage:

[R] using R's svd from outside R

2010-09-02 Thread Ralf Goertz
Hi, I have to compute the singular value decomposition of rather large matrices. My test matrix is 10558 by 4255 and it takes about three minutes in R to decompose on a 64bit quadruple core linux machine. (R is running svd in parallel, all four cores are at their maximum load while doing this.) I

[R] deleting variables

2008-04-29 Thread Ralf Goertz
How can I automatically exclude one variable from being saved in the workspace when I quit an R session? The problem is I don't know how to erase a variable once it has been created. Background: I open a connection called con to a database server in my ~/.Rprofile. Obviously, the connection

Re: [R] completion doesn't work anymore

2008-04-28 Thread Ralf Goertz
Peter Dalgaard, Montag, 28. April 2008: Peter Dalgaard wrote: The 10.2 version that I just installed does seem to work though: viggo:~/R R version 2.7.0 (2008-04-22) Copyright (C) 2008 The R Foundation for Statistical Computing ISBN 3-900051-07-0 ... air airmilesairquality

[R] Ransac implementation

2008-01-09 Thread Ralf Goertz
Hi, is there an R-implementation of the RANSAC-algorithm? Thanks, Ralf __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide

Re: [R] R-squared value for linear regression passing through origin using lm()

2007-10-18 Thread Ralf Goertz
S Ellison, Donnerstag, 18. Oktober 2007: I think there is reason to be surprised, I am, too. ... What am I missing? Read the formula and ?summary.lm more closely. The denominator, Sum((y[i]- y*)^2) is very large if the mean value of y is substantially nonzero and y* set to 0 as the

Re: [R] library(car): Anova and repeated measures wit hout between subjects factors

2007-10-17 Thread Ralf Goertz
John Fox, Dienstag, 16. Oktober 2007: Dear Ralf, Unfortunately, Anova.mlm(), and indeed Anova() more generally, won't handle a model with only a constant. As you point out, this isn't reasonable for repeated-measures ANOVA, where it should be possible to have only within-subjects factors.