Re: [Rd] noncentral F-distributed random numbers (PR#9055)

2006-07-03 Thread Thomas Lumley
he numerator and the denominator should be divided by > their corresponding degrees of freedom. > Yes. Fixed for 2.4.0. I didn't add a denominator non-centrality parameter, since we don't have code for qf, pf, or df for the doubly non-central distribution. -thomas _

Re: [Rd] attributes of environments

2006-07-05 Thread Thomas Lumley
ather than references then create a list with the environment as an element and put the attributes on the list. -thomas Thomas Lumley Assoc. Professor, Biostatistics [EMAIL PROTECTED] University of Washington, Seattle __

Re: [Rd] attributes of environments

2006-07-05 Thread Thomas Lumley
On Wed, 5 Jul 2006, Gabor Grothendieck wrote: > On 7/5/06, Thomas Lumley <[EMAIL PROTECTED]> wrote: >> On Tue, 4 Jul 2006, Gabor Grothendieck wrote: >> >> > In the code below, e is an environment which we copy to f and then >> > add attributes to e.

Re: [Rd] attributes of environments

2006-07-05 Thread Thomas Lumley
On Wed, 5 Jul 2006, Gabor Grothendieck wrote: > On 7/5/06, Thomas Lumley <[EMAIL PROTECTED]> wrote: >> On Wed, 5 Jul 2006, Gabor Grothendieck wrote: >> >> > On 7/5/06, Thomas Lumley <[EMAIL PROTECTED]> wrote: >> >> On Tue, 4 Jul 2006, Gabor Grothe

Re: [Rd] often unnecessary duplicate in sapply / as.vector

2006-07-07 Thread Thomas Lumley
!is.list(X)) X <- as.list(X) That looks reasonable. > More generally, perhaps as.vector might not duplicate when mode(x) == mode ? > This isn't a trivial change, because mode(x)==mode does not guarantee that as.vector(x, mode) has no effect. For example, with mode="numer

Re: [Rd] often unnecessary duplicate in sapply / as.vector

2006-07-11 Thread Thomas Lumley
On Tue, 11 Jul 2006, Prof Brian Ripley wrote: > On Fri, 7 Jul 2006, Thomas Lumley wrote: > >> On Fri, 7 Jul 2006, Martin Morgan wrote: >> >>> sapply calls lapply as >>> >>>answer <- lapply(as.list(X), FUN, ...) >>> >>> whi

Re: [Rd] often unnecessary duplicate in sapply / as.vector

2006-07-11 Thread Thomas Lumley
iables that it should not have any access to by normal rules. The example of safe use modifies only a newly created, anonymous numeric vector. -thomas > > tmp.c: void tmp(double *x) { x[0]=1; return; } > >> f <- function(x) x >> x <- 0 >> .C("tmp"

Re: [Rd] string-length limitations

2006-07-12 Thread Thomas Lumley
ep="~")) I can run terms(fn(500)) with no problems. This is a 15500 character string, and produces a terms object over a megabyte in size. This suggests that it isn't a string problem, unless you really want formulas larger than this. -thomas Thomas Lumley

Re: [Rd] Bug?: summary() fails after use of na.action="na.exclude" in lm()

2006-07-19 Thread Thomas Lumley
27;na.rm' is FALSE > Yes, I think it's a bug. summary.mlm() produces an object that is a list of objects of class "summary.lm", but these objects get their $resid component from the residuals() function and so NAs in their $resid component where a "summary.lm" produced by summary.lm() would not. -thomas __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] persistent C++ objects

2006-07-24 Thread Thomas Lumley
at will be called when the object is garbage collected, so you can call the destructor from there. AFAICT the only documentation for this is on the developer page, where there is a link to http://www.stat.uiowa.edu/~luke/R/simpleref.html I thought I remembered seeing something else, but I can'

Re: [Rd] .Call question

