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

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

[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] Documentation of addmargins

2021-12-07 Thread SOEIRO Thomas
:59 À : SOEIRO Thomas; R Development List Objet : RE: Documentation of addmargins EMAIL EXTERNE - TRAITER AVEC PRÉCAUTION LIENS ET FICHIERS Thomas SOEIRO wrote: > Dear list, > There is a minor typo in addmargins (section Details): > - If the functions used to form margins are not commutat

[Rd] Documentation of addmargins

2021-12-07 Thread SOEIRO Thomas
. Of course this is minor, but imho one of the strengths of R is also its documentation! Best, Thomas __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

[Rd] Add ... to Reduce?

2021-12-01 Thread SOEIRO Thomas
for similar functions), I suspect that I am missing something... Best, Thomas dfs <- list(x = warpbreaks) dfs$x$id <- seq_along(dfs$x$breaks) dfs$y <- dfs$x[1:15, ] dfs$z <- dfs$x[20:35, ] identical( Reduce(function(...) merge(..., by = "id", all = TRUE), dfs), Reduc

[Rd] documentation of asplit

2021-11-19 Thread SOEIRO Thomas
") since `apply` recently gained a `simplify` argument. Best, Thomas __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

[Rd] Potential bugs in table dnn

2021-10-24 Thread SOEIRO Thomas
Dear Martin, Should I finally report a bug for this (these?) remaining issue as initially agreed? Best regards, Thomas > > Dear Martin, > > > > Thank you for the perfect fix. It fixes both issues in the 1-dim case (i.e. > > automatic dnn *and* disregard dnn/names

[Rd] Potential improvements of ave?

2021-10-24 Thread SOEIRO Thomas
#x27;t think we expose it at the R level, though it is part > > of the official C API. I don't know of any plans for this to change, but I > > suppose it could. Plus for functions in R itself, we could even use it > > without exposing it more widely. A number of func

[Rd] Potential bugs in table dnn

2021-10-15 Thread SOEIRO Thomas
s should be an error? > > table(warpbreaks[2], warpbreaks[3]) > # > # 1:3 > # 1:2 0 > # Warning messages: > # 1: In xtfrm.data.frame(x) : cannot xtfrm data frames > # 2: In xtfrm.data.frame(x) : cannot xtfrm data frames > > Best regards, > > Thomas >

Re: [Rd] Potential bugs in table dnn

2021-10-14 Thread SOEIRO Thomas
# Warning messages: # 1: In xtfrm.data.frame(x) : cannot xtfrm data frames # 2: In xtfrm.data.frame(x) : cannot xtfrm data frames Best regards, Thomas > -Message d'origine- > De : Martin Maechler [mailto:maech...@stat.math.ethz.ch] > Envoyé : jeudi 14 octobre 2021 11:4

Re: [Rd] Potential bugs in table dnn

2021-10-13 Thread SOEIRO Thomas
arpbreaks[2], dnn = letters[1]) # as documented > # a > # A B > # 27 27 > > table(zzz = warpbreaks[2], dnn = letters[1]) # as documented > # a > # A B > # 27 27 > > table(zzz = warpbreaks$wool, dnn = letters[1]) # as documented > # a > # A B >

[Rd] Potential bugs in table dnn

2021-10-10 Thread SOEIRO Thomas
e même longueur que le vecteur [1] Best regards, Thomas __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] trunc.Date and round.Date + documentation of DateTimeClasses

2021-09-30 Thread SOEIRO Thomas
voyé : jeudi 30 septembre 2021 15:27 À : SOEIRO Thomas Cc : r-devel@r-project.org; Dirk Eddelbuettel Objet : Re: [Rd] trunc.Date and round.Date + documentation of DateTimeClasses EMAIL EXTERNE - TRAITER AVEC PRÉCAUTION LIENS ET FICHIERS Excuse the exceptional top-reply: Note that a very related issue

Re: [Rd] trunc.Date and round.Date + documentation of DateTimeClasses

2021-09-30 Thread SOEIRO Thomas
c.Date manage fractional days with round(x - 0.499).) -Message d'origine- De : SOEIRO Thomas Envoyé : mercredi 29 septembre 2021 17:00 À : 'r-devel@r-project.org' Objet : trunc.Date and round.Date + documentation of DateTimeClasses Dear All, 1) trunc.Date and round.Dat

