Displaying 3 results from an estimated 3 matches for "yearend".
2007 May 10
3
Getting the last day of the month.
Hi,
Given a date, how do I get the last date of that month? I have
data in the form YYYYMM, that I've read as a date using
> x$Date <-
as.Date(ISOdate(substr(x$YearEnd,1,4),substr(x$YearEnd,5,6),1))
But this gives the first day of the month. To get the last day of the
month, I tried
> as.Date(as.yearmon(x$Date,frac=0))
But I don't get the last day of the month here. (Tried frac=1 too.)
I then add a month to the date, substract one day from the resulta...
2011 Feb 16
1
Timeseries Data Plotted as Monthly Boxplots
...stn.list) {
for (v in 1:length(vars) {
# Read in year month start and end dates table & name it
ym.table <- read.csv("/home/kbennett/fews/", stn, var, ".ym.txt", as.is=T,
header=F)
names(ym.table) <- c("yearstart", "monthstart", "yearend", "monthend")
fn <- paste(stn, ".", vars[v], ".FIN", sep="")
if(file.exists(fn)) {
clim.dat <- read.csv(fn, header=F)
names(clim.dat) <- c("cdata")
year.start <- ym.table$yearstart
year.end...
2008 Aug 15
6
Add/remove new server volumes on the fly?
Hi list,
1. While learning GlusterFS, I'was wondering if it's possible to add
server volumes to increase space capacity of my cluster "on the FLY"?
I mean, a hot upgrade.
2. Second, when using "files replicating strategy" (scheduler), is it
possible to remove a server node without stopping the hole cluster
(ex. hardware maintaining reasons, add more disk/ram to the