Re: [Rd] stopping finalizers

2013-02-14 Thread Antonio, Fabio Di Narzo
nd indirectly uses 'obj' ## }) hth, -- Antonio, Fabio Di Narzo, Biostatistician Mount Sinai School of Medicine, NY. 2013/2/12 Thomas Lumley : > Is there some way to prevent finalizers running during a section of code? > > I have a package that includes R objects linked to dat

Re: [Rd] SVN vs DVCS

2010-05-26 Thread Antonio, Fabio Di Narzo
2010/5/26 Simon Urbanek : > > On May 26, 2010, at 12:26 PM, Antonio, Fabio Di Narzo wrote: > >> 2010/5/26 Hadley Wickham : >>>>> Yes, that's a very good point (although in my experience it takes a >>>>> very long time to do the initial download

Re: [Rd] SVN vs DVCS

2010-05-26 Thread Antonio, Fabio Di Narzo
, generally producing a cleaner history. fabio. > > Hadley > > > -- > Assistant Professor / Dobelman Family Junior Chair > Department of Statistics / Rice University > http://had.co.nz/ > > __ > R-devel@r-project.org

[Rd] escaping 'comment' chars in example sections

2010-05-21 Thread Antonio, Fabio Di Narzo
system x86_64, linux-gnu status Patched major 2 minor 11.0 year 2010 month 05 day19 svn rev52043 language R version.string R version 2.11.0 Patched (2010-05-19 r52043) -- Antonio Fabio Di Narzo, PhD. Swiss Institute for Bioinfor

Re: [Rd] V2.9.0 changes [Sec=Unclassified]

2009-06-23 Thread Antonio, Fabio Di Narzo
an Antarctic Division - Commonwealth of Australia > IMPORTANT: This transmission is intended for the addressee only. If you are > not the > intended recipient, you are notified that use or dissemination of this > communication is > strictly prohibited by Commonwealth law. If you have received this > transmission in error, > please notify the sender im

Re: [Rd] loading RBlas.dll

2009-01-23 Thread Antonio, Fabio Di Narzo
R devel mailing list archive at Nabble.com. > > __ > R-devel@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel > -- Antonio, Fabio Di Narzo Ph.D. student at Department of Statistical Sciences University of Bologna, Italy __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] Accessing a c-level complicated structure from R

2009-01-22 Thread Antonio, Fabio Di Narzo
n c programming with R (other than R-exts > and R-ints), and hint is greatly appreciated... Actually, R-exts has the info you need. Look at it more carefully. You don't even need R-ints. HTH, a.f. > Thanks, > Scion > > ______________ > R-dev

Re: [Rd] Interface between fractal geometry and statistics

2008-07-05 Thread Antonio, Fabio Di Narzo
ly time series at weekly, monthly, quaterly > or annual resolution)? For time series, look for 'aggregate'. f. > > Thanks > > Ted > > __ > R-devel@r-project.org mailing list > https://stat.ethz.ch/mailman/listi

Re: [Rd] arima() bug

2008-06-12 Thread Antonio, Fabio Di Narzo
of 447Mb: see help(memory.size) > > Reproduce by: > > # 2 years of daily temperature data > set.seed(1); x <- ts(20*sin((1:731)*2*pi/365) + 10 + rnorm(731, 0, 4), > freq=365) > arima(x, c(1, 0, 1), c(1, 0, 1)) > > Ray Brownrigg > > ______

Re: [Rd] (PR#11281) Bug in R 2.7 for over long lines (crasher+proposed fix!)

2008-05-13 Thread Antonio, Fabio Di Narzo
http://nn7.de/debugging/Features.R for everyone to enjoy >>> :) >>> >>> Sourcing it will crash R2.7.0 (without my fix) but not >>> 2.8. > >> > >> Soeren >>> >>> _

Re: [Rd] a R_PV problem

2008-05-06 Thread Antonio, Fabio Di Narzo
will > print the right value. Have you tried: p Rf_PrintValue(colNames) from the gdb prompt? A. -- Antonio, Fabio Di Narzo Ph.D. student at Department of Statistical Sciences University of Bologna, Italy __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] swig 1.3.35 & R - is the R wrapper still maintained and of interest?