[Rd] trunc.Date and round.Date + documentation of DateTimeClasses

2021-09-29 Thread SOEIRO Thomas
DateTimeClasses: It may be useful to add in the documentation of DateTimeClasses that manipulating elements of POSIXlt objects may results in "invalid" entries (e.g., mon = 12 or mday = 0), but that the object is nevertheless correctly printed/coerced. Is this behavi

Re: [Rd] sep hard coded in write.ftable

2021-09-02 Thread SOEIRO Thomas
There is a small typo in the NEWS file: write.table -> write.ftable -Message d'origine- De : SOEIRO Thomas Envoyé : jeudi 2 septembre 2021 13:10 À : 'Martin Maechler' Cc : r-devel@r-project.org Objet : RE: [Rd] sep hard coded in write.ftable Dear Martin, Thank you

Re: [Rd] sep hard coded in write.ftable

2021-09-02 Thread SOEIRO Thomas
Dear Martin, Thank you very much for your prompt feedback! Best regards, Thomas -Message d'origine- De : Martin Maechler [mailto:maech...@stat.math.ethz.ch] Envoyé : jeudi 2 septembre 2021 11:30 À : SOEIRO Thomas Cc : r-devel@r-project.org Objet : Re: [Rd] sep hard cod

[Rd] sep hard coded in write.ftable

2021-09-01 Thread SOEIRO Thomas
t; write.table(sep = ";", row.names = FALSE, col.names = FALSE) ftable(formula = wool + tension ~ breaks, data = warpbreaks) |> write.ftable2(sep = ";") Best regards, Thomas __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

[Rd] Potential improvements of ave? (Act 2)

2021-04-17 Thread SOEIRO Thomas
ust match the type of FUN(x) and warn for coercion? - Could ave be more flexible (i.e. allow different type of x and FUN(x)) if using another approach than x[i] <- value[[j]] in split<-.default for recycling?   This has already been discussed on r-help and stackoverflow (e.g. https://stat.ethz.ch/pipermail/r-help/2016-November/442855.html)   Best,   Thomas __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

[Rd] reshape documentation

2021-04-17 Thread SOEIRO Thomas
nette also seems an excellent idea. These changes will probably helps numerous users. Best, Thomas On Wed, Mar 17, 2021 at 7:55 PM Michael Dewey wrote: > > Comments in line > > On 13/03/2021 09:50, SOEIRO Thomas wrote: > > Dear list, > > > > I have some questio

Re: [Rd] Potential improvements of ave?

2021-03-16 Thread SOEIRO Thomas
k about it? (i.e is it relevant for a patch?) Thanks, Thomas > > De : Abby Spurdle > Envoyé : lundi 15 mars 2021 10:22 > À : SOEIRO Thomas > Cc : r-devel@r-project.org > Objet : Re: [Rd] Potential improvements of ave? > > H

Re: [Rd] Potential improvements of ave?

2021-03-15 Thread SOEIRO Thomas
Hi Abby, Thank you for your positive feedback. I agree for your general comment about sorting. For ave specifically, ordering may not help because the output must maintain the order of the input (as ave returns only x and not the entiere data.frame). Thanks, Thomas

Re: [Rd] Potential improvements of ave?

2021-03-13 Thread SOEIRO Thomas
in my previous message). ____ De : SOEIRO Thomas Envoyé : vendredi 12 mars 2021 23:59 À : r-devel@r-project.org Objet : Potential improvements of ave? Dear all, I have two questions/suggestions about ave, but I am not sure if it's relevant for bug reports. 1) I

[Rd] reshape documentation

2021-03-13 Thread SOEIRO Thomas
_2hr", "conc_3hr", "conc_4hr", "conc_5hr", "conc_6hr", "conc_8hr"))) Thanks, Thomas __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

[Rd] Potential improvements of ave?

2021-03-12 Thread SOEIRO Thomas
stat.ethz.ch/pipermail/r-devel/2011-February/059947.html). Is it relevant/possible to expose the drop argument explicitly? Thanks, Thomas __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

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] 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] 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",

