search for: lubridate

Displaying 20 results from an estimated 211 matches for "lubridate".

2012 Jan 11
2
lubridate does not install on FreeBSD any more
...5) Platform: amd64-portbld-freebsd10.0 (64-bit) locale: [1] de_DE.ISO8859-15/de_DE.ISO8859-15/de_DE.ISO8859-15/C/de_DE.ISO8859-15/de_DE.ISO8859-15 attached base packages: [1] stats graphics grDevices utils datasets methods base I get the following error when I try to build and install lubridate from sources on FreeBSD 10.0-CURRENT (amd64): #R CMD INSTALL lubridate_0.2.6.tar.gz * installing to library '/usr/local/lib/R/library' * installing *source* package 'lubridate' ... ** package 'lubridate' successfully unpacked and MD5 sums checked ** R ** data ** moving da...
2012 Mar 06
0
lubridate 1.1.0
#lubridate lubridate makes it easier to work with dates and times by providing functions to identify and parse date-time data, extract and modify components of a date-time (years, months, days, hours, minutes, and seconds), perform accurate math on date-times, handle time zones and Daylight Savings Time. lub...
2012 Mar 06
0
lubridate 1.1.0
#lubridate lubridate makes it easier to work with dates and times by providing functions to identify and parse date-time data, extract and modify components of a date-time (years, months, days, hours, minutes, and seconds), perform accurate math on date-times, handle time zones and Daylight Savings Time. lub...
2012 Nov 16
2
lubridate concatenation issue
I took a look at Hadley's lubridate which seems a very neat package, but i am having a small problem with  concatenating lubridates to build vectors of it. Namely when function c( )  is applied to lubridate seems to change time to a local timezone in this particular case changing the date to previous one.  > d<-ymd('201112...
2020 Jan 03
3
Error en salida de lubridate::seconds_to_period() en Rmarkdown
Buas y feliz año y decada nueva, compañeRos, Me estoy encontrando con un problema tonto que no consigo resolver. Explico, tengo un dato que necesito sacar en un documento con codigo on line y no me saca el resultado de consola. dato <- 2272.13 round(lubridate::seconds_to_period(seconds(dato))), 0) En consola me da: "37M 52S" Pero en el documento ```Rmarkdown + Duración total `r round(lubridate::seconds_to_period(seconds(sum(dato))), 0)` ``` Me da: - *Duración total 52* Lo de envolverlo en seconds() lo puse para ver si funciona, y no...
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 mu...
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 mu...
2017 Aug 07
1
tidyquant error downloading symbols for Index
..., the set of commands that I ran was library(tidyquant) tq_index_options() tq_index("SP500") sessionInfo() R feedback including error message and sessionInfo are provided below. Guidance would be appreciated. --John J. Sparks, Ph.D. > library(tidyquant) Loading required package: lubridate Attaching package: ?lubridate? The following object is masked from ?package:base?: date Loading required package: PerformanceAnalytics Loading required package: xts Loading required package: zoo Attaching package: ?zoo? The following objects are masked from ?package:base?: as.Date, a...
2018 Aug 23
7
conflicted: an alternative conflict resolution strategy
...nction in a base package, but they follow the superset principle (i.e. they only extend the API, as explained to me by Herv? Pages). conflicted assumes that packages adhere to the superset principle, which appears to be true in most of the cases that I?ve seen. For example, the lubridate package provides `as.difftime()` and `date()` which extend the behaviour of base functions, and provides S4 generics for the set operators. conflict_scout(c("lubridate", "base")) #> 5 conflicts: #> * `as.difftime`: [lubridate] #>...
2011 May 27
0
lubridate, as.POSIXct and a vector of times: bug or feature??
It took me some time to realize this annoying behavior was coming from lubridate. Perhaps this behavior is unexpected a result of cursory knowledge of it.... ## The expected behavior > sometimes=c(0,1,2,3)*60*60*24 > as.POSIXct( sometimes, origin='1970-01-01', tz='GMT') [1] "1970-01-01 GMT" "1970-01-02 GMT" "1970-01-03 GMT" &...
2018 Sep 29
4
Cambiar formato fecha
Holaefectivamente  lubridate te podría servir library(lubridate) data$fecha_nueva<-dmy(data$ReviewData) El Viernes 28 de septiembre de 2018 16:41, Javier Marcuzzi <javier.ruben.marcuzzi en gmail.com> escribió: Estimada Miriam Le respondo corto, estoy en el celular, escriba str(los datos), su fecha puede se...
2012 Mar 30
1
lubridate:ymd_hm and coercion of class POSIXct. Smooth way to restore the date format.
Dear all, I wish to create a POSIXct variable from date and time variables using the ymd_hm function in package lubridate. In some cases data for time is missing, which causes a problem for ymd_hm. I wish to find a smooth way to handle this. # Some example data: x <- data.frame(date = c("2011-09-22", "2011-07-28"), time = c("15:00", NA)) x # paste date and time together to a format...
2016 Dec 06
6
segfault with POSIXlt zone=NULL zone=""
Hi all, I ran into a segfault while playing with dates. $ R --no-init-file ... > library(lubridate); d=as.POSIXlt(floor_date(Sys.time(),"year")); d$zone=NULL; d$zone=""; d Attaching package: ?lubridate? The following object is masked from ?package:base?: date Warning message: package ?lubridate? was built under R version 3.4.0 *** caught seg...
2010 Nov 17
0
lubridate v2.2 available on cran
Version 2.2 of the lubridate package is now available. lubridate makes it easier to work with date-time data. For example, it provides: * simple functions to extract and modify components of a date-time, such as years, months, days, hours, minutes, and seconds: year(), month(), day(), ... * quick and easy functions to parse...
2010 Nov 17
0
lubridate v2.2 available on cran
Version 2.2 of the lubridate package is now available. lubridate makes it easier to work with date-time data. For example, it provides: * simple functions to extract and modify components of a date-time, such as years, months, days, hours, minutes, and seconds: year(), month(), day(), ... * quick and easy functions to parse...
2023 Nov 06
1
strptime with +03:00 zone designator
OK, so the consensus is (1) One cannot make strptime accept ISO8601-compliant zone designators (2) The lubridate package can (3) Or one can hack away with regex. Lubridate it is, then. But I do regard strptime's inability to process ISO8601-compliant zone designators as a bug. On Mon, 6 Nov 2023 at 13:18, jim holtman <jholtman at gmail.com> wrote: > try using 'lubridate' > > &gt...
2018 Oct 01
2
Cambiar formato fecha
Hola Miriam, ¿Has probado en cualquier caso?. "lubridate" es capaz de gestionar estas diferencias. Usa la función "dmy()", que entenderá esas pequeñas diferencias con respecto al día. Puede gestionar incluso diferencias mucho mayores... Saludos, Carlos Ortega www.qualityexcellence.es El lun., 1 oct. 2018 a las 19:05, Miriam Alzate (<...
2023 Nov 06
1
strptime with +03:00 zone designator
Thanks to all who replied. On Mon, 6 Nov 2023 at 18:37, Richard O'Keefe <raoknz at gmail.com> wrote: > OK, so the consensus is > (1) One cannot make strptime accept ISO8601-compliant zone designators > (2) The lubridate package can > (3) Or one can hack away with regex. > Lubridate it is, then. > > But I do regard strptime's inability to process ISO8601-compliant zone > designators as a bug. > > > On Mon, 6 Nov 2023 at 13:18, jim holtman <jholtman at gmail.com> wrote: > >&gt...
2013 Oct 04
2
Possible POSIXlt / wday glitch & bugs.r-project.org status
...invariant? You would expect the wday element to be invariant to the timezone of a date. That is, the same date/time instant of 5th October 2013 in both Australia/Sydney and UTC should be a Saturday (i.e. wday = 6). And indeed that is the case with 1 min past midnight on 5 October 2013: ``` library(lubridate) d_utc <- ymd_hms(20131005000001, tz='UTC') d_local <- ymd_hms(20131005000001, tz='Australia/Sydney') as.POSIXlt(x=d_utc, tz=tz(d_utc))$wday # 6 as.POSIXlt(x=d_local, tz=tz(d_local))$wday # 6 ``` But this isn't always the case. For example, ``` d_utc <- ymd_hms(203810...
2023 Nov 06
2
strptime with +03:00 zone designator
...23 18:37:34 +1300 writes: > Thanks to all who replied. On Mon, 6 Nov 2023 at 18:37, > Richard O'Keefe <raoknz at gmail.com> wrote: >> OK, so the consensus is (1) One cannot make strptime >> accept ISO8601-compliant zone designators (2) The >> lubridate package can (3) Or one can hack away with >> regex. Lubridate it is, then. >> >> But I do regard strptime's inability to process >> ISO8601-compliant zone designators as a bug. Did you try to submit it to R's bugzilla? It's the first time I he...