2008-04-19 Thread Antonio, Fabio Di Narzo
> |> Soeren > |> > |> __ > |> R-devel@r-project.org mailing list > |> https://stat.ethz.ch/mailman/listinfo/r-devel > |> > | > | [[alternative HTML version deleted]] > | > | > | > | ---

Re: [Rd] Adding a Matrix Exponentiation Operator

2008-04-05 Thread Antonio, Fabio Di Narzo
EAL(a)[i * nrows + j]; > } I would use 'memcpy' here instead of the double for loop, i.e.: memcpy(REAL(b), REAL(a), length(b) * sizeof(double)) -- Antonio, Fabio Di Narzo Ph.D. student at Department of Statistical Sciences University of Bologna, Italy _

Re: [Rd] R CMD check should check date in description

2008-04-04 Thread Antonio, Fabio Di Narzo
7;. > > Hth, Dirk > > > -- > Three out of two people have difficulties with fractions. > > > __ > R-devel@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel > -- Antonio

Re: [Rd] R CMD check should check date in description

2008-04-04 Thread Antonio, Fabio Di Narzo
co.nz/ > > > >> __ > > >> R-devel@r-project.org mailing list > >> https://stat.ethz.ch/mailman/listinfo/r-devel > > > > _

Re: [Rd] idea for GSoC: an R package for fitting Bayesian Hierarchical Models

2008-03-24 Thread Antonio, Fabio Di Narzo
2008/3/24, hadley wickham <[EMAIL PROTECTED]>: > > Ya. But speeds are rather different. > > I admittely missed a comparison with Umacs in my short demo. > > However, from some early experiments (I'm doing while I'm writing), as > > I suspected, my approach results being many times faster tha

Re: [Rd] idea for GSoC: an R package for fitting Bayesian Hierarchical Models

2008-03-24 Thread Antonio, Fabio Di Narzo
Above all, tnx Ben for taking time to read about my proposal! 2008/3/24, Ben Bolker <[EMAIL PROTECTED]>: > Antonio, Fabio Di Narzo gmail.com> writes: > > > > > I've put online a temp web page with some more info (and sources): > > > &

Re: [Rd] idea for GSoC: an R package for fitting Bayesian Hierarchical Models

2008-03-22 Thread Antonio, Fabio Di Narzo
I've put online a temp web page with some more info (and sources): http://antonio.fabio.googlepages.com/rgs%3Athergibbssampler Bests, Antonio. 2008/3/21, Antonio, Fabio Di Narzo <[EMAIL PROTECTED]>: > Dear R developers, > these days I'm working on some R code for fitt

[Rd] idea for GSoC: an R package for fitting Bayesian Hierarchical Models

2008-03-21 Thread Antonio, Fabio Di Narzo
producible Sweave file about it, to be published online shortly. What do you think about it in general? What do you think about developing an R package of it as a GSoC project? Best regards, Antonio, Fabio Di Narzo. -- Antonio, Fabio Di Narzo Ph.D. student at Department of Statistical Sciences Uni

Re: [Rd] as.function()

2008-01-14 Thread Antonio, Fabio Di Narzo
ify > as.function.polynomial() > to do what I want] > > > > > -- > Robin Hankin > Uncertainty Analyst and Neutral Theorist, > National Oceanography Centre, Southampton > European Way, Southampton SO14 3ZH, UK > tel 023-8059-7743 > > _

[Rd] mistake in Italian translation

2007-12-16 Thread Antonio, Fabio Di Narzo
Error in `$<-.data.frame`(`*tmp*`, "a", value = 1:2) : replacement has 2 rows, data has 1 ## Find attached the proposed patch against revision 43697. Bests, Antonio. -- Antonio, Fabio Di Narzo Ph.D. student at Department of Statistical Sciences University of Bologna, Italy diff -

[Rd] creating lagged variables

2007-12-13 Thread Antonio, Fabio Di Narzo
-effect (anyway this is of no concern in my current analysis)... Any suggestion? All the bests, Fabio. -- Antonio, Fabio Di Narzo Ph.D. student at Department of Statistical Sciences University of Bologna, Italy __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] suggested modification to the 'mle' documentation?