[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

[Rd] Patch proposal for bug 17770 - xtabs does not act as documented for na.action = na.pass

2020-05-21 Thread SOEIRO Thomas
na.action = na.omit) # group # a b # 1 1 The example works as documented if we change the code to: na.rm <- identical(naAct, quote(na.pass)) || identical(naAct, na.pass) || identical(naAct, "na.pass") However, there may be something I am miss

Re: [Rd] justify hard coded in format.ftable

2020-05-15 Thread SOEIRO Thomas
in the documentation) would facilitate the reuse of ftable results for further analysis. Thank you very much, Thomas > If you are looking at ftable could you also consider adding a way to convert > an ftable into a usable data.frame such as the ftable2df function defined > here

Re: [Rd] justify hard coded in format.ftable

2020-05-14 Thread SOEIRO Thomas
course it's >> not meant to be, but I'm not used to the R mailing lists... > > well, there could be said much, and many stories told here ... ;-) > >> Thank you in advance for your comments, >> >> Best, >> Thomas > > The main reasons for &

Re: [Rd] justify hard coded in format.ftable

2020-05-13 Thread SOEIRO Thomas
meant to be, but I'm not used to the R mailing lists... Thank you in advance for your comments, Best, Thomas > Dear all, > > justify argument is hard coded in format.ftable: > > cbind(apply(LABS, 2L, format, justify = "left"), > apply(DATA, 2L, form

[Rd] justify hard coded in format.ftable

2020-05-10 Thread SOEIRO Thomas
ults to c("left", "right") for backward compatibility. It could then allow: ftab <- ftable(wool + tension ~ breaks, warpbreaks) format.ftable(ftab, justify = c("none", "none")) Best regards, Thomas __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] Give update.formula() an option not to simplify or reorder the result -- request for comments

2019-05-27 Thread Thomas Mailund
no preference whatsoever. Cheers Thomas On 25 May 2019 at 00.59.44, Abby Spurdle (spurdl...@gmail.com<mailto:spurdl...@gmail.com>) wrote: > Martin Maechler has asked me to send this to R-devel for discussion > after I submitted it as an enhancement request ( > https://bug

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

Re: [Rd] R optim(method="L-BFGS-B"): unexpected behavior when working with parent environments

2019-05-06 Thread Thomas Petzoldt
It seems that it's an old bug that was found in some other packages, but at that time not optim: https://bugs.r-project.org/bugzilla/show_bug.cgi?id=15958 and that Duncan Murdoch posted a patch already last Friday :) Thomas Am 06.05.2019 um 16:40 schrieb Ben Bolker: That's cons

Re: [Rd] R problems with lapack with gfortran

2019-05-04 Thread Thomas König
Hi Steve, With the caveat that one may need to use the VALUE attribute to account for pass-by-value vs pass-by-reference. LAPACK should be all pass by reference, it is old F77-style code (except that the odd ALLOCATABLE array has snuck in in the testing routines).

Re: [Rd] R problems with lapack with gfortran

2019-05-04 Thread Thomas König
back in the dark ages?). We're willing to do reasonable things :-) but so far all of the options we have come up with have very serious drawbacks (see the link to the PR at the top). If you come up with a suggestion, we'd be more than happy to look at it. I think the best option would

Re: [Rd] R problems with lapack with gfortran

2019-05-03 Thread Thomas König
Hi Tomas, thanks a lot for your analysis. I have created https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90329 for this, and put you in CC (if your e-mail address for GCC bugzilla is still current). Regards Thomas __ R-devel@r-project.org

Re: [Rd] configure script issue with -flto with recent gcc and system ar/ranlib

2019-04-25 Thread Thomas König
Hi Tomas, On 4/23/19 2:59 PM, Thomas König wrote: Hi, there can be an issue with recent gcc where the system-installed "ar" and "ranlib" commands cannot handle LTO binaries.  On compilation, this manifests itself with error messages claiming that they need extra plugi

[Rd] R problems with lapack with gfortran

2019-04-25 Thread Thomas König
lds it as a shared library. Offhand, I did not see any way to build a *.a file instead, so I could not use LTO to check for mismatched prototypes between R and LAPACK. Of course, I cannot be sure that this is really the root cause of the problem you are seeing,but it does s

[Rd] configure script issue with -flto with recent gcc and system ar/ranlib

