Displaying 20 results from an estimated 3865 matches for "weekend".
2004 May 26
3
is.weekend() odd behaviour
It seems is.weekend() is unsure ?
# Start R 1.9.0 with --vanilla on windows xp
# load package chron
> table(is.weekend(sapply(1:100, function(i){Sys.sleep(0.05);Sys.time()})))
FALSE TRUE
68 32
> date()
[1] "Wed May 26 11:18:56 2004"
> version _
platform i386-pc-ming...
2004 May 26
1
FW: is.weekend() odd behaviour
Kurt,
Uwe suggested I write to you as maintainer of chron ... at the start of
is.weekend, in the check on the argument type, maybe just change chron() to
as.chron()? This would ensure as.chron.POSIXt gets called on POSIXt
arguments, and (I think) fixes the problem. I tested and it seems ok. No
warning/error required.
> is.weekend
function(x)
{
if(!inherits(x, "dates")...
2001 Sep 07
1
chron is.weekend() function
...now available, but I am still using chron because
of the is.holiday() function and a homemade (even Heath Robinson would be
ashamed) is.daylight() function.
As a check for typos in the data input, I checked that the dates matched the
weekdays. I'm getting some confusing results from the is.weekend function
in chron. For example (in US format: mm/dd/yy):
> mb.df$dtg[is.weekend(mb.df$dtg) == FALSE & mb.df$Weekday == "Sun"]
[1] (09/24/00 11:52:00) (07/30/00 13:30:00) (04/30/00 15:30:00)
[4] (04/30/00 16:28:00) (06/04/00 17:35:00) (09/03/00 14:45:00)
[7] (05/07/00 16:42...
2011 Jul 22
1
Summing values by weekday and weekend - based on daily dates
...0 Sunday 0.37669604
3 2010-05-31 Monday 0.74813943
4 2010-06-01 Tuesday 0.34677680
...
39 2010-07-06 Tuesday 0.69944349
40 2010-07-07 Wednesday 0.62712550
41 2010-07-08 Thursday 0.76714978
42 2010-07-09 Friday 0.72078298
43 2010-07-10 Saturday 0.80048954
How do I add weekday and weekend value in each week? I want a resulting data frame like
Dates day value
2010-05-29 weekend 0.5225
2010-05-31 weekday 2.2352
...
2010-07-05 weekday 3.xxxx
2010-07-10 weekend...
2011 Jul 22
1
Summing daily values by weekday and weekend
...Sunday 0.37669604
3 2010-05-31 Monday 0.74813943
4 2010-06-01 Tuesday 0.34677680
?
39 2010-07-06 Tuesday 0.69944349
40 2010-07-07 Wednesday 0.62712550
41 2010-07-08 Thursday 0.76714978
42 2010-07-09 Friday 0.72078298
43 2010-07-10 Saturday 0.80048954
How do I add weekday and weekend value in each week? I want a resulting data frame like
Dates day value
2010-05-29 weekend 0.5225
2010-05-31 weekday 2.2352
?
2010-07-05 weekday 3.xxxx
2010-07-10 weekend...
2012 May 17
3
CodeSchool weekend free
So many courses in CodeSchool will be free in this weekend, enjoy!
http://www.codeschool.com/free-weekend
--
Atenciosamente,
Guilherme Pereira Dutra,
Fone: (34) 8407-0109
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5T...
2008 Aug 22
10
WAR Beta Installer issues
...ller will now exit.
Don't panic, you will be brought to Microsoft's DirectX page for a Web Install of the lastest DirectX. Please rerun the Warhammer Installer after DirectX Installation.
Anyone had any luck running WAR Beta with Wine? I'd really like to be able to enjoy the Preview weekend that starts tomorrow :D.
2009 Nov 30
3
/etc/cron.weekly/99-raid-check
...already add to the SKIP_DEVS all of my swap partitions (since i read it
on linux-kernel list that there can be mismatch_cnt even though i still
not understand why?). but even the data partitions (ie. all of my
servers all raid1 partitions) produce this error (ie. ther mismatch_cnt
is never 0 at the weekend). and this cause all of my raid1 partitions
are rebuild during the weekend. and i don't like it:-(
so my questions:
- is it a real bug in the raid1 system?
- is it a real bug in my disk which runs raid (not really believe since
it's dozens of servers)?
- the /etc/cron.weekly/99-raid-check i...
2013 Jun 27
2
Date.weekend?
Hello,
Having a boolean *.weekend?* on the Date class would be a good feature. It
will basically do this:
saturday? || sunday?
Makes the code cleaner and easier to read.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group.
To unsubscribe from this group and stop re...
2011 Aug 22
1
Data Frame Indexing
Hello,
I've been dealing with a set of values that contain time stamps and part
of my summary needs to look at just weekend data. In trying to limit the
data I've found a large difference in performance in the way I index a
data frame. I've constructed a minimal example here to try to explain my
observation.
is.weekend <- function(x) {
tm <- as.POSIXlt(x,origin="1970/01/01")...
2006 Feb 25
2
0.3.7 release this weekend
I''m doing another 0.3.7 release this weekend which will roll in changes from
Luis for the win32 service, and some enhancements to the mongrel_rails Unix
runner which makes it behave better with switchtower.
There''s also a new document on setting up a proxy with lighttpd to do simple
clustering on the site:
http://mongrel.rubyforge....
2011 Jul 22
0
Summing values by weekday and weekend
...-30 Sunday 0.37669604
3 2010-05-31 Monday 0.74813943
4 2010-06-01 Tuesday 0.34677680
…
39 2010-07-06 Tuesday 0.69944349
40 2010-07-07 Wednesday 0.62712550
41 2010-07-08 Thursday 0.76714978
42 2010-07-09 Friday 0.72078298
43 2010-07-10 Saturday 0.80048954
How do I add weekday and weekend value in each week? I want a resulting data frame like
Dates day value
2010-05-29 weekend 0.5225
2010-05-31 weekday 2.2352
…
2010-07-05 weekday 3.xxxx
2010-07-10 weekend...
2007 Nov 01
1
[Bug 13045] New: Gallery application at www.weekend.ee not working
http://bugs.freedesktop.org/show_bug.cgi?id=13045
Summary: Gallery application at www.weekend.ee not working
Product: swfdec
Version: 0.5.3
Platform: x86-64 (AMD64)
URL: http://www.weekend.ee/?gid=1273
OS/Version: All
Status: NEW
Severity: normal
Priority: medium
Component: plugin
Assigne...
2005 Feb 26
16
yum stalls <?>
I just installed a fresh 3.3 system (because those are the ISO's I had on
hand). Upon running yum update, it starts to download headers and then
stalls. I hit Ctl-C and it continues to download about 4-5 more headers and
stalls. I hit Ctl-C again and it pulls a few more headers. Anyone seen
this and/or know how to fix it?
TIA
Mike
2024 May 09
2
Strange variable names in factor regression
...hout intercept?
Thanks,
Naresh
mydf <- data.frame(date = seq.Date(as.Date("2024-01-01"),
as.Date("2024-03-31"), by = 1))
mydf[, "wday"] <- weekdays(mydf$date, abbreviate = TRUE)
mydf.work <- subset(mydf, !(wday %in% c("Sat", "Sun")))
mydf.weekend <- subset(mydf, wday %in% c("Sat", "Sun"))
mydf.work[, "volume"] <- round(rnorm(nrow(mydf.work), mean = 20, sd =
5))
mydf.weekend[, "volume"] <- round(rnorm(nrow(mydf.weekend), mean = 10,
sd = 5))
mydf <- rbind(mydf.work, mydf.weekend)
reg <-...
2006 Mar 04
1
*** Yet another boring weekend? Test new Asterisk features in development!
In Sweden, where I live, it's snowing like crazy. The Stockholm area
is covered in white stuff
and there's really no reason to leave the computer and get out
anywhere. More white stuff
is coming down all the time. Boring. I am sure your weekend is no
better - rain, snow or
just another boring sunny day.
Let's find something cool to do during this weekend!
Join the cool crowd that tests the test branch during evenings and
weekends. The dudes and dudettes that
proudly contributes by reporting everything from simple spelling
erro...
2010 Apr 12
2
mysterious weekly shutdown
I have a Centos 5.4 machine that has, for the past two weeks, apparently
been shut off over the weekend. It's just sitting there turned off on
Monday morning and when someone hits the power switch it comes right
back on and everything works again.
This happened last weekend, and again over this past weekend.
Here is /var/log/messages from shortly before it apparently shut down
this weekend. C...
2007 May 04
22
CampingConf?
Campers --
In a few weeks there will be a bunch of people in Portland, OR, for a
conference. A long time ago some campers mentioned that might be a
good time for us to get together and hold a mini CampingConf for a few
hours. Is anyone interested? Does anyone want to organize it?
I''m thinking Wednesday night, May 16.
We could possibly get a spot at FreeGeek (not likely since they are
2013 Dec 09
1
[Gluster-devel] GlusterFest Test Weekend - 3.5 Test #1
...reetings,
> >
> > If you've been keeping up with our weekly meetings and the 3.5 planning
> > page, then you know that tomorrow, December 6, is the first testing "day"
> > for 3.5. But since this is a Friday, we're going to make the party last
> > all weekend, through mid-day Monday.
> >
>
> YUM repos with 3.5.0qa3 RPMs for EPEL-6 and Fedora 18, 19, and 20 are
> available at
> http://download.gluster.org/pub/gluster/glusterfs/qa-releases/3.5.0qa3/
>
>
> --
>
> Kaleb
>
> _______________________________________...
2012 Aug 10
0
[LLVMdev] Potential Downtown for Maintenance This Weekend
Dear All,
During the weekend between the hours of 8 am and 5 pm CDT, our IT people
will be upgrading the storage infrastructure used by the University of
Illinois Computer Science Department. While I do not expect this work
to affect any of the LLVM services (those provided by llvm.org or the
mailing lists run by the depa...