[Rd] pb in regular expression with the character "-" (PR#9437)

2007-01-04 Thread xiao . gang . fan1
Full_Name: FAN Version: 2.4.0 OS: Windows Submission from: (NULL) (159.50.101.9) These are expected: > grep("[\-|c]", c("a-a","b")) [1] 1 > gsub("[\-|c]", "&", c("a-a","b")) [1] "a&a" "b" but these are strange: > grep("[d|\-|c]", c("a-a","b")) integer(0) > gsub("[d|\-|c]", "&", c("a-a","b"

[Rd] Base R: applying min/max functions() to character string vectors (PR#9428)

2006-12-22 Thread xiao . gang . fan1
Full_Name: Xiao Gang FAN Version: 2.4.0 OS: Windows XP Submission from: (NULL) (159.50.101.9) Dear All, This is not really a bug report, but rather a change wish to the Base R behaviour on some functions when applying them to character strings vectors/matrices. Actually in R, we can do thinks l

[Rd] package tseries: plot.irts() - time axis label pb (PR#9387)

2006-11-27 Thread xiao . gang . fan1
Full_Name: Xiao Gang FAN Version: 2.4.0 OS: Windows Submission from: (NULL) (159.50.101.9) > library(tseries) > plot(irts(seq(as.POSIXct("1991-01-01"), by="month", length=100),rnorm(100))) in the x-axix, the label is "Jan 01, Jan 01, Jan 01, " version of tseries: 0.10-7 Date: 2006-10-04 Bui

[Rd] as.Date: conversion pb from POSIXct (PR#9386)

2006-11-27 Thread xiao . gang . fan1
Full_Name: Xiao Gang FAN Version: 2.4.0 OS: Windows Submission from: (NULL) (159.50.101.9) > library(chron) > as.Date(as.POSIXct(strptime("1994-01-24","%Y-%m-%d"))) [1] "1994-01-23" __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/lis

[Rd] Call trellis function in a function (PR#8827)

2006-05-02 Thread xiao . gang . fan1
Full_Name: Fan Version: 2.2.1 OS: Windows Submission from: (NULL) (159.50.101.9) Hello, When I call trellis function (such as histogram, densityplot, etc.) in a function, the call seems being ignored (no graphics is drawing) if some other instructions are placed afeter that call. Here's an ex