2019-04-24 Thread Thomas König
AR=gcc-ar RANLIB=gcc-ranlib ./configure --enable-lto so it is not a big issue, but it would still be nicer if the configure script tested the functionality of ar and ranlib itself and would select the appropriate one accordingly. This is with R version 3.5.3. Reg

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] 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

[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] Documentation examples for lm and glm

2018-12-16 Thread Thomas Yee
think it should go a little further by actively discouraging its use in the first place. I do not wish to be contentious on all this... just encouraging good practice that's all. cheers Thomas On 17/12/18 12:26 PM, Achim Zeileis wrote: On Sat, 15 Dec 2018, frede...@ofb.net wrote: I agree

[Rd] Documentation examples for lm and glm

2018-12-13 Thread Thomas Yee
like in the lm() example. Rather than attached improved .Rd files here, they are put at www.stat.auckland.ac.nz/~yee/Rdfiles You are welcome to use them! Best, Thomas __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

[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

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

Re: [Rd] Bug 16719: kruskal.test documentation for formula

2018-06-19 Thread Thomas Levine
Thomas Levine writes: > I have yet to find any example of my proposed changes causing a > regression. I believe that the most reasonable thing that it might > break is something that depends on either kruskal.test raising an > error or that depends on the specific text in the error mes

Re: [Rd] Bug 16719: kruskal.test documentation for formula

2018-06-19 Thread Thomas Levine
Thomas Levine writes: > I submit a couple options for addressing bug 16719: kruskal.test > documentation for formula. > https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=16719 > > disallow-character.diff changes the documentation and error message > to indicate that fa

[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 ___

[Rd] Bug 16719: kruskal.test documentation for formula

2018-04-23 Thread Thomas Levine
I submit a couple options for addressing bug 16719: kruskal.test documentation for formula. https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=16719 disallow-character.diff changes the documentation and error message to indicate that factors are accepted. allow-character.diff changes the kruska

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] 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] Wayback and related questions (was: RE: I have corrected a dead link ...)

2017-09-02 Thread Thomas Levine
> If the R project cannot use or reference any site that uses non-open > code, including minified javascript - which appears to be the > principle issue for GitHub - I suspect that you will be obliged to > discontinue links to almost every journal, university, charity, > government and research est

Re: [Rd] I have corrected a dead link in the treering documentation

2017-09-01 Thread Thomas Levine
Martin Maechler writes: > There may be one small problem: IIUC, the wayback machine is a > +- private endeavor and really great and phantastic but it does > need (US? tax deductible) donations, https://archive.org/donate/, > to continue thriving. > This makes me hesitate a bit to link to it within

Re: [Rd] I have corrected a dead link in the treering documentation

2017-08-31 Thread Thomas Levine
This dead link is still present in the svn HEAD. __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

[Rd] I have corrected a dead link in the treering documentation

2017-07-28 Thread Thomas Levine
The attached patch corrects a dead link in the treering documentation. The URL in the manual [1] refers to a personal home page belonging to Christine Hallman (user "hallman") on the website of the University of Arizona Laboratory of Tree-Ring Research (LTRR). It seems that the LTRR personal homep

[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] 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] rnbinom Returns Error that says optional argument is missing

2017-01-31 Thread Thomas Roh
stop("'prob' and 'mu' both specified") .Call(C_rnbinom_mu, n, size, mu) } else .Call(C_rnbinom, n, size, prob) } -- Thomas Roh thms...@gmail.com [[alternative HTML version deleted]] __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] CRAN packages maintained by you

2016-09-02 Thread Thomas Petzoldt
Am 02.09.2016 um 16:02 schrieb Dirk Eddelbuettel: On 2 September 2016 at 14:54, Thomas Petzoldt wrote: | Hi, | | I have the same problem and, at a first look, the issues reported by the | CRAN checks seemed easy to fix. However, after checking it again locally | and on http://win-builder.r

Re: [Rd] CRAN packages maintained by you

2016-09-02 Thread Thomas Petzoldt
Many thanks for clarification, Thomas Am 28.08.2016 um 23:48 schrieb Roger Koenker: Hi Kurt, I have started to look into this, and I need some guidance about how to prioritize my repairs. There are basically 4 categories of warnings from gfortran’s pedantic critique of my packages:

Re: [Rd] JDataFrame API

