Displaying 20 results from an estimated 1000 matches similar to: "tzone and DST"
2010 Jun 23
2
Analyzing large transition matrix
Let's say you have a dataframe of car trade-ins. For example, each row
contains
oldcar newcar qty
and a typical entry could be
lexus bmw 1
I put the qty column to allow for fleet purchases, where one purchase
may convert multiple cars at once.
I'd like to show what's going on. I could do a histogram of newcar to
show the frequency each type of car is bought. If there
2008 Sep 09
1
'xtfrm' performance (influences 'order' performance) in R devel
Hello everybody,
it looks like the presense of some (do know know which) S4 methods for a
given S4 class degrades the performance of xtfrm (used in 'order' in new
R-devel) by a factor of millions. This is for classes that ARE derived
from numeric directly and thus should be quite trivial to convert to
numeric.
Consider the following example:
setClass("TimeDateBase",
2011 May 31
3
DateTime Math in R - POSIXct
Greetings -
I'm battling POSIXct, as per the code below. My input is actually an XL
file, but the weird results below correctly model what I am seeing in my
program.
Before I punt and use lubridate or timeDate, could anyone please help me
understand why POSIXct forces my variable back to GMT?
I suspect that I'm not properly coding the tzone value, but it does not
throw an
2012 Jul 09
1
c(a, b) for POSIXct objects with tzone attributes?
Hello:
What is the recommended method for retaining the tzone attributes
when concatonating POSIXct objects?
> (d1 <- ISOdate(1970,1,1)) # Sets the tzone attribute = GMT
[1] "1970-01-01 12:00:00 GMT"
> (d1.2 <- c(d1, d1)) # c(..) strips the tzone attribute, displays in
the time zone of the operating system
[1] "1970-01-01 04:00:00 PST" "1970-01-01
2017 Nov 18
2
Debian backport on Stretch?
I got a new laptop in September and installed Stretch (I had been using
Jessie), and I tried to follow the instructions on
https://cran.r-project.org/bin/linux/debian/, as I had multiple times in
the past: I added
deb http://cran.wustl.edu/bin/linux/debian stretch-cran34/
to the end of sources.list, I followed the rest of the above directions as
of early September, as best I recall, and I only
2018 Mar 26
1
Typo in src/extra/tzone/registryTZ.c
I stumbled upon a typo in a time zone name: Irtutsk should be Irkutsk.
A patch is attached. I also checked that this is the only bug of its
kind in this file, i.e., all the other Olson time zones occurring in
the file can also be found in Unicode Common Locale Data Repository.
- Mikko Korpela
Index: src/extra/tzone/registryTZ.c
===================================================================
2012 Jul 19
1
Truncating (rounding down) to nearest half hour.
I couldn't find anything in the chron or timeDate packages, and a good search
yielded rounding to the nearest half hour, which I don't want.
The data:
structure(list(Date = structure(c(1209625080, 1209641460, 1209652500,
1209676800, 1209682860, 1209692100, 1209706980, 1209722580, 1209726300,
1209739620, 1209762780, 1209765720, 1209770520, 1209791040, 1209812580,
1209829920,
2010 Aug 31
0
New package: lubridate 0.1
Please find below the package announcement for the R package lubridate
available from cran.
Thank you,
Garrett Grolemund
Rice University
##lubridate
Date-time data can be frustrating to work with in R. R commands for
date-times are generally unintuitive and change depending on the type
of date-time object being used. Moreover, the methods we use with
date-times must be robust to time zones,
2010 Aug 31
0
New package: lubridate 0.1
Please find below the package announcement for the R package lubridate
available from cran.
Thank you,
Garrett Grolemund
Rice University
##lubridate
Date-time data can be frustrating to work with in R. R commands for
date-times are generally unintuitive and change depending on the type
of date-time object being used. Moreover, the methods we use with
date-times must be robust to time zones,
2013 Oct 04
2
Possible POSIXlt / wday glitch & bugs.r-project.org status
Wanted to raise two questions:
1. Is bugs.r-project.org down? I haven't been able to reach it for two or three days:
```
ping bugs.r-project.org
PING rbugs.research.att.com (207.140.168.137): 56 data bytes
Request timeout for icmp_seq 0
Request timeout for icmp_seq 1
Request timeout for icmp_seq 2
Request timeout for icmp_seq 3
Request timeout for icmp_seq 4
Request timeout for icmp_seq 5
2010 Jan 12
0
Wishlist: Function 'difftime' to honor 'tzone' attribute (PR#14182)
Full_Name: Suharto Anggono
Version: 2.8.1
OS: Windows
Submission from: (NULL) (125.165.84.118)
PR#14076 inspired me to write this.
> t1 <- as.POSIXct("1970-01-01 00:00:00", tz="GMT")
> t2 <- as.POSIXlt("1970-01-01 00:00:00", tz="GMT")
> t1 - t2
Time difference of 7 hours
Above, t1 and t2 represent the same time in the same specified
2016 Sep 27
2
Error al buscar datos saltados
Hola,
El problema que tienes es en esta sentencia:
ymd_hms(TEM$TIMESTAMP)
No la estás asignando a nada.
Lo suyo es que hagas algo así:
TEM$myTimeStamp <- ymd_hms(TEM$TIMESTAMP)
Y crees el intervalo (seq...) on esta nueva variable.
El error que obtienes es que "TEM$TIMESTAMP" al leerla del fichero es un
string, pero en la lectura automáticamente (salvo que le digas que no lo
2020 Jan 02
2
Como cambiar el formato de fecha de ymd_hms a dmy_hms
Buen día para todos,
Tengo un dataframe nombrado como mydata en donde una de sus variables en
columna de nombre *date* tiene una secuencia de fechas en formato *ymd_hms*.
Ahora quiero convertir este formato a *dmy_hms * en toda la variable *date.*
Me podrían ayudar a saber como debo hacerlo?
Quedo atento a sus comentarios.
Saludos,
Gracias,
*JONATHAN BARTOLO PINZON *
*"En los
2007 Nov 02
1
R timeDate does not allow seconds?
Hello, Sorry if anyone gets this message twice, as my mailserver may not
be working.
Thanks for your response. Your idea makes a lot of sense to me, but I've
been unable to get seconds to work.
I ended up with this format finally:
"2007-10-31_16:20:22"
Problem is I am unable to get it recognized as a date using timeDate():
R>
2009 Jan 27
2
Can I create a timeDate object using only year and week of the year values?
For a model I am working on, I have samples organized by year and week of
the year. For this model, the data (year and week) comes from the basic
sample data, but I require a value representing the amount of time since the
sample was taken (actually, for the purpose of the model, it is sufficient
to use the number of weeks from the middle of the sample week to the
present).
What I have found so
2011 Jul 19
2
timeDate with month designated by three letters.
Dear R Experts:
I am trying to convert a date and time character field to timeDate where the month is presented as three letters, such as "JUN" for June, etc.
This is an example of the full character field:
"04-MAY-11 1428"
What is the proper format syntax?
I've tried
timeDate("04-MAY-11 1428",format="%d-%m-%y %H%M")
but only get
GMT
[1]
2008 Oct 21
2
For loop - how to assign "i" when it is not an element of an index?
Hello,
I'm trying to build a for loop, where I estimate a series of models with
different sets of (time series) data.
However my for loop doesn't recognize the "i"
##################### code################
window.1=anomalies.CAK[(positions(anomalies.CAK)>=timeDate("1/1/1971") &
positions(anomalies.CAK)<=timeDate("6/30/1991") )]
....
2009 Mar 13
1
Rd \usage clause for an S4 replace method
Given S4 methods [ and [<-, how do I write the Rd-file usage clause for
the latter one?
What I have now is:
\S4method{[}{TimeSeries,TimeDate,missing}(x, i, j, ..., drop)
\S4method{[<-}{TimeSeries,TimeDate,missing,ANY}(x, i, j, ..., value)
which results in the following output:
## S4 method for signature 'TimeSeries, TimeDate, missing':
x[i, j, ..., drop]
2002 Jul 11
2
Control Panel
Anybody know how to invoke control panel applets?
What I really want to do is make Wine use my default Date format that I used
in Windows, but it's reverted to the goddawful American usage (with two
digit years, no less).
wine timedate.cpl (or wine C:/windows/system/timedate.cpl)
fails with an error 193 and nothing in the log
--
derek
2014 Sep 25
4
Campo Fecha y paquete openair
Sorry, la función por el formato que tienen tus fechas debe de ser
"dmy_hms()"...
Saludos,
Carlos Ortega
www.qualityexcellence.es
El 25 de septiembre de 2014, 18:14, Eduardo Bieñkowski <edukoski en gmail.com>
escribió:
> Si lo proceso con date<-ymd_hms(dato$actualizado) no me da error pero la
> transformación no es la correcta
>
> > head(dato$actualizado)
>