2006-07-26 Thread Thomas Lumley
-value illusion that R maintains, in two ways. The first is that objects that have shared structure can be modified, the second is that you can create shared structure without R knowing: if you change "element" subsequently then lst1 and lst2 may change. -thomas > > SEXP

[Rd] R CMD SHLIB flags

2006-07-26 Thread Thomas Lumley
be ignored (version 2.3.1, Mac OS X) -thomas Thomas Lumley Assoc. Professor, Biostatistics [EMAIL PROTECTED] University of Washington, Seattle __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] bug with rpois (PR#9106)

2006-07-27 Thread Thomas Lumley
gt; > > Certainly fixed by 2.3.1: > In fact, fixed in 1.2.0, in December 2000. -thomas Thomas Lumley Assoc. Professor, Biostatistics [EMAIL PROTECTED] University of Washington, Seattle __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] R uses private function in libc (PR#9107)

2006-07-28 Thread Thomas Lumley
way to do the same thing on glibc versions that don't provide it. -thomas __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] Any interest in "merge" and "by" implementations specifically for sorted data?

2006-07-31 Thread Thomas Lumley
v. For sums you should look at rowsum(). It uses a hash table in C and last time I looked was faster than using split(). It returns a vector of the same length as the input, but that would easily be fixed. The same approach would work for min, max, range, count, mean, but not for arbitrary

Re: [Rd] C Entry Points

2006-08-02 Thread Thomas Lumley
yPackage.so. Try nm myPackage.so | grep fifrt to list all the symbols containing "fifrt". It should now be clear whether fifrt is there. This will narrow down the problem. -thomas > -- > View this message in context: > http://www.nabble.com/C-Entry-Poi

Re: [Rd] R-2.3.1 on AIX 5.3 installation.

2006-08-02 Thread Thomas Lumley
of int = 4, which is permitted by the C standard, but distinctly unusual. If so, you could delete or #ifdef out the case sizeof(short): lines to remove the duplication. -thomas Thomas Lumley Assoc. Professor, Biostatistics [EMAIL PROTECTED] University of Washi

Re: [Rd] how to test packages under platforms we don't have?

2006-08-04 Thread Thomas Lumley
do not own a Windows box and was unable to > test/debug the build in any way on that platform. > Not really. CRAN does check packages on Linux, Mac OSX and Windows, but there isn't a mechanism for users (or R-developers) to do this on systems they don't have.

Re: [Rd] [R] Successive subsets from a vector?

2006-08-22 Thread Thomas Lumley
sn't been done (which doesn't mean that it shouldn't be done). Providing the ability to write assignment functions that don't duplicate is a more urgent problem. -thomas Thomas Lumley Assoc. Professor, Biostatistics [EMAIL PROTECTED] Univers

Re: [Rd] Strict seq: a recommendation

2006-08-23 Thread Thomas Lumley
fferent from the R loop. If you modify m or end inside the loop the number of iterations of the C loop changes but the number of iterations of the R loop doesn't. R's for() loop just isn't the same as C's. -thomas Thomas Lumley Assoc. Pr

Re: [Rd] Huge matrices in .Call

2006-08-24 Thread Thomas Lumley
f its memory with another variable. However, R does provide external pointer objects as a way to pass objects by reference without breaking the behaviour of the rest of the language. It's more work to use them but cleaner. -thomas Thomas Lumley Assoc. Professor,

Re: [Rd] "+" for character method...

2006-08-27 Thread Thomas Lumley
ot; + 2 + 2 2 + 2 + " = two + two" would be correct? -thomas Thomas Lumley Assoc. Professor, Biostatistics [EMAIL PROTECTED] University of Washington, Seattle __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

[Rd] stop R mainloop without calling exit(1)

2006-08-31 Thread Thomas Kelder
om it without making their application to exit too. I wonder if it's possible to include this possibility in future versions of R. Or do I see this wrong and are there other (easier) solutions to achieve what I want? Thanks in advance for your comments/reactions. Thomas _

Re: [Rd] stop R mainloop without calling exit(1)

2006-08-31 Thread Thomas Kelder
about this already: https://stat.ethz.ch/pipermail/r-devel/2006-April/037219.html). I tried to use the R-devel version to make use of the Rf_endEmbeddedR method, but the error also occurs in this version. Could this be a bug? Thomas 2006/8/31, Prof Brian Ripley <[EMAIL PROTECTED]>: > Anot

[Rd] (PR#9202) Re: Bugs with partial name matching during partial

2006-09-05 Thread Thomas Lumley
It looks like a failure to duplicate. A workaround would be not to modify list elements or database columns that don't exist ;). -thomas __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] (PR#9202) Re: Bugs with partial name matching

2006-09-05 Thread Thomas Lumley
On Tue, 5 Sep 2006, Thomas Lumley wrote: > > The partial matching is fairly deeply built in to complex assignment, > because as evalseq works through the nested calls on the LHS the code > being called doesn't know it is in an assignment call. The problem in > D = list(ABC

Re: [Rd] (PR#9202) Re: Bugs with partial name matching

2006-09-08 Thread Thomas Lumley
gle element? No. > I can get the > desired single element match using the convoluted syntax D["ABC"] > [[1]] and perform partial replacement operations on a new column. > However, it would be nice to have single element access operator that > does exact matching. It wo

Re: [Rd] validity testing as part of '@<-'

2006-09-22 Thread Thomas Lumley
uld be appropriate for a [<- method, which changes the values, but not for a [ method that just extracts a subset. -thomas __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] time_t handling in R

2006-09-27 Thread Thomas Lumley
int are the same so one integer will suffice) -thomas __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] error location

2006-09-29 Thread Thomas Lumley
s the debugger whenever the function f() is called. This lets you get in before the error. There is a section on debugging in the "Writing R Extensions" manual (in sufficiently recent versions of R). -thomas __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

[Rd] operator :: and symbols not in the namespace of a package with a namespace (PR#9279)

2006-10-06 Thread thomas . friedrichsmeier
Full_Name: Thomas Friedrichsmeier Version: 2.4.0 OS: GNU/Linux Submission from: (NULL) (84.61.116.51) Since R 2.4.0, operator "::" also returns objects in the package environment, if the package does not have a namespace. This is a very welcome addition. Additional wish: If a pac

[Rd] PR#9299:Re: Bugs with partial name matching during partial replacement (PR#9299)

2006-10-16 Thread Thomas Lumley
al bug in the subject line you have just filed a new bug report for it. -thomas > ... you are assuming > a certain evaluation order of the 4 "$" operators in > " D$ABC[D$M] = D$V[D$M] " as in: > > temp1 <- D$M # 2nd and

Re: [Rd] Changing function arguments

2006-10-23 Thread Thomas Lumley
is sort of recursive parsing and modification is done by the bquote() function, so you could look there. -thomas Thomas Lumley Assoc. Professor, Biostatistics [EMAIL PROTECTED] University of Washington, Seattle __ R-devel@r-pr

Re: [Rd] Error: invalid multibyte string

2006-10-26 Thread Thomas Lumley
expecting to be x80 and convert that to UTF-8. I'm surprised that one of your UTF-8 machines worked -- I don't think it should. -thomas > ... >> parse(text='"\\xFF"') > Error: invalid multibyte string > > However, > > cat("\x7F\n\x80\

Re: [Rd] Error: invalid multibyte string

2006-10-27 Thread Thomas Lumley
platforms: >> > > >> > >> parse(text='"\\x7F"') >> > > expression("\177") >> > >> parse(text='"\\x80"') >> > > Error: invalid multibyte string and that error *is* correct behaviour -- you can't parse() something that isn't a valid character string. -thomas __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] R GUI API: suggestion for R function to put in there?

2006-10-30 Thread Thomas Friedrichsmeier
tive binding. Once again, more details on request. Of course an easier solution would be very welcome, but it seems to work pretty well. Regards Thomas pgp2KPMwPd6Ta.pgp Description: PGP signature __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

[Rd] Crash when embedding R X11 windows

2006-11-07 Thread Thomas Friedrichsmeier
ontext() may fail in the context of embedding the X11 window. The patch simply checks the return value of XFindContext() for a non-zero (i.e. error) value, and in that case drops out of the function. Does this seem like a valid fix? Should I provide more info?

Re: [Rd] Crash when embedding R X11 windows

2006-11-29 Thread Thomas Friedrichsmeier
Dear R developers, On Tuesday 07 November 2006 15:26, Thomas Friedrichsmeier wrote: > I've been experimenting with embedding R X11 windows into another > application using KDE's QXEmbed on linux. Attempting to do so will crash R > (with R 2.4.0, trunk, and I know the bug has b

Re: [Rd] capturing value of C or Fortran function

2006-12-18 Thread Thomas Lumley
pointer. It seems a lot of extra code for very little extra generality. If someone submitted a patch that also carefully documented that there was no slowdown for .C/.Fortran and no loss of ANSI C conformance it might be considered, but I can't predict any great enthusiasm for it.

Re: [Rd] FW: Passing lists from R to C, extracting elements, and sending lists back again

2006-12-24 Thread Thomas Lumley
rning about incompatible pointer types, but the more important issue is that you need to return pointers to n different blocks of memory that are not going to go away after your function finishes. -thomas > > > for (i=0; i > for (a=0; a

[Rd] proposal: allowing alternative variance estimators in glm/lm

2006-12-27 Thread Thomas Lumley
t the relationship involved is not, strictly speaking, inheritance. They would be quite right. However, unless someone wants to rewrite glm and lm for S4 classes I think that battle is lost. -thomas Thomas Lumley Assoc. Professor, Biostatistics [EMAIL PROT

Re: [Rd] proposal: allowing alternative variance estimators in glm/lm

2007-01-02 Thread Thomas Lumley
posal was just to allow predict.lm and summary.lm to be used in cases where they already give the right sort of results and in addition to tidy up the duplication of variance-matrix code. -thomas __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] Which programming paradigm is the most used for make R packages?

2007-01-04 Thread Thomas Lumley
tive then CRAN and Bioconductor are available for sampling.... -thomas Thomas Lumley Assoc. Professor, Biostatistics [EMAIL PROTECTED] University of Washington, Seattle __ R-devel@r-project.org mailing list https://s

[Rd] PR#9279 is not fulfilled

2007-01-15 Thread thomas . friedrichsmeier
. Regards Thomas Friedrichsmeier __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] incorrect result of deriv (PR#9449)

2007-01-16 Thread Thomas Lumley
'tan', 'sinh', 'cosh', 'sqrt', 'pnorm', 'dnorm', 'asin', 'acos', 'atan', 'gamma' and 'lgamma'. (Note that only the standard normal distribution is considered.) -thomas

Re: [Rd] Why does not the command 'length(a <- 1:5) <- 4' not work?

2007-01-16 Thread Thomas Lumley
length(a <- 1:5) <- 4 is rewritten as (a<-1:5) <- "length<-"(a<-1:5, 5) and then as a <- "<-<-"(a, "length<-"(a<-1:5, 5)) which gives the error you report -- there is no function "<-<-". You might th

[Rd] R_ParseVector API change

2007-01-17 Thread Thomas Friedrichsmeier
make sure the next release of RKWard will be compilable with R 2.5.0, I'd like to make sure, whether or not the change is here to stay. Regards Thomas Friedrichsmeier pgpkvniKL3of2.pgp Description: PGP signature __ R-devel@r-project.org mailing

[Rd] Emulating a REPL in frontends

2007-01-18 Thread Thomas Friedrichsmeier
DLLdo1() and friends, which could then be simplified to use this function, internally. Regards Thomas Friedrichsmeier /* print mode: 0: print if visible. 1: always print 2: never print */ SEXP R_DLLGenericEplDo1 (unsigned char *buffer, ParseStatus *parse_status, Rboolean set_last_sym_value,

[Rd] Better error message in loadNamespace

2018-01-22 Thread Thomas Lin Pedersen
. I can open a bug report if you wish, but I would require a bugzilla account for that. Otherwise you’re also welcome to take it from here. With best wishes Thomas Lin Pedersen __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r

Re: [Rd] Better error message in loadNamespace

2018-01-22 Thread Thomas Lin Pedersen
> On 22 Jan 2018, at 16.21, Martin Maechler wrote: > >>>>>> Thomas Lin Pedersen mailto:thomas...@gmail.com>> >>>>>>on Mon, 22 Jan 2018 14:32:27 +0100 writes: > >> Hi I’ve just spend a bit of time debugging an error >> arising

[Rd] Mention L suffix in integer man page?

2018-05-15 Thread Thomas J. Leeper
eference to the `? NumericConstants` man page and/or a cross-reference to the `? ':'` or `? seq` man pages, which describe how particularities of how integer sequences can be (reliably) constructed. Again, just a suggestion. -Thomas Thomas J. Leeper ___

Re: [Rd] Where does L come from?

2018-08-26 Thread Thomas J. Leeper
As long as we're on this point about not many users knowing about "L" notation, I'm going bump my earlier suggestion that it be at least mentioned in the `? integer` documentation page: https://stat.ethz.ch/pipermail/r-devel/2018-May/076203.html Cheers, -Thomas > Fro

[Rd] Better cleanup of example session during check

2018-11-12 Thread Thomas Lin Pedersen
{} block, it appears to me that it would be better if cleanEx() did a cleaning of the environment along with a single gc call prior to performing any checks on the end state. Is this something you would consider? best Thomas Lin Pedersen [[alternative HTML version

[Rd] Return/print standard error in t.test()

2019-02-21 Thread Thomas J. Leeper
print() method isn’t updated? Or, better, update the print() method to display this as well? Best, Thomas [1] https://twitter.com/amandayagan/status/1098314654470819840?s=21 -- Thomas J. Leeper http://www.thomasleeper.com [[alternative HTML version deleted

Re: [Rd] Return/print standard error in t.test()

2019-02-21 Thread Thomas J. Leeper
print() method unchanged and simply returning the SE as an additional element should affect almost nothing. I’m all for continuity and conservative development, but we also should aim to make R as useful and usable as possible. This seems like a nice simple way to do that. Best, Thomas On Thu, 21

Re: [Rd] Return/print standard error in t.test()

2019-02-23 Thread Thomas J. Leeper
That seems great to me. Thank you very much! -Thomas On Sat, Feb 23, 2019 at 11:14 AM Martin Maechler wrote: > > >>>>> peter dalgaard > >>>>> on Fri, 22 Feb 2019 12:38:14 +0100 writes: > > > It's not a problem per se to put additio

Re: [Rd] R-devel Digest, Vol 148, Issue 5

2015-06-05 Thread Thomas J. Leeper
It's disappointing that many packages do not have a NEWS file. Perhaps CRAN should require NEWS or CHANGELOG, as long as the system is being reformed to potentially accommodate markdown anyway. -Thomas Thomas J. Leeper http://www.thomasleeper.com On Fri, Jun 5, 2015 at 12:00 PM,

Re: [Rd] NEWS.md support on CRAN

2015-06-05 Thread Thomas J. Leeper
pect other new package authors might be in the same place (i.e., just not aware that such a file is helpful for end users). Thomas J. Leeper http://www.thomasleeper.com On Fri, Jun 5, 2015 at 6:32 PM, Duncan Murdoch wrote: > On 05/06/2015 8:16 AM, Thomas J. Leeper wrote: >> >> It&#

[Rd] Documentation of model.frame() and get_all_vars()

2017-03-26 Thread Thomas J. Leeper
s, new = 2) : variable lengths differ (found for '(new)') But, maybe that's something for the "Details" section? (Or it's a bug - I don't really know.) Thanks in advance for your consideration. Best, -Thomas Thomas J. Leeper http://www.thomasleeper.com __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

[Rd] get_all_vars() does not handle rhs matrices in formulae

2017-03-30 Thread Thomas J. Leeper
`variables` to the wrong structure (making a three-column data frame instead of a two-column data frame) and therefore misnames the resulting columns. I unfortunately don't know the most sensible/general way to solve this, otherwise I would submit a patch. Anyone know how to fix this last line? Best, -Thomas Thomas J. Leeper http://www.thomasleeper.com __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

[Rd] Internet access and R CMD make check-devel

2020-10-05 Thread Thomas J. Leeper
ible? Or, make tests that require internet access into a distinct `check-internet` or similar? As an additional reference, the same conditional statement appears to also be used in these other tests: https://svn.r-project.org/R/trunk/tests/CRANtools.R https://svn.r-project.org/R/trunk/tests/libcurl.R

Re: [Rd] Internet access and R CMD make check-devel

2020-10-05 Thread Thomas J. Leeper
Thanks, Gabe and Gabor. In my case it causes a non-zero status and fails the check-devel step. I’ll definitely fall back to modifying the code but it doesn’t seem like this is exactly the intended behavior of the tests. -Thomas El El lun, 5 oct 2020 a las 19:42, Gabriel Becker escribió

[Rd] Graphical parameters xaxs/yaxs

2014-02-18 Thread Thomas J. Leeper
" Should the plot.window documentation be corrected to say "r" is the default or am I missing something? Thanks, -Thomas Thomas J. Leeper http://www.thomasleeper.com __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] [R logs] Help in develop a simply logs package

2014-10-08 Thread Thomas J. Leeper
s to the widget instead of the console. Following this design, instead of writing to the widget, you could write all of that to some kind of formatted log file. The package is on CRAN and you can take quick look at the source code on GitHub: https://github.com/leeper/rite/blob/master/R/rit

[Rd] Bug in URLencode and patch

2015-01-11 Thread Thomas J. Leeper
lowercase digits 'a' through 'f', respectively. If two URIs differ only in the case of hexadecimal digits used in percent-encoded octets, they are equivalent. For consistency, URI producers and normalizers should use **uppercase** hexadecimal dig

[Rd] Display instruction text on package load

2012-04-08 Thread Thomas J. Leeper
ve. Thanks for your help! And sorry if there's an obvious answer to this that I am oblivious to. -Thomas -- Thomas J. Leeper PhD Candidate, ABD Department of Political Science Northwestern University lee...@u.northwestern.edu http://www.thomasleeper.com

Re: [Rd] Display instruction text on package load

2012-04-08 Thread Thomas J. Leeper
Great! I will look into .onAttach, .onLoad, and packageStartupMessage. Thanks so much! -Thomas On Sat, Apr 7, 2012 at 4:27 PM, Thomas J. Leeper wrote: > I'm currently working on a new package for R that interfaces with an API. > Most of the package's functionality requires us

[Rd] how to control the environment of a formula

2013-04-18 Thread Thomas Alexander Gerds
re a better way to tell formula not to copy unrelated stuff into the associated environment? 3) why does object.size not show the size of the environments that formulas can carry along? Regards Thomas -- Thomas A. Gerds -- Assoc. Prof. Department of Biostatistics University o

Re: [Rd] how to control the environment of a formula

2013-04-18 Thread Thomas Alexander Gerds
Dear Duncan thank you for taking the time to answer my questions! It will be quite some work to delete all the objects generated inside the function ... but if there is no other way to avoid a large environment then this is what I will do. Cheers Thomas Duncan Murdoch writes: > On 13-04-1

Re: [Rd] how to control the environment of a formula

2013-04-19 Thread Thomas Alexander Gerds
g/tmp/x.rda can you solve this as well? thanks! thomas Duncan Murdoch writes: > On 13-04-18 11:39 AM, Thomas Alexander Gerds wrote: >> Dear Duncan >> thank you for taking the time to answer my questions! It will be >> quite some work to delete all the objects generated ins

Re: [Rd] how to control the environment of a formula

2013-04-20 Thread Thomas Alexander Gerds
et is invisibly sitting in the saved file. Duncan Murdoch writes: > On 13-04-19 2:57 PM, Thomas Alexander Gerds wrote: >> hmm. I have tested a bit more, and found this perhaps more difficult >> solve situation. even though I delete x, since x is part of the >> output of th

[Rd] Defining a S4 method for existing function interaction.plot

2009-06-08 Thread Thomas Roth (geb. Kaliwe)
Is there a solution that keeps the original interaction.plot and lets me define a interaction.plot for objects of my S4-Class? Thank you for your time Thomas Roth __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

[Rd] S4 coerce as.data.frame for lm

2009-03-12 Thread Thomas Roth (geb. Kaliwe)
frame for class test setMethod("as.data.frame", "test", function(x, row.names = NULL, optional = FALSE) { return(x...@data) } ) as.data.frame(temp) #works lm(eruptions ~ waiting, data = temp) #doesn't work #Thank you for any hints #Thomas Roth #from the lm help

Re: [Rd] R problems with lapack with gfortran

2019-05-13 Thread Thomas Koenig via R-devel
the compiler expects. I checked, and it appears that at least ifort uses the same convention as gfortran 8/9 regarding character argument passing. Regards Thomas __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

[Rd] Surpising behavior when using an active binding as loop index in R 4.0.0

2020-05-23 Thread Thomas Friedrichsmeier via R-devel
or(i in 2:3) print(i) # output [1] "set" #NULL #NULL print(i) # output NULL print(x) # output NULL i <- 4 # output "set" print(i) # ouput [1] 4 print(x) # ouput [1] 4 Reg

Re: [Rd] Surpising behavior when using an active binding as loop index in R 4.0.0

2020-05-23 Thread Thomas Friedrichsmeier via R-devel
Possibly just a symptom of the earlier behavior, but I'll amend my example, below, with an even more disturbing observation: Am Sat, 23 May 2020 13:19:24 +0200 schrieb Thomas Friedrichsmeier via R-devel : [...] > Consider the code below: > > makeActiveBinding("i",

Re: [Rd] as.data.frame() methods for model objects

2025-01-17 Thread SOEIRO Thomas via R-devel
d confidence intervals for model + estimates. } \section{Using time series}{ Considerable care is needed when using \code{lm} with time series. De : Martin Maechler [mailto:maech...@stat.math.ethz.ch] Envoyé : vendredi 17 janvier 2025 17:04 À : SOEIRO Thomas Cc : r-devel@r-project.o

[Rd] as.data.frame() methods for model objects

2025-01-16 Thread SOEIRO Thomas via R-devel
70 -0.07210825 0.5165527 4tensionH 0. 0.03100435 0.03900286 0.6276638 Thank you. Best regards, Thomas __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] as.data.frame() methods for model objects

2025-01-17 Thread SOEIRO Thomas via R-devel
profiling to be done... term estimate std.error statisticp.value conf.low conf.high 1 (Intercept) 1.076887 0.1226144 0.6041221 0.54849393 0.8468381 1.369429 2 woolB 1.076887 0.1226144 0.6041221 0.54849393 0.8468381 1.369429 3tensionM 1.248849 0.1501714 1.479790

<    1   2   3   4   5