Entering edit mode
Ryan C. Thompson
★
7.9k
@ryan-c-thompson-5618
Last seen 4 months ago
Icahn School of Medicine at Mount Sinaiā¦
Hi all,
It looks like Date vectors, when used as columns in a DataFrame, are
not
printed correctly. The following example code demonstrates the
problem:
library(IRanges)
x <- structure(c(16203, 16204, 16192, 16218, 16219, 16220, 16196,
16197, 16199, 16231, 16232, 16233, 16224, 16225, 16226, 16227
), class = "Date")
df <- data.frame(date=x)
DF <- DataFrame(df)
base::print.data.frame(df)
print(DF)
-Ryan
> sessionInfo()
R version 3.1.0 (2014-04-10)
Platform: x86_64-unknown-linux-gnu (64-bit)
locale:
[1] LC_CTYPE=en_US.UTF-8 LC_NUMERIC=C
[3] LC_TIME=en_US.UTF-8 LC_COLLATE=en_US.UTF-8
[5] LC_MONETARY=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8
[7] LC_PAPER=en_US.UTF-8 LC_NAME=C
[9] LC_ADDRESS=C LC_TELEPHONE=C
[11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C
attached base packages:
[1] splines grDevices datasets parallel graphics utils stats
[8] methods base
other attached packages:
[1] amap_0.8-12 GMD_0.3.1.1
[3] gplots_2.14.0 statmod_1.4.20
[5] DESeq2_1.4.5 RcppArmadillo_0.4.300.8.0
[7] Rcpp_0.11.2 cqn_1.10.0
[9] quantreg_5.05 SparseM_1.03
[11] preprocessCore_1.26.1 nor1mix_1.2-0
[13] mclust_4.3 baySeq_1.18.0
[15] DESeq_1.16.0 lattice_0.20-29
[17] locfit_1.5-9.1 edgeR_3.6.2
[19] limma_3.20.6 arrayQualityMetrics_3.20.0
[21] partitions_1.9-15 biomaRt_2.20.0
[23] functional_0.4 sqldf_0.4-7.1
[25] RSQLite.extfuns_0.0.1 RSQLite_0.11.4
[27] DBI_0.2-7 gsubfn_0.6-5
[29] proto_0.3-10 GenomicFeatures_1.16.2
[31] AnnotationDbi_1.26.0 chipseq_1.14.0
[33] inline_0.3.13 affy_1.42.3
[35] rtracklayer_1.24.2 Biobase_2.24.0
[37] ShortRead_1.22.0 GenomicAlignments_1.0.1
[39] BSgenome_1.32.0 BiocParallel_0.6.1
[41] Rsamtools_1.16.1 Biostrings_2.32.0
[43] XVector_0.4.0 doParallel_1.0.8
[45] iterators_1.0.7 Matrix_1.1-4
[47] GenomicRanges_1.16.3 GenomeInfoDb_1.0.2
[49] RColorBrewer_1.0-5 ESSR_1.0
[51] foreach_1.4.2 plyr_1.8.1
[53] stringr_0.6.2 IRanges_1.22.9
[55] BiocGenerics_0.10.0 ggplot2_1.0.0
[57] BiocInstaller_1.14.2
loaded via a namespace (and not attached):
[1] affyio_1.32.0 affyPLM_1.40.1 annotate_1.42.0
[4] base64_1.2 BatchJobs_1.2 BBmisc_1.7
[7] beadarray_2.14.1 BeadDataPackR_1.16.0 bitops_1.0-6
[10] brew_1.0-6 Cairo_1.5-5 caTools_1.17
[13] checkmate_1.0 chron_2.3-45 cluster_1.15.2
[16] codetools_0.2-8 colorspace_1.2-4 compiler_3.1.0
[19] digest_0.6.4 fail_1.2 Formula_1.1-1
[22] gcrma_2.36.0 gdata_2.13.3 genefilter_1.46.1
[25] geneplotter_1.42.0 gmp_0.5-11 grid_3.1.0
[28] gridSVG_1.4-0 gtable_0.1.2 gtools_3.4.1
[31] Hmisc_3.14-4 hwriter_1.3 illuminaio_0.6.0
[34] KernSmooth_2.23-12 latticeExtra_0.6-26 MASS_7.3-33
[37] munsell_0.4.2 polynom_1.3-8 RCurl_1.96-0
[40] reshape2_1.4 RJSONIO_1.2-0.2 scales_0.2.4
[43] sendmailR_1.1-2 setRNG_2013.9-1 stats4_3.1.0
[46] survival_2.37-7 SVGAnnotation_0.93-1 tools_3.1.0
[49] vsn_3.32.0 XML_3.98-1.1 xtable_1.7-3
[52] zlibbioc_1.10.0
>