2016-01-15 Thread Thomas Fuller
"def numbers = numberList.toArray()", "def result = [strings, numbers]", "return (Object[]) result", sep="\n") result <- Evaluate (groovyScript=groovyScript) temp <- lapply(result, .jevalArray) On Fri, Jan 15, 2016 at 1:58 PM, Simon Ur

Re: [Rd] JDataFrame API

2016-01-15 Thread Thomas Fuller
ually. Interestingly, the JSON encoding is using all 16 cores, so > the 2.7s real time add up to over 20s CPU time so on smaller machines you may > see more overhead. > > If you need process separation, it may be a different story - in principle it > is faster to use more native ser

[Rd] JDataFrame API

2016-01-14 Thread Thomas Fuller
Hi Folks, If you need to send data from Java to R you may consider using the JDataFrame API -- which is used to convert data into JSON which then can be converted into a data frame in R. Here's the project page: https://coherentlogic.com/middleware-development/jdataframe/ and here's a partial e

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&#

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,

[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] call r function in c++ application

2014-12-30 Thread blesson thomas
hi, Am a software developer having 4 yr experience in c++.I want to integrate R environment in my c++ application,please help me to do so. thanks®ards blesson [[alternative HTML version deleted]] __ R-devel@r-project.org mailing list http

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] unexpected behavior of <<- in nlm (lazy?)

2014-09-02 Thread Thomas Petzoldt
functions worked as expected. See example below. The symptom is that super assignments (<<-) of unmodified variables lead to "references" instead of copies. Thomas Petzoldt and Karline Soetaert ## -- ## Unexpected behavior: #

Re: [Rd] capture.output on S4 slot

2014-08-19 Thread Thomas Lumley
rsity of Sydney > Camperdown NSW 2050 > Australia Dario, When you use the constructor, the environment of the function is the environment inside the constructor; when you use new() it is R_GlobalEnv The way functions print is that they print their environment when it isn't

Re: [Rd] Why did R 3.0's resolveNativeRoutine remove full-search ability?

2014-04-23 Thread Thomas Lumley
y instead. > As a follow-up to this, note that with traditional Unix symbol resolution it was forbidden to have two different routines with the same name linked into an object. That just isn't an option for R because of the package system. This isn't theoretical: the PACKAG

Re: [Rd] R 3.1.0: 'R CMD Sweave' deletes non tex files created upon batch mode exit

2014-04-22 Thread Thomas Rusch
ot printing information to stdout for R CMD Sweave is intended or not, but I thought I'll report it along with confirming R CMD Sweave no works again for me. Best wishes Thomas > sessionInfo() R Under development (unstable) (2014-04-22 r65449) Platform: x86_64-unknown-linux-gnu

Re: [Rd] internal copying in R (soon to be released R-3.1.0

2014-03-18 Thread Thomas Lumley
ons that way, you need to make potentially unsafe assumptions. For example, that you can't get an error halfway up a chain of nested complex assignments when it's too late to back out of the expression. -thomas -- Thomas Lumley Professor of Biostatistics University of Auckland

[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] numerical issue in contour.default?

2013-09-13 Thread Thomas Petzoldt
On 13.09.2013 16:44, Prof Brian Ripley wrote: On 13/09/2013 15:14, Duncan Murdoch wrote: On 13/09/2013 10:01 AM, Thomas Petzoldt wrote: Dear R developers, I found a small issue while plotting contours of data containing both "usual" and "very small" numbers. It appeared w

[Rd] numerical issue in contour.default?

2013-09-13 Thread Thomas Petzoldt
e? Thanks a lot for developing this great software! Thomas Example: set.seed(357) z1 <- matrix(runif(100, -1e-180, 1e-180), nrow = 10) contour(z1)# ok z2 <- matrix(c(runif(50, -1, 1), runif(50, -1e-180, 1e-180)), nrow = 10) contour(z2) # Error in contour.default(z) : k !=

[Rd] readChar and blocking connections

2013-08-14 Thread Thomas Lumley
atural to retry until the requested data are available? -thomas -- Thomas Lumley Professor of Biostatistics University of Auckland [[alternative HTML version deleted]] __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] RFC: R_data_class as part of the C-API

