search for: ddate

Displaying 20 results from an estimated 20 matches for "ddate".

Did you mean: date
2012 Aug 05
4
find date between two other dates
Hi, I am trying to assign "Season" values to dates depending on when they occur. For example, the following dates would be assigned the following "Season" numbers based on the "season" intervals detailed below in the code: ddate Season 29/12/1998 20:00:33 1 02/01/1999 05:20:44 2 02/01/1999 06:18:36 2 02/02/1999 07:06:59 3 02/03/1999 07:10:56 4 02/03/1999 07:57:18 4 My approach so far doesnt work because of the time stamps and is probably very long winded. H...
2006 Aug 11
3
An apply and rep question
Hi list, I'm sure the explanation must be laughably simple to the experts out there, but I just could figure it out. I have a simple data frame that looks like, >head(da.off) DDate OffP 1 2005-01-01 41.23 2 2005-01-02 44.86 3 2005-01-03 44.86 4 2005-01-04 43.01 5 2005-01-05 45.47 6 2005-01-06 48.62 where the first column DDate currently is character, and OffP is numeric. I want to duplicate every row 2 times, so I thought I use apply(), x <- apply(da.off, 2, rep, each...
2011 May 13
2
More effective calculation for loop
...at the apply function and but didn't seem to get it to work. I am sure this is relatively easy to show me a better version for someone who has done this before. For some reason I seem to have trouble getting my head around this. #---------------------------------- #Create the example data dDates <- seq(from=as.Date("1990-01-01"), by="day", length.out=10000); xtsHold <- xts(rep(0, times=10000), order.by=dDates); xtsBuy <- xts(sample(0:1,10000,replace=T), order.by=dDates); xtsSell <- xts(sample(0:1,10000,replace=T), order.by=dDates); print(Sys.time()) #Run t...
2017 Sep 12
2
Σχετ: show 0 at y axis in xyplot lattice
...spill 2016-12-21 13.91587 23.94368? 8.164688 15 downstream 2016-12-21 13.02749 24.46930? 5.826650 16? upstream 2017-02-20 31.16736 55.51858 15.938211 17? ? ? spill 2017-02-20 12.47368 22.03830? 6.725540 18 downstream 2017-02-20 17.65741 33.23577? 8.519928 $visible [1] TRUE dat <- dat$value dat$dDate <- as.Date(as.character(dat$Date)) str(dat) 'data.frame':? 18 obs. of? 6 variables: $ Location: Factor w/ 3 levels "downstream","spill",..: 3 2 1 3 2 1 3 2 1 3 ... $ Date? ? : Factor w/ 6 levels "2016-04-27","2016-06-28",..: 1 1 1 2 2 2 3 3 3 4...
2017 Sep 12
0
show 0 at y axis in xyplot lattice
...spill 2016-12-21 13.91587 23.94368 8.164688 15 downstream 2016-12-21 13.02749 24.46930 5.826650 16 upstream 2017-02-20 31.16736 55.51858 15.938211 17 spill 2017-02-20 12.47368 22.03830 6.725540 18 downstream 2017-02-20 17.65741 33.23577 8.519928 $visible [1] TRUE dat <- dat$value dat$dDate <- as.Date(as.character(dat$Date)) str(dat) 'data.frame': 18 obs. of 6 variables: $ Location: Factor w/ 3 levels "downstream","spill",..: 3 2 1 3 2 1 3 2 1 3 ... $ Date : Factor w/ 6 levels "2016-04-27","2016-06-28",..: 1 1 1 2 2 2 3 3 3 4...
2008 Apr 28
1
tips to speed up sqlSave with MS SQL Server?
...I have a dataframe that contains ~4.5 million rows and 5 columns. (see memory and df details below). I am trying to save the dataframe to a MS SQL Server database, using the “sqlSave” function. The code below seems to work, but takes several hours. “sqlSave(channel, dat=idxdata, varTypes=c(ddates="datetime") )” Any tips how I can speed things up? Or is my dataframe so large that it is going to take a while? (I have ~20 dataframes that I need to save to SQL, so speed is somewhat important.) Is there an altogether different approach I should consider taking? FYI, here...
2017 Sep 12
0
Σχετ: show 0 at y axis in xyplot lattice
...> 15 downstream 2016-12-21 13.02749 24.46930? 5.826650 > 16? upstream 2017-02-20 31.16736 55.51858 15.938211 > 17? ? ? spill 2017-02-20 12.47368 22.03830? 6.725540 > 18 downstream 2017-02-20 17.65741 33.23577? 8.519928 > > $visible > [1] TRUE > dat <- dat$value > dat$dDate <- as.Date(as.character(dat$Date)) > > str(dat) > 'data.frame':? 18 obs. of? 6 variables: > $ Location: Factor w/ 3 levels "downstream","spill",..: 3 2 1 3 2 1 3 2 1 3 ... > $ Date? ? : Factor w/ 6 levels "2016-04-27","2016-06-28&quo...
2017 Sep 11
4
show 0 at y axis in xyplot lattice
Dear all I am trying to make a plot in xyplot lattice by groups. I would like to show "0" in y axis but I don't want to be aligned with the x axis. I want to be a little bit above. I have tried many options but I don't get what I want. I also tried ylim=c(0, 80) but both 0 and 80 are fully aligned with the x-axis and the upper boundary of the plot, respectively: xyplot(upper.zn +
2004 Aug 20
0
Syslinux 2.11 and gcc 3.4.1
...-all-stringops,) ALIGN := $(call gcc_ok,-falign-functions=0 -falign-jumps=0 -falign-loops=0,-malign-functions=0 -malign-jumps=0 -malign-loops=0) CC = gcc $(M32) CFLAGS = -g -W -Wall -Os -fomit-frame-pointer -march=i386 $(ALIGN) \ - -DVERSION='"$(VERSION)"' -DDATE='"$(DATE)"' + $(MINLINE) -DVERSION='"$(VERSION)"' -DDATE='"$(DATE)"' LDFLAGS = -g INCLUDE = -I../com32/include LD = ld -m elf_i386 Menu doesn't build either because there's still an asm ebp constraint that's now u...
2003 Feb 15
2
scp + .bashrc buglet
Hi OpenSSH folks, Just a quick note: this is my .bashrc: # Executed by non-login interactive shell # # scp go wild when it see this #echo "<*> Executing ~/.bashrc from '$0'. Command line: '$*'" #ps -H e #echo "<*> Finished ~/.bashrc" Line 3 was added and subsequent lines commented out. Now scp works. Looks like a little scp bug for me. CC me,
2004 Jan 25
1
syslinux for opteron
...is ../com32/include/com32.h: In function `MK_PTR': ../com32/include/com32.h:77: warning: cast to pointer from integer of different size gcc -I../com32/include -g -Wall -O2 -fomit-frame-pointer -march=i386 -malign-functions=0 -malign-jumps=0 -malign-loops=0 -DVERSION='"2.06"' -DDATE='""' -S -o e820test.s e820test.c memset.S: Assembler messages: memset.S:13: Error: suffix or operands invalid for `push' memset.S:14: Error: suffix or operands invalid for `push' memset.S:15: Error: `12(%esp)' is not a valid 64 bit base/index expression memset.S:16: Er...
2008 Feb 26
2
3.62-pre16: Compiling on old (2.4 kernel) distros
I have put a compile hack in for older distros and pushed it out as syslinux-3.62-pre16; for those who have reported compilation problem on older distros I would greatly appreciate if you could confirm if it works now (it worked for me on a CentOS 3.9 VM.) -hpa
2006 Mar 14
2
Date problem
Hello, I have some "stupid" problems managing "date" data. I have a colomn "date", which I converted from a character representation: for example: a="26/02/06" date=strptime(a,format="%d/%m/%y") For one part of the analysis, I'm interested only in the month and the year, so I did: m.y=strftime(date,format="%m/%y") This returns me
2006 Feb 19
2
Line Dropouts on E405P
...P/3332,45,t) include => atp-out include => lm1_functions include => from-callpacket include => to-sip include => te405p-tobp250 include => te405p-outtelstra include => record-transfer include => parkedcalls include => voicerec [record-transfer] exten => _32XX,1,SetVar(DDATE=${TIMESTAMP}) exten => _32XX,2,SetVar(CALLFILENAME=/mnt/asterisk/pub/newbiz/${DDATE:0:8}/${EXTEN:1}/${EXTEN:1}-${TIMESTAMP}) exten => _32XX,3,Monitor(gsm,${CALLFILENAME},m) exten => _32XX,4,Dial(ZAP/g4/1111${EXTEN:1}) exten => _32XX,5,Congestion exten => _32XX,105,Congestion exten =&...
2014 Dec 17
0
[PATCH] build: sort sources to build in a more deterministic way
...ard $(SRC)/src/*.c))) +LIBOBJS = $(patsubst %.c,%.o,$(subst $(SRC)/,,$(sort $(wildcard $(SRC)/src/*.c)))) LIB = lzo.a BINS = prepcore diff --git a/memdisk/Makefile b/memdisk/Makefile index e6557d8..42e56e0 100644 --- a/memdisk/Makefile +++ b/memdisk/Makefile @@ -23,7 +23,7 @@ NFLAGS = -dDATE='"$(DATE)"' NINCLUDE = -I$(SRC)/ VPATH = $(SRC) -SRCS = $(wildcard *.asm *.c *.h) +SRCS = $(sort $(wildcard *.asm *.c *.h)) # The DATE is set on the make command line when building binaries for # official release. Otherwise, substitute a hex string that is pretty much d...
2012 Jun 26
2
[GIT PULL] elflink bug fixes
...om32.cs_bounce; + fx = lmalloc(sizeof *fx); + if (!fx) + return; + q = (char *)(fx + 1); fx->Status = 1; diff --git a/com32/rosh/Makefile b/com32/rosh/Makefile index 766f68d..f328395 100644 --- a/com32/rosh/Makefile +++ b/com32/rosh/Makefile @@ -34,6 +34,8 @@ endif CFLAGS += -DDATE='"$(DATE)"' LNXCFLAGS += -DDATE='"$(DATE)"' +LDFLAGS_rosh.o = $(com32)/libutil/libutil_com.c32 $(com32)/lib/libcom32.c32 + rosh.o: rosh.h rosh.lo: rosh.h diff --git a/com32/samples/Makefile b/com32/samples/Makefile index 167c638..bca197e 100644 --- a/com32...
2011 Apr 16
6
[PATCH 0/6] Makefile cleanups
From: Matt Fleming <matt.fleming at linux.intel.com> This series includes a patch (PATCH 1/6) that I sent previously but I thought it was worth sending it again since the rest of the series depends on it, and it also gives a bit of context. These cleanups make it simpler to do the big switchover to ELF modules on the elflink branch because the libraries in $LIBS are now contained in one
2006 Jun 24
8
How to install programs in wine?
I am a rank newbie to Linux and wine. I am running Ubuntu Dapper on an AMD 1800 mhz machine, wine 0.9.15 Everything I have read says use the installer to load windows programs. Where is the installer? Thanks, -- Ron Thompson On the Beautiful Florida Space Coast, right beside the Kennedy Space Center, USA http://www.plansandprojects.com My hobby pages are here:
2012 Aug 14
1
[GIT PULL] elflink fixes
...f328395..a894c84 100644 --- a/com32/rosh/Makefile +++ b/com32/rosh/Makefile @@ -16,6 +16,8 @@ ## ROSH Read Only Shell ## +LIBS = $(com32)/libutil/libutil_com.c32 $(com32)/lib/libcom32.c32 + topdir = ../.. MAKEDIR = $(topdir)/mk include $(MAKEDIR)/rosh.mk @@ -34,8 +36,6 @@ endif CFLAGS += -DDATE='"$(DATE)"' LNXCFLAGS += -DDATE='"$(DATE)"' -LDFLAGS_rosh.o = $(com32)/libutil/libutil_com.c32 $(com32)/lib/libcom32.c32 - rosh.o: rosh.h rosh.lo: rosh.h diff --git a/com32/samples/Makefile b/com32/samples/Makefile index bca197e..c7abadd 100644 --- a/com32...
2011 Apr 16
20
[PATCH 00/20] Switch to ELF modules
From: Matt Fleming <matt.fleming at linux.intel.com> This series fixes some bugs and switches the elflink branch to be entirely ELF modules. It applies on top of, http://syslinux.zytor.com/archives/2011-April/016369.html The deletions in the diff stat below are mainly from deleting com32/elflink/modules (finally!). Now there should be no duplicate code because we don't need COM32 and