2007-12-07 Thread Antonio, Fabio Di Narzo
sampling method and data structure > > up to the user. Somehing similar could be done with K-fold CV. > > > > luke > > > > > -BEGIN PGP SIGNATURE- > Version: GnuPG v1.4.6 (GNU/Linux) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org > > iD8DBQFHWcS1c5UpGjwzenMRAig2AJ9i

Re: [Rd] Wishlist: mention Vectorize in 'outer' man page (PR#10490)

2007-12-05 Thread Antonio, Fabio Di Narzo
is based on \code{outer}; > + \code{\link{Vectorize}} for vectorizing a non-vectorized function. > } > \examples{ > x <- 1:9; names(x) <- x > > -- >O__ Peter Dalgaard Ă˜ster Farimagsgade 5, Entr.B > c/ /'_ --- Dept. of Biostatistics P

[Rd] patch proposal for plot.ts

2007-11-24 Thread Antonio, Fabio Di Narzo
col = col, cex = cex) if(xy.lines) lines(xy, col = col, lty = lty, lwd = lwd, Best regards, Antonio. -- Antonio, Fabio Di Narzo Ph.D. student at Department of Statistical Sciences University of Bologna, Italy diff --git a/src/library/stats/R/ts.R

Re: [Rd] unexpected result from reshape

2007-11-24 Thread Antonio, Fabio Di Narzo
;acc','ppeGross','CF','ROA','DeltaSales','invTA','DeltaRevDeltaRec') vnames.all <- unlist(lapply(vnames, paste, 1:7, sep='.')) varying <- split(vnames.all, rep(vnames, each=7)) d <- data.frame(d) names(d) <- vnames.all

[Rd] unexpected result from reshape

2007-11-24 Thread Antonio, Fabio Di Narzo
e==2,'b'] #This is TRUE, as expected ##Try to compare d and d1 now: they look right Any hint on what's wrong here? By now, my workarond is changing variable names before reshaping, than re-assign old variable names back after reshape. Best regards, Antonio, Fabio Di Narzo.

Re: [Rd] Garbage collector crashes after calling a C function

2007-03-07 Thread Antonio, Fabio Di Narzo
.so) > > ==9370==by 0x4BEB6FD: applydefine (in /usr/lib64/R/lib/libR.so) > > ==9370==by 0x4BEBAE3: do_set (in /usr/lib64/R/lib/libR.so) > > ==9370==by 0x4BE8E5E: Rf_eval (in /usr/lib64/R/lib/libR.so) > > ==9370== Address 0x10 is not stack'd, malloc'd or (recently) free'd > > >

[Rd] [OT] old news on the home page

2007-01-15 Thread Antonio, Fabio Di Narzo
Hi all. I've noticed that on the R homepage: http://www.r-project.org/ one can read, as the latest news: " R version 2.4.0 has been released on 2006-10-03." and can't find any citation of the 2.4.1 release of the last 18 december. Bests, Antonio. __ R-d

Re: [Rd] turning expression object to function

