search for: thedate

Displaying 18 results from an estimated 18 matches for "thedate".

Did you mean: thedata
2006 Mar 01
1
postscript bounding box in trellis/lattice plot is wrong ?
Hi, a problem involving postscript bounding boxes: I'm composing three scatterplots into a single figure, postsript for publication. The individual scatterplots should be square, so the overall figure should have a roughly 1:3 sort of aspect ratio. By default however, the overall figure comes out nearly square, and the scatterplots are stretched vertically. I fixed this by adding
2011 Aug 18
1
Loop trouble with Excel Serial Numbers!
Hi All! I'm trying to convert serial numbers in Excel to dates in R. For each single "thedate" entry, I get a correct answer. But if I try using the for loop, I get bizarre numbers in "mynewdata". thedate<-as.matrix(40548:40759,ncol=1) exdate<-function(){ mynewdate<-NULL for(i in 1:nrow(thedate)){ mynewdate[i]<-as.Date(thedate[i,1],origin="1899-12-30...
2006 Mar 15
1
How to get correct proportions/bounding box for latex figure?
Hello, I recently posted a question about my troubles with importing a lattice/trellis figure into latex. To recap, The figure contains 3 scatterplots, so it should have roughly a 1:3 sort of aspect ratio, in order to make each of the scatterplots square. Instead, the whole figure comes out roughly square, so each scatterplot is badly stretched. I fixed this by adding aspect=1/1 to the
2006 Apr 25
5
millisecond precision over internet
Hi, I''m new to programming and ruby and ROR, but I''m hoping to learn ruby to create custom scientific software. Mainly it involves measuring people''s reaction time to a series of words. I''m positive that this is possible using plain ruby on a computer (cause this is BASIC territory right?). But I want to create a ROR app that can do the same thing. My
2004 Nov 11
2
RODBC & POSIX & Daylight Saving blues
...y regardless of season, and 2. the difftime of any two dates where the time is set to twelve-o-clock should be an integer, regardless of which season each of the dates are in. I illustrate my confusion with a two-line table in an Access 2000 database table where the single field called 'theDate' contains the two values: 30/07/04 12:00:00 30/11/04 12:00:00 then I bring the datetimes into R with the following code: > library (RODBC) > theChannel <- odbcConnect("phonetagcopy", "", "") > pp <- sqlFetch(theChannel, "DateTest") &...
2006 Mar 11
2
how to create analog stripchart plots of x vs t (t=mm/dd/yyyy hh:mm:ss)
...ere 'x' is a simple numerical vector of N elemets and 't' is a timestamp like "mm/dd/yyyy hh:mm:ss" (also of N elements) here is how i am getting the data: > >TheData <- scan("MyDataFile.txt",sep=",",list("","",0)) >TheDates <- TheData[[1]] >TheTimes <- TheData[[2]] >TheValue <- TheData[[3]] > and here is how i am making the datetime objects: > >TimeStampStr <- paste(TheDates,TheTimes) >TimeStampObj <- strptime(xStamp,"%m/%d/%y %H:%M:%S") > and then i try to plot it...
2011 Jun 24
2
SQL Changing Data Type
...Min. : 1.000 15114.0: 16 17 : 82 1st Qu.: 1.000 15063.0: 15 18 : 82 Median : 2.000 15082.0: 15 19 : 79 Mean : 4.195 15125.0: 15 20 : 76 3rd Qu.: 7.000 15044.0: 14 7 : 75 Max. :20.000 (Other):762 (Other):377 > thedate <- as.Date(df.final$Date) Error in charToDate(x) : character string is not in a standard unambiguous format > -- View this message in context: http://r.789695.n4.nabble.com/SQL-Changing-Data-Type-tp3623508p3623508.html Sent from the R help mailing list archive at Nabble.com.
2013 Jul 24
0
Alert Email
This is how I do it in <on-connect>, just reverse it for <on-disconnect>, it works pretty well: --- #!/bin/bash # THEDATE=$(date +%F-%H_%M) SUBJECT="Stream $1 started" EMAIL="myemail at mydomain.com" rm /tmp/emailmessage.txt EMAILMESSAGE="/tmp/emailmessage.txt" echo "Stream $1 connected to us on $THEDATE." > $EMAILMESSAGE # send an email using /bin/mail /usr/bin/mail -s &qu...
2008 Dec 22
2
Treatment of Date ODBC objects in R (RODBC)
Dear all, Retrieving an Oracle "Date" data type by means of RODBC (version 1.2-4) I get different classes in R depending on which operating system I am in: On MacOSX I get "Date" class On Windows I get " "POSIXt" "POSIXct" class The problem is material, as converting the "POSIXt" "POSIXct" object with as.Date() returns one
2009 Jul 03
1
The time series analysis functions/packages don't seem to like my data
...s and PerformanceAnalytics, among other packages. I tried as.timeseries, but R2.9.1 tells me there is no such function. I tried as.ts(thedata), but that only replaces the date field by the row label in 'thedata'. If I apply the performance analytics drawdowns function to either thedata or thedate$V2, I get errors: > table.Drawdowns(thedata,top = 10) Error in 1 + na.omit(x) : non-numeric argument to binary operator > table.Drawdowns(thedata$V2, top = 10) Error in if (thisSign == priorSign) { : missing value where TRUE/FALSE needed > thedata$V2 by itself does give me the price dat...
2013 Jul 24
5
Alert Email
anyone knows if is possible to create an email alert to notify me when a mount point is connecting and disconnecting? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.xiph.org/pipermail/icecast/attachments/20130724/b45e9502/attachment.htm
2010 Sep 09
0
Plotting dates and grid lines on the X-Axis of xyplot
...-ifelse(1:nCases==theObsCase,"p","l") theLegendLines <- 1:nCases==theObsCase myFill.color=c("red","orange","ForestGreen","black","blue","DodgerBlue")[pData$Stream] myPch.shape=c(23,24,21,22,15:19)[pData$Stream] theDates<-as.Date(pData$Days,origin=start) x.marks<-prettyDates(theDates, origin=start, by=xby) print(x.marks) xyplot(Value~theDates | Stream, data=pData, groups=Case, type=types, distribute.type=T, fill.color=myFill.color, pch.shape=myPch.shape, marks=x.marks, panel=function(x, y, fill.co...
2013 Jul 24
2
Alert Email
It looks like those are bash scripts so try something like be sure your mail binary path is correct it may be somewhere else other then /bin echo "/bin/mail -s connecting someone at somewhere.com" > /home/icecast/bin/source-start chmod 775 /home/icecast/bin/source-start you may have a chown permissions issue too if the user that runs icecast can't see the
2007 Jun 03
0
Possible to get month names as values when using date:select
...39;m working on a project where a user will be entering a date from a form, and that date will be compared to a date that''s being pulled from an RSS feed. The RSS feed date format is 03 Jun 2007 so I was hoping to get my form date to use the same format. When I use <%= f.date_select :thedate, :use_short_month => true %> on my form, the presentation to the user on the form shows Jun but the value is 6. Is there some way to get the form to show the values as the abbreviated month name as well? Or is there another way someone could suggest that I easily compare the 03 Jun 2007 for...
2016 Apr 05
1
chgrp "Domain Admins" on folder return invalid group "Domain Admins" #Solved#
OK thank you very much. Regards On Tue, Apr 5, 2016 at 3:36 PM, Rowland penny <rpenny at samba.org> wrote: > On 05/04/16 15:26, Jules Houantonon wrote: > >> Please, strangely >> >> In AD the user demo have /bin/sh as its shell and with getent we have >> /bin/false. >> >> Is it normal ? >> >> >> > Yes, it is normal on a DC,
2006 Jan 14
14
Javascript/AJAX Debugging
Hello ! I''m trying to implement something similar to the "multiple updates" section of the Web2.0 chapter of the Agile book. I implemented my version, and nothing is happening. No javascript errors, my logs look fine, page is rendered fine... just no Effect.Highlight. Here is the code: views/causes/cause_home/index.rhtml =============== <%= form_remote_tag(:complete =>
2004 Nov 11
0
ROracle SQL length limitation
...y regardless of season, and 2. the difftime of any two dates where the time is set to twelve-o-clock should be an integer, regardless of which season each of the dates are in. I illustrate my confusion with a two-line table in an Access 2000 database table where the single field called 'theDate' contains the two values: 30/07/04 12:00:00 30/11/04 12:00:00 then I bring the datetimes into R with the following code: > library (RODBC) > theChannel <- odbcConnect("phonetagcopy", "", "") > pp <- sqlFetch(theChannel, "DateTest") &...
2008 Dec 29
0
Serial Correlation Test for Short Time Series
...p at r-project.org Message-ID: <1947895168-1229964736-cardhu_decombobulator_blackberry.rim.net-2090033294- @bxe348.bisx.prod.on.blackberry> Content-Type: text/plain I tend to avoid the issue by asking Oracle for a character string representation of the date. I use sql like this: to_char( thedatefield, 'yyyymmdd' ) as thedate Then in R: d <- as.Date( as.character( thedate, '%Y%m%d') ) Hope this helps, Avram ------Original Message------ From: Ivan Alves Sender: r-help-bounces at r-project.org To: r-help at r-project.org Sent: Dec 22, 2008 8:40 AM Subject: [R] Treatm...