search for: thedat

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

Did you mean: thebat
2006 Mar 01
1
postscript bounding box in trellis/lattice plot is wrong ?
...uch space above and below... as if it is still assuming that the figure is square rather than 1:3 in proportions. Is there any fix for this? Thanks for any advice Here's the approximate code (very simple): ------------------------------------ library(lattice) plt_hi[[1]] <- xyplot(thedat[,ir] ~ thedat[,ic], aspect=1/1) ... plt_hi[[2]] <- xyplot(thedat[,ir] ~ thedat[,ic], aspect=1/1) ... plt_hi[[2]] <- xyplot(thedat[,ir] ~ thedat[,ic], aspect=1/1) trellis.device(postscript, file=thefile, color=F) print(plt_hi[[1]], split=c(1,1,3,1), more=T) print(plt_hi[[2]], split=c(...
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-3...
2006 Mar 15
1
How to get correct proportions/bounding box for latex figure?
...knows the bounding box because it puts down the ink (metaphorically)... and if it did not know, it would display on-screen figures with incorrect centering and clipping. Thanks for any advice or insight. ............. Here is a sketch of the code: library(lattice) plt_hi[[1]] <- xyplot(thedat[,ir] ~ thedat[,ic], aspect=1/1) ... plt_hi[[2]] <- xyplot(thedat[,ir] ~ thedat[,ic], aspect=1/1) ... plt_hi[[2]] <- xyplot(thedat[,ir] ~ thedat[,ic], aspect=1/1) # optionally add horizontal=FALSE, paper="special", etc. here trellis.device(postscript, fi...
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)
...quot;,"15:06",0.000000 ...etc... I am trying to make a plot of 'X' vs. 't' where '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,TheTime...
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 &q...
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
...e hundreds of megabytes of price data time series, and perl scripts that extract it to tab delimited files (I have C++ programs that must analyse this data too, so I get Perl to extract it rather than have multiple connections to the DB). I can read the data into an R object without any problems. thedata = read.csv("K:\\Work\\SignalTest\\BP.csv", sep = "\t", header = FALSE, na.strings="") thedata The above statements give me precisely what I expect. The last few lines of output are: 8190 2009-06-16 49.30 8191 2009-06-17 48.40 8192 2009-06-18 47.72 8193 2009-06-19 48...
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
...P-1 Water 139.388805 2909 Case 2 851 P-1 Water 139.494947 2910 Case 2 882 P-1 Water 137.556790 2911 Case 2 912 P-1 Water 155.668018 2912 Case 2 943 P-1 Water 169.410378 2913 Case 2 974 P-1 Water 172.121117 And here is the code that I am using simPlot<-function(theData, theWell, start="2000-01-01", obs="Observed", streams, order=(1:nStreams), heights=1, headings=streams, xby="years", ...){ # process streams if(missing(streams)) { pData <- subset(theData, theData$Well==theWell) streams<-levels(pData$Stream) } else...
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 fo...
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] Treat...