Displaying 20 results from an estimated 200 matches similar to: "problem in plotting numeric x by POSIXt class with lattice"
2006 Mar 28
1
Passing the input name to "text_field_with_auto_complete"
I have a view with two auto complete input boxes. How do I give the
input a name like I can for "text_input" helper?
I''ve looked at the docs
(http://api.rubyonrails.com/classes/ActionView/Helpers/JavaScriptMacrosHelper.html#M000462)
but cant make sense of it...
<p><label for="search_start_station">From</label><br/>
<%=
2013 Mar 15
2
app_rtsp.c ported to Asterisk 11.x
Hi,
If anyone is interested, I have ported app_rtsp.c to Asterisk 11.x. I have
tested it with GStreamer RTSP server and a C920 webcam streaming H264 SVC
video from one machine to another machine running Linphone. Contact me at
this e-mail address robkrakora at messagenetsystems.com for source code.
Best Regards,
--
Rob Krakora
MessageNet Systems
101 East Carmel Dr. Suite 105
Carmel, IN 46032
2012 Jun 12
0
Advanced routing question
OK, I''m trying to do this the "right way". (We''re using rails 2.3.11,
btw.)
I have a route which looks like this:
map.unit '':district/:community/:resort/:unit'', :controller =>
''units'', :action => ''index'', :requirements => {:district =>
districts, :community => communities, :resort => resorts,
2011 Jan 10
3
usb 3
I am trying to plug a USB 2 device in a USB 3 slot. Nothing is being
detected
in "lsusb". Is there something special I need to do? I am running centos
5.5 x86_64.
I thought 3.0 was backward compatible. Nothing special about my device
its an RS232 to USB device.
It works in 2.0 slot.
Thanks,
Jerry
2013 Mar 05
1
Reading Wyoming radiosonde data files with RadioSonde package
Hi,
I need to do some analysis on historic daily radiosonde data I download
from the Wyoming Univ. web page (
http://weather.uwyo.edu/upperair/sounding.html).
I am trying to use the RadioSonde package (V 1.3), but the format of the
files from Wyoming don't match what RadioSonde is expecting.
Has anyone used the Radiosonde package on the Wyoming data?
Here is a sample of the Wyoming file
2008 Jan 26
5
autoprovision 200+ linksys phones setup
Hi there,
We have plans to install an office (not call center) with the following setup:
200 linksys 942 phones (sip + g711) on a LAN
a server with a dual port E1 sangoma and a remora card with 4 fxo modules.
So far when we want to setup a linksys phone, we need to use the http
interface of each phone, disable/enable a lot of things and plug it
into the network. this is not the best scenario for
2012 Jul 13
4
R-squared with Intercept set to 0 (zero) for linear regression in R is incorrect
Hi,
I have been using lm in R to do a linear regression and find the slope
coefficients and value for R-squared. The R-squared value reported by R
(R^2 = 0.9558) is very different than the R-squared value when I use the
same equation in Exce (R^2 = 0.328). I manually computed R-squared and the
Excel value is correct. I show my code for the determination of R^2 in R.
When I do not set 0 as the
2011 Jul 17
6
Buildung Wine on OS X
Hi folks out there,
I'm new to this project but very keen on more information. The reason I want to have Wine, is because I want to get "Klingon Academy" on OS X. On every Windows Revision above Win 98 the game fails, so I thought: "Why not do it the other way around and try Wine?"
So, here I am. And after the first look into the Wiki page, I was VERY confused on how I
2005 Apr 14
1
xtable POSIXt
Hi,
I was trying like to print out data frame with POSIXct column
in html format using xtable package, but I got error message
when trying to print the table. Here is example:
aaa<-data.frame(as.POSIXct(strptime('03 2005', '%d %Y')),0)
aaa.tab<-xtable(aaa)
print(aaa.tab)
Error in Math.POSIXt(x + ifelse(x == 0, 1, 0)) :
abs not defined for POSIXt objects
2006 May 06
0
'col'-parameter in 'hist.POSIXt'
Hi guys.
The 'col'-parameter in the 'hist'-method for the classes 'POSIXt' and
'date' does not perform as it does in the default 'hist'-method.
Unfortunately, it does not only change the filling color of the boxes,
but also the color of the axislines.
[Using 'graphics'-package version 2.2.0]
Examples:
# with POSIXct-object
hist(.leap.seconds,
2005 Jan 05
1
hist.POSIXt filled bars - axis color changes
Hi all,
I'm plotting a histogram of dates and would like to shade the bars, e.g.
hist(.leap.seconds,"years",col='gray',freq=T)
-but the axis color also changes, how do I prevent that?
thx in advance
Janus
[[alternative HTML version deleted]]
2003 Aug 18
1
round.POSIXt sometimes crashes R (PR#3763)
Full_Name: andrea capodicasa
Version: 1.7.0
OS: w2k sp3
Submission from: (NULL) (212.17.194.154)
Hi all,
the problem is when you try to round.Posix an empty vector of dates
Please give a look to this code:
> data=seq(ISOdate(2001,1,1),by="day",length=3)
> data
[1] "2001-01-01 13:00:00 ora solare Europa occidentale"
[2] "2001-01-02 13:00:00 ora solare Europa
2006 Sep 25
0
na.encode in format for Date and POSIXt classes
Hello!
na.encode does not have any effect on format of NA values of Date and
POSIXct (POSIXlt?) "atomic" classes in a data.frame. Here is the example
(the same in R 2.3.1 and 2.5.0 (2006-09-19 r39409)):
testData <- data.frame(num=c(NA, 2.6),
int=c(1, NA),
fac=factor(c(NA, "abc")),
cha=c("a",
2007 Feb 21
1
Adding difftime objects to POSIXt objects
Hello,
?DateTimeClasses states that "one can add or subtract a number of
seconds or a 'difftime' object from a date-time object, but not add two
date-time objects."
So, is the below expected behavior?
> x <- Sys.time()
> x
[1] "2007-02-21 16:19:56 CST"
> x + as.difftime("1","%H")
[1] "2007-02-21 16:19:57 CST"
Warning
2010 Apr 29
1
bug in cut.POSIXt(..., breaks = <numeric>) and cut.Date
x <- seq(as.POSIXct("2000-01-01"), by = "days", length = 20)
cut(x, breaks = 3)
# Error in `levels<-.factor`(`*tmp*`, value = character(0)) :
# number of levels differs
cut(as.Date(x), breaks = 3)
# Error in `levels<-.factor`(`*tmp*`, value = character(0)) :
# number of levels differs
Index: base/R/datetime.R
2011 Mar 23
0
suggestions re trunc.POSIXt
Dear all,
I hope this is a right place to post this; r-help might be appropriate
but it looks like I'm suggesting a change in base package, so I
decided to post here. (+ Apologies if that has been changed recently
-- the version I'm using is R.2.12.2 on Windows.)
I've noticed an unexpected behavior of trunc.POSIXt:
foo <- seq(as.POSIXct( "2009-10-23 22:00:00"),
2002 May 17
0
round.POSIXt gets certain values wrong
For certain values, round.POSIXt(tm,'day') does not round to midnight
as documented. The reason is that trunc.POSIXt() does not adjust the
value of the isdst element. Assuming my assessment of the reason is
correct, I have a potential solution to offer. Additional discussion
is in bug report #1543.
-Don
> x <- c(as.POSIXct('2001-4-1 3:15'),as.POSIXct('2001-5-2
2009 Feb 17
0
Problem with +(POSIXt, difftime) dispatching -- WAS: How to create sequence of constant time interval
There seems to be a problem in the way `+` is dispatched for
POSIXt/difftime (R 2.8.0 Windows).
With the following definitions:
t0 <- as.POSIXct('2009-01-01 00:00')
halfhour.mins <- as.difftime(30,units='mins')
I would have thought that the straightforward answer to Suresh's
question would be something like
t0 + halfhour.mins * (0:47)
And indeed, if we
2004 Mar 30
1
seq.POSIXt() bug not fixed in R 1.8.1 (PR#4558)
I am still experiencing problems with seq.POSIXt() missing off the last day
of the series:
> seq(as.POSIXct("2004-03-25"),as.POSIXct("2004-03-31"),by="DSTdays")
[1] "2004-03-25 GMT Standard Time" "2004-03-26 GMT Standard Time"
"2004-03-27 GMT Standard Time"
[4] "2004-03-28 GMT Standard Time" "2004-03-29 GMT Daylight
2007 Oct 08
2
Incompatible methods ("-.POSIXt", "Ops.difftime") for "-"
Dear all,
according to the Help-page of DateTimeClasses {base} I should be able to do
time - z
with
time date-time objects
z a numeric vector (in seconds) or an object of class "difftime".
However, on R version 2.6.0 (Windows XP) I get
> Sys.time() - as.difftime(c("0:3:20", "11:23:15"))
Time differences in mins
[1] 1191837998 1191837318