[Rd] behaviour and documentation of qr.solve

2019-08-14 Thread Michael Meyer via R-devel
mposition of t(A) and not of A to compute the minimizer x = argmin_u||Au-y|| which is itself of minimal norm. Or, maybe this is not at all what these functions are doing. But then, what is it and should this not be evident from the documentation? Sincerely, Michael Meyer __

[Rd] inconsistent behaviour of c(...)

2019-07-19 Thread Michael Meyer via R-devel
Greetings, Running R 3.5.0 under Windows 7 typeof(c(1,"2")) yields "character" as expected. But in d.f <- data.frame(C=c(1,"2")) typeof(d.f$C) yields "integer". Is this a bug? Michael Meyer

[Rd] Call for suggestions

2010-07-04 Thread michael meyer
some piecewise linear functions, monomials, and exponential function. My question is: what further parametric models are of sufficiently general interest to be included? Many thanks, Michael Meyer [[alternative HTML version deleted]] __ R-devel

Re: [Rd] C Interface

2010-06-20 Thread michael meyer
Thanks for all replies. I'll use inlining until I have figured out how to build a proper package. Michael [[alternative HTML version deleted]] __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

[Rd] C Interface

2010-06-18 Thread michael meyer
Greetings, I am trying to call simple C-code from R. I am on Windows XP with RTools installed. The C-function is #include #include #include #include // prevent name mangling extern "C" { SEXP __cdecl test(SEXP s){ SEXP result; PROTECT(result = NEW_NUMERIC(1)); double* ptr=NUMERIC_PO