2013-04-28 Thread Thomas Friedrichsmeier
Hi, On Friday 26 April 2013 21:07:00 Laurent Gautier wrote: [...] > SEXP R_data_class(SEXP obj, Rboolean singleString) > ``` > > I am obviously writing this because I'd wish to see it in the API, [...] I'd like to second this request, as we'd have use for this in R

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

Re: [Rd] Linux distribution with gcc 4.8 and AddressSanitizer -- solved

2013-04-20 Thread Thomas Petzoldt
our help and the great R system! Thomas P. -- Thomas Petzoldt Technische Universitaet Dresden Faculty of Environmental Sciences Institute of Hydrobiology 01062 Dresden, Germany E-Mail: thomas.petzo...@tu-dresden.de http://tu-dresden.de/Members/thomas.petzo

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] Linux distribution with gcc 4.8 and AddressSanitizer ?

2013-04-19 Thread Thomas Petzoldt
On 18.04.2013 18:05, José Matos wrote: On Thursday 18 April 2013 17:38:06 Thomas Petzoldt wrote: Dear R developers, I've got an information from Prof. Ripley regarding a bug found with AdressSanitizer in one of our packages. It is now fixed, thank you for this information. Now, I would

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

[Rd] Linux distribution with gcc 4.8 and AddressSanitizer ?

2013-04-18 Thread Thomas Petzoldt
ere a recommendation of a suitable Linux distribution with gcc 4.8, ideally an ISO image or (even better) a virtual appliance for VMware or VirtalBox? My Debian Wheezy machines have only 4.7.2. Thank you Thomas Petzoldt -- Dr. Thomas Petzoldt Technische Universitaet Dresden Faculty of Environm

[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

[Rd] R 3.0 in newsticker of German computer magazine c't

2013-04-05 Thread Thomas Petzoldt
Thanks to you all for your great work! Thomas Petzoldt __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] Registering method for "t.test"

2013-03-14 Thread Thomas Lumley
.) > > > Is there any workaround or do I have to rename the t.test.speclib function > to > something like t_test.speclib? > > Thank you in advance > > Lukas > [[alternative HTML version deleted]] > > __ > R-

[Rd] Printing warning messages around R_tryEval

2013-03-06 Thread Thomas Friedrichsmeier
there is an internal call printDeferredWarnings(), which seems to be almost exactly what I want. However, using an .Internal() does not look like a terribly stable solution, either. Also, having direct access to a similar function from the C-API would be very comfortable. Thanks! Thomas

Re: [Rd] nobs() with glm(family="poisson")

2013-02-28 Thread Thomas Lumley
he log(n) term is kept and various terms of order 1 are discarded. What we're arguing about is one of the O(1) terms. If it makes an important difference then presumably we should also worry about the other O(1) terms that got discarded. -thomas -- Thomas Lumley Professor of Biost

[Rd] S3 generics in packages: default method

2013-02-28 Thread Thomas Lumley
...) but it seems that could have different lazy-evaluation behaviour. -thomas -- Thomas Lumley Professor of Biostatistics University of Auckland [[alternative HTML version deleted]] __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] stopping finalizers

2013-02-15 Thread Thomas Lumley
ith analysis in memory even if you ignore the data loading time. For example, using a data set already in memory, with 18000 records and 96 variables: > system.time(svymean(~BPXSAR+BPXDAR,subset(dhanes,RIAGENDR==2))) user system elapsed 0.090.010.10 Using MonetDB

Re: [Rd] stopping finalizers

2013-02-15 Thread Thomas Lumley
asible on commodity desktops and laptops, and even on computers with enough memory, the database (MonetDB) is faster. -thomas -- Thomas Lumley Professor of Biostatistics University of Auckland [[alternative HTML version deleted]] __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] stopping finalizers

2013-02-14 Thread Thomas Lumley
of running an R code block and knowing that no other R code block would run during it (user interrupts are another issue, but they can be caught, and in any case I'm happy to fail when the user presses CTRL-C). -thomas On Fri, Feb 15, 2013 at 12:53 AM, wrote: > It might help if

[Rd] stopping finalizers

2013-02-12 Thread Thomas Lumley
object is out of scope" it seems harmless to be able to prevent finalizers from running during a particular code block, but I can't see any way to do it. Suggestions? -thomas -- Thomas Lumley Professor of Biostatistics University of Auckland [[alternative

  1   2   3   4   5   >