2006-12-19 Thread Antonio, Fabio Di Narzo
call(substitute, list(fo, L > environment(fun) <- env > fun > } > > asFun(expression(a+b+c), list(b = 1, c = 2)) # function (a) a + 1 + 2 > > > > > On 12/18/06, Antonio, Fabio Di Narzo <[EMAIL PROTECTED]> wrote: > > Dear all, > > I have the follow

[Rd] turning expression object to function

2006-12-18 Thread Antonio, Fabio Di Narzo
Dear all, I have the following problem. Given an expression object 'expr' containing a certain set of symbols (say 'a', 'b', 'c'), I would like to translate the expression object in an R function of, say, 'a', programmatically. Here an example of what I mean. Given: > expr <- expression(a+b+c) a

[Rd] utils::methods doesn't list methods of 'hidden' generics

2006-10-22 Thread Antonio, Fabio Di Narzo
Hi all. I've seen that, on my R installation, utils::methods doesn't list methods of generics whose name begins with a dot, and I can't see that mentioned in utils::methods help page. Antonio. # > .foo <- function(x, ...) UseMethod(".foo") > .foo.bar <- fun

Re: [Rd] Sweave processes \Sexpr in commented LaTeX source (2.3.1patched and 2.4.0)

2006-09-20 Thread Antonio, Fabio Di Narzo
2006/9/20, Seth Falcon <[EMAIL PROTECTED]>: > Peter Dalgaard <[EMAIL PROTECTED]> writes: > > ..not to mention TeX comments inside Sexpr (e.g. %*%...). Skipping > > lines with % as the first character might be a viable compromise > > though. > > +1. You could probably ignore any lines where the fir

Re: [Rd] compiling tests/Embedding

2006-05-26 Thread Antonio, Fabio Di Narzo
b0 t R_ToplevelExec > >> [EMAIL PROTECTED]:/autofs/tewa_data5/ost/R/R-2.3.0/lib> gcc --version > >> gcc (GCC) 3.3.4 (pre 3.3.5 20040809) > >> Copyright (C) 2003 Free Software Foundation, Inc. > >> This is free software; see the source for copying conditions. There is > NO > >> warranty; no

[Rd] plot.ts bad default labelling and lag.plot incomplete doc

2006-05-05 Thread Antonio, Fabio Di Narzo
abels' argument of plot.ts, i.e., it can also be a character vector of labels. Antonio, Fabio Di Narzo. [[alternative HTML version deleted]] __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

[Rd] as.factor: changed behaviour for Date class

2006-04-27 Thread Antonio, Fabio Di Narzo
g code: times <- 1:5 class(times) <- "Date" id <- rep(times, each=2) vals <- rep(1:2,5) tapply(vals, id, mean) Under R-2.2.1 this gives: 1970-01-02 1970-01-03 1970-01-04 1970-01-05 1970-01-06 1.51.51.51.51.5 But under R-2.3.0 the out

Re: [Rd] is.numeric (NA + NA) is TRUE, should be FALSE (PR#8745)

2006-04-04 Thread Antonio, Fabio Di Narzo
A*NA) > [1] TRUE > > is.numeric (NA/NA) > [1] TRUE > > > > This is not the expected thing. I think this is the expected thing. __ > R-devel@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel > Antonio, Fabio Di Narzo. [[alternative HTML version deleted]] __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] bug in plot.acf (PR#8705)

2006-03-24 Thread Antonio, Fabio Di Narzo
2006/3/24, [EMAIL PROTECTED] <[EMAIL PROTECTED]>: > > >>>>> "Duncan" == Duncan Murdoch <[EMAIL PROTECTED]> > >>>>> on Fri, 24 Mar 2006 13:55:03 +0100 (CET) writes: > > Duncan> (Moved from r-devel to r-bugs) > Dun

[Rd] bug in plot.acf

2006-03-24 Thread Antonio, Fabio Di Narzo
set to about c(0,1), but in subsequent interations, ylim is no more NULL, and the old, unproper ylim specification remains. Antonio, Fabio Di Narzo. P.S. Sorry for not indicating exact source lines, but from this PC I don't have access to R sources... [[alt

[Rd] R does not have friendly GUI (PR#8656)

2006-03-04 Thread Antonio, Fabio Di Narzo
2006/3/4, [EMAIL PROTECTED] <[EMAIL PROTECTED]>: > > Full_Name: > Version: 2.1.1 > OS: Linux (Ubuntu 5.10) > Submission from: (NULL) (136.160.174.71) > > > R does not have a friendly gui from where all functions can be accessed by > > "point-and-click". Existing one I could try (tk) is too simple.

[Rd] using F95 code in package src (was: (no subject))

2005-09-19 Thread Antonio, Fabio Di Narzo
sorry: wrote 'subject' as 'attachments'! On 9/19/05, Antonio, Fabio Di Narzo <[EMAIL PROTECTED]> wrote: > Is it planned to 'officially' support F95 code in R-2.2.0? > If not, by now, how is it possible to 'smothly' use F95 code in a > pack

[Rd] (no subject)

2005-09-19 Thread Antonio, Fabio Di Narzo
cutable, and set the F77 variable to this in the configure script... Any suggestion will be appreciated! Antonio, Fabio Di Narzo. __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel