From noreply at r-forge.r-project.org Sat Jun 8 15:03:44 2013 From: noreply at r-forge.r-project.org (noreply at r-forge.r-project.org) Date: Sat, 8 Jun 2013 15:03:44 +0200 (CEST) Subject: [Xts-commits] r773 - in pkg/xts: . R Message-ID: <20130608130344.43927183B35@r-forge.r-project.org> Author: jryan Date: 2013-06-08 15:03:43 +0200 (Sat, 08 Jun 2013) New Revision: 773 Modified: pkg/xts/DESCRIPTION pkg/xts/R/index.R pkg/xts/R/indexClass.R Log: o added missing tzone attr to index Modified: pkg/xts/DESCRIPTION =================================================================== --- pkg/xts/DESCRIPTION 2013-04-25 01:01:39 UTC (rev 772) +++ pkg/xts/DESCRIPTION 2013-06-08 13:03:43 UTC (rev 773) @@ -1,7 +1,7 @@ Package: xts Type: Package Title: eXtensible Time Series -Version: 0.9-3.2 +Version: 0.9-3.3 Date: 2013-01-14 Author: Jeffrey A. Ryan, Joshua M. Ulrich Depends: zoo (>= 1.7-2) Modified: pkg/xts/R/index.R =================================================================== --- pkg/xts/R/index.R 2013-04-25 01:01:39 UTC (rev 772) +++ pkg/xts/R/index.R 2013-06-08 13:03:43 UTC (rev 773) @@ -76,7 +76,8 @@ # set the .indexCLASS/tclass attribute to the end-user specified class attr(x, '.indexCLASS') <- class(value) - attr(.index(x), '.tclass') <- class(value) + attr(.index(x), 'tclass') <- class(value) + attr(.index(x), 'tzone') <- attr(value,"tzone") return(x) } Modified: pkg/xts/R/indexClass.R =================================================================== --- pkg/xts/R/indexClass.R 2013-04-25 01:01:39 UTC (rev 772) +++ pkg/xts/R/indexClass.R 2013-06-08 13:03:43 UTC (rev 773) @@ -61,6 +61,10 @@ if(value %in% c('POSIXlt','POSIXct')) value <- c(value,'POSIXt') + if(value %in% 'Date') { + + } + attr(x, '.indexCLASS') <- value # all index related meta-data will be stored in the index # as attributes From noreply at r-forge.r-project.org Sat Jun 8 15:19:56 2013 From: noreply at r-forge.r-project.org (noreply at r-forge.r-project.org) Date: Sat, 8 Jun 2013 15:19:56 +0200 (CEST) Subject: [Xts-commits] r774 - in pkg/xts: . R src Message-ID: <20130608131956.5BBAC185499@r-forge.r-project.org> Author: jryan Date: 2013-06-08 15:19:56 +0200 (Sat, 08 Jun 2013) New Revision: 774 Modified: pkg/xts/DESCRIPTION pkg/xts/R/bind.R pkg/xts/src/rbind.c Log: o fixed rbind issue for CRAN check, dup= arg was missing in the R call. Modified: pkg/xts/DESCRIPTION =================================================================== --- pkg/xts/DESCRIPTION 2013-06-08 13:03:43 UTC (rev 773) +++ pkg/xts/DESCRIPTION 2013-06-08 13:19:56 UTC (rev 774) @@ -1,7 +1,7 @@ Package: xts Type: Package Title: eXtensible Time Series -Version: 0.9-3.3 +Version: 0.9-3.4 Date: 2013-01-14 Author: Jeffrey A. Ryan, Joshua M. Ulrich Depends: zoo (>= 1.7-2) Modified: pkg/xts/R/bind.R =================================================================== --- pkg/xts/R/bind.R 2013-06-08 13:03:43 UTC (rev 773) +++ pkg/xts/R/bind.R 2013-06-08 13:19:56 UTC (rev 774) @@ -103,7 +103,7 @@ dots <- dots[-1] if(!is.null(colnames(y)) && colnames(x) != colnames(y)) warning('column names differ') - x <- .Call('do_rbind_xts',x,y,PACKAGE="xts") + x <- .Call('do_rbind_xts',x,y,FALSE,PACKAGE="xts") } return(x) } Modified: pkg/xts/src/rbind.c =================================================================== --- pkg/xts/src/rbind.c 2013-06-08 13:03:43 UTC (rev 773) +++ pkg/xts/src/rbind.c 2013-06-08 13:19:56 UTC (rev 774) @@ -37,6 +37,7 @@ int mode; SEXP result, xindex, yindex, newindex; + int *int_result=NULL, *int_x=NULL, *int_y=NULL; int *int_newindex=NULL, *int_xindex=NULL, *int_yindex=NULL; double *real_result=NULL, *real_x=NULL, *real_y=NULL; From noreply at r-forge.r-project.org Sun Jun 9 18:43:16 2013 From: noreply at r-forge.r-project.org (noreply at r-forge.r-project.org) Date: Sun, 9 Jun 2013 18:43:16 +0200 (CEST) Subject: [Xts-commits] r775 - pkg/xts Message-ID: <20130609164316.790B318459B@r-forge.r-project.org> Author: jryan Date: 2013-06-09 18:43:16 +0200 (Sun, 09 Jun 2013) New Revision: 775 Modified: pkg/xts/DESCRIPTION Log: updated to 9-4 for CRAN Modified: pkg/xts/DESCRIPTION =================================================================== --- pkg/xts/DESCRIPTION 2013-06-08 13:19:56 UTC (rev 774) +++ pkg/xts/DESCRIPTION 2013-06-09 16:43:16 UTC (rev 775) @@ -1,7 +1,7 @@ Package: xts Type: Package Title: eXtensible Time Series -Version: 0.9-3.4 +Version: 0.9-4 Date: 2013-01-14 Author: Jeffrey A. Ryan, Joshua M. Ulrich Depends: zoo (>= 1.7-2) From noreply at r-forge.r-project.org Mon Jun 10 13:32:18 2013 From: noreply at r-forge.r-project.org (noreply at r-forge.r-project.org) Date: Mon, 10 Jun 2013 13:32:18 +0200 (CEST) Subject: [Xts-commits] r776 - pkg/xts/src Message-ID: <20130610113219.1BCFD1850D6@r-forge.r-project.org> Author: edd Date: 2013-06-10 13:32:18 +0200 (Mon, 10 Jun 2013) New Revision: 776 Modified: pkg/xts/src/endpoints.c Log: use && instead of &, detected by clang compiler Modified: pkg/xts/src/endpoints.c =================================================================== --- pkg/xts/src/endpoints.c 2013-06-09 16:43:16 UTC (rev 775) +++ pkg/xts/src/endpoints.c 2013-06-10 11:32:18 UTC (rev 776) @@ -59,7 +59,7 @@ error("unsupported 'x' type"); break; } - if(ep[j-1] != nr & asLogical(_addlast)) { /* protect against endpoint at NR */ + if(ep[j-1] != nr && asLogical(_addlast)) { /* protect against endpoint at NR */ /* Rprintf("ep[%i-1] != %i\n", j, nr); */ ep[j] = nr; j++; From noreply at r-forge.r-project.org Mon Jun 10 13:36:34 2013 From: noreply at r-forge.r-project.org (noreply at r-forge.r-project.org) Date: Mon, 10 Jun 2013 13:36:34 +0200 (CEST) Subject: [Xts-commits] r777 - pkg/xts/inst/include Message-ID: <20130610113634.E9358184EF6@r-forge.r-project.org> Author: edd Date: 2013-06-10 13:36:34 +0200 (Mon, 10 Jun 2013) New Revision: 777 Modified: pkg/xts/inst/include/xtsAPI.h Log: correction to do_xts_merge interface Modified: pkg/xts/inst/include/xtsAPI.h =================================================================== --- pkg/xts/inst/include/xtsAPI.h 2013-06-10 11:32:18 UTC (rev 776) +++ pkg/xts/inst/include/xtsAPI.h 2013-06-10 11:36:34 UTC (rev 777) @@ -118,7 +118,7 @@ SEXP colnames, SEXP suffixes, SEXP retside, SEXP env, int coerce) { static SEXP(*fun)(SEXP,SEXP,SEXP,SEXP,SEXP,SEXP,SEXP,SEXP,SEXP,int) = NULL; if (fun == NULL) - fun = (SEXP(*)(SEXP,SEXP)) R_GetCCallable("xts","do_merge_xts"); + fun = (SEXP(*)(SEXP,SEXP,SEXP,SEXP,SEXP,SEXP,SEXP,SEXP,SEXP,int)) R_GetCCallable("xts","do_merge_xts"); return fun(x, y, all, fill, retclass, colnames, suffixes, retside, env, coerce); } From noreply at r-forge.r-project.org Mon Jun 10 13:40:38 2013 From: noreply at r-forge.r-project.org (noreply at r-forge.r-project.org) Date: Mon, 10 Jun 2013 13:40:38 +0200 (CEST) Subject: [Xts-commits] r778 - pkg/xts/inst/include Message-ID: <20130610114038.882F4184EF6@r-forge.r-project.org> Author: edd Date: 2013-06-10 13:40:38 +0200 (Mon, 10 Jun 2013) New Revision: 778 Modified: pkg/xts/inst/include/xts.h Log: distinguish between coredata (two args) and coredata_xts (one arg) Modified: pkg/xts/inst/include/xts.h =================================================================== --- pkg/xts/inst/include/xts.h 2013-06-10 11:36:34 UTC (rev 777) +++ pkg/xts/inst/include/xts.h 2013-06-10 11:40:38 UTC (rev 778) @@ -63,7 +63,7 @@ SEXP do_xtsAttributes(SEXP x); // xtsAttributes i.e. user-added attributes SEXP do_xtsCoreAttributes(SEXP x); /* xtsCoreAttributes xts-specific attributes CLASS, .indexFORMAT, .indexCLASS & class */ -SEXP coredata(SEXP x); +SEXP coredata(SEXP x, SEXP copyAttr); SEXP coredata_xts(SEXP x); SEXP add_class(SEXP x, SEXP klass); SEXP lagXts(SEXP x, SEXP k, SEXP pad); From noreply at r-forge.r-project.org Fri Jun 14 23:01:27 2013 From: noreply at r-forge.r-project.org (noreply at r-forge.r-project.org) Date: Fri, 14 Jun 2013 23:01:27 +0200 (CEST) Subject: [Xts-commits] r779 - pkg/xts Message-ID: <20130614210127.3C434185250@r-forge.r-project.org> Author: bodanker Date: 2013-06-14 23:01:26 +0200 (Fri, 14 Jun 2013) New Revision: 779 Modified: pkg/xts/DESCRIPTION Log: - bump zoo version in Depends Modified: pkg/xts/DESCRIPTION =================================================================== --- pkg/xts/DESCRIPTION 2013-06-10 11:40:38 UTC (rev 778) +++ pkg/xts/DESCRIPTION 2013-06-14 21:01:26 UTC (rev 779) @@ -4,8 +4,8 @@ Version: 0.9-4 Date: 2013-01-14 Author: Jeffrey A. Ryan, Joshua M. Ulrich -Depends: zoo (>= 1.7-2) -LinkingTo: zoo (>= 1.7.2) +Depends: zoo (>= 1.7-10) +LinkingTo: zoo (>= 1.7-10) Suggests: timeSeries,timeDate,tseries,its,chron,fts,tis LazyLoad: yes Maintainer: Jeffrey A. Ryan From noreply at r-forge.r-project.org Wed Jun 19 14:27:43 2013 From: noreply at r-forge.r-project.org (noreply at r-forge.r-project.org) Date: Wed, 19 Jun 2013 14:27:43 +0200 (CEST) Subject: [Xts-commits] r780 - pkg/xtsExtra Message-ID: <20130619122743.D03B1184F41@r-forge.r-project.org> Author: eviltosha Date: 2013-06-19 14:27:42 +0200 (Wed, 19 Jun 2013) New Revision: 780 Modified: pkg/xtsExtra/TODO Log: test commit Modified: pkg/xtsExtra/TODO =================================================================== --- pkg/xtsExtra/TODO 2013-06-14 21:01:26 UTC (rev 779) +++ pkg/xtsExtra/TODO 2013-06-19 12:27:42 UTC (rev 780) @@ -1,25 +1,25 @@ -TODO list for GSOC 2012 / xtsExtra +TODO list for GSOC 2012-2013 / xtsExtra -MULTITYPE OBJECTS +MULTITYPE OBJECTS -- Most everything - + ANALYTICS -- regularize() - + GRAPHICS -- plot.xts - -- Features: - auto-legend: use code from Performance Analytics. + -- Features: + auto-legend: use code from Performance Analytics. Needs to support blocks, events, lines, etc. more intelligently xlim acting panelwise xlim to allow plotting trading hours only (or equal time steps like chartSeries) axis flexibility (e.g., PBurns' pp.timeplot() ) - -- Bugs: + -- Bugs: labels sometimes overlap (see Jul24 example from KR where Russian and LTCM cross) strange abline() bug reported by Samo; see reproducible example in Aug14 email to JMU - -- Not Sure: + -- Not Sure: x <- as.xts(sample_matrix); plot(cbind(x, x[,1]), layout = matrix(1:6, ncol = 2)) -- is this a bug? ggplot2 is ok with it - -- Long term: + -- Long term: Do layout without layout so we can move back and forth among screens? Write demo or vignette Data transforms with BGP & PCC @@ -27,7 +27,7 @@ -- Features: Rewrite as panel function to plot.xts? (As part of work with PCarl and BPeterson) -- Bugs: - space argument for unstacked plots + space argument for unstacked plots x axis spacing for irregular xts -- Long term: "River plots" From noreply at r-forge.r-project.org Thu Jun 27 04:27:04 2013 From: noreply at r-forge.r-project.org (noreply at r-forge.r-project.org) Date: Thu, 27 Jun 2013 04:27:04 +0200 (CEST) Subject: [Xts-commits] r781 - in pkg/xts: . inst/include Message-ID: <20130627022704.6A88A18596B@r-forge.r-project.org> Author: edd Date: 2013-06-27 04:27:03 +0200 (Thu, 27 Jun 2013) New Revision: 781 Modified: pkg/xts/DESCRIPTION pkg/xts/inst/include/xts.h pkg/xts/inst/include/xtsAPI.h Log: correcting (exported) header for na_locf() by adding fourth argument rolling version to 0.9-5 to differentiate from CRAN version 0.9-5 Modified: pkg/xts/DESCRIPTION =================================================================== --- pkg/xts/DESCRIPTION 2013-06-19 12:27:42 UTC (rev 780) +++ pkg/xts/DESCRIPTION 2013-06-27 02:27:03 UTC (rev 781) @@ -1,8 +1,8 @@ Package: xts Type: Package Title: eXtensible Time Series -Version: 0.9-4 -Date: 2013-01-14 +Version: 0.9-5.1 +Date: 2013-06-26 Author: Jeffrey A. Ryan, Joshua M. Ulrich Depends: zoo (>= 1.7-10) LinkingTo: zoo (>= 1.7-10) Modified: pkg/xts/inst/include/xts.h =================================================================== --- pkg/xts/inst/include/xts.h 2013-06-19 12:27:42 UTC (rev 780) +++ pkg/xts/inst/include/xts.h 2013-06-27 02:27:03 UTC (rev 781) @@ -82,7 +82,7 @@ SEXP do_merge_xts(SEXP x, SEXP y, SEXP all, SEXP fill, SEXP retclass, SEXP colnames, SEXP suffixes, SEXP retside, SEXP env, int coerce); SEXP na_omit_xts(SEXP x); -SEXP na_locf(SEXP x, SEXP fromlast, SEXP maxgap); +SEXP na_locf(SEXP x, SEXP fromlast, SEXP maxgap, SEXP limit); SEXP tryXts(SEXP x); Modified: pkg/xts/inst/include/xtsAPI.h =================================================================== --- pkg/xts/inst/include/xtsAPI.h 2013-06-19 12:27:42 UTC (rev 780) +++ pkg/xts/inst/include/xtsAPI.h 2013-06-27 02:27:03 UTC (rev 781) @@ -129,11 +129,11 @@ return fun(x); } -SEXP attribute_hidden xtsNaLocf(SEXP x, SEXP fromLast, SEXP maxgap) { - static SEXP(*fun)(SEXP,SEXP,SEXP) = NULL; +SEXP attribute_hidden xtsNaLocf(SEXP x, SEXP fromLast, SEXP maxgap, SEXP limit) { + static SEXP(*fun)(SEXP,SEXP,SEXP,SEXP) = NULL; if (fun == NULL) - fun = (SEXP(*)(SEXP,SEXP,SEXP)) R_GetCCallable("xts","na_locf"); - return fun(x, fromLast, maxgap); + fun = (SEXP(*)(SEXP,SEXP,SEXP,SEXP)) R_GetCCallable("xts","na_locf"); + return fun(x, fromLast, maxgap, limit); } #ifdef __cplusplus