Displaying 20 results from an estimated 10000 matches similar to: "Converting time from HH:MM:SS to only HH:MM"
2012 Mar 29
1
Adding duration (hh:mm:ss)\Converting factor column into duration class
Hi All,
I have a data frame:
Time1 Time2
1 176:46:10 41:48:06
2 171:28:57 61:19:10
3 178:25:15 34:05:35
4 74:04:20 25:01:55
5 136:11:20 37:59:32
6 138:17:17 30:22:27
7 183:04:48 29:25:02
8 179:35:01 19:29:44
> str(df)
'data.frame': 8 obs. of 2 variables:
$ Time1: Factor w/ 583 levels
2011 Dec 12
1
Help with charting time in seconds as HH:MM:SS on charts
Hello,
I am dealing with data stored in a database as a 'time' object. I
export the data from the database to a text file and utilize the
'time_to_sec()' function of the database to convert the human readable
time (HH:MM:SS) to seconds so that I can use R to do analysis and
create charts of the data. I do not need or use days or dates in the
data, and the data range is from
2010 Feb 16
3
converting character vector "hh:mm" to chron or strptime 24 clock time vectors
Hi All,
I am attempting to work with some data from loggers. I have read in a
.csv exported from MS Access that already has my dates and times (in 24
clock format), (with StringsAsFactors=FALSE).
> head(tdata)
LogData date time
1 77.16 2008/04/24 02:00
2 61.78 2008/04/24 04:00
3 75.44 2008/04/24 06:00
4 89.43 2008/04/24
2006 Mar 11
2
how to create analog stripchart plots of x vs t (t=mm/dd/yyyy hh:mm:ss)
Hello r-experts,
I sure could us a little help.
I have an ever updating text file with timestamped data in it. I can
reformat in anyway I want if need be but currently I have chosen to make
columns of date, time and measuresed value (comma delimeted and with the
dates and times in quotes to interpret them as strings).
Here is a small section of my text data file:
2009 Jul 16
6
Best way to replace :SS with :00
Not sure if there is an R way to do this or a regular express way, but here is what I am trying to do.
I've got lots of data where the format is HH:MM:SS, but I need to format it like HH:MM:00, i.e. round the second down to zero.
What is the best way to do this?
Thanks again.
Jason
2004 Jul 29
3
2 questions : format and hh:mm
Dear R-users,
i have two questions :
1- first of all, i wish to know the way to obtain a serie with a format
like "00" : ( "01","02","03","04"....) or like postal code
("01100","02222").
for instance, i do :
> format(strptime(as.character(c(1:4)),"%H"),"%H")
but it sounds complicate and not really
2018 Apr 17
2
iterative read - write
Hi all,
I would like to set up an iterative read & write sequence to avoid
reading and writing each file one at a time.
Hundreds of data sets to re-calculate.? The code I have works well
individually, but would like to set up an iterative read, calculate and
write changing the input and output file names each iteration.
I? think I have read that there is an R? feature using
2008 May 27
2
HH.EXE location
This is related to my post about .chm where vitamin set me on the right path.
http://forum.winehq.org/viewtopic.php?t=1026
Since then I reinstalled Ubuntu 8.04 and wine.
While perusing the virgin registry I noticed the chm.file ...command key was: C:\windows\system32\hh.exe %1
There is no hh.exe located in that directory. The hh.exe file is located in the C:\windows\ directory.
If wine uses the
2009 Apr 26
6
Memory issues in R
How do people deal with R and memory issues?
I have tried using gc() to see how much memory is used at each step.
Scanned Crawley R-Book and all other R books I have available and the FAQ
on-line but no help really found.
Running WinXP Pro (32 bit) with 4 GB RAM.
One SATA drive pair is in RAID 0 configuration with 10000 MB allocated as
virtual memory.
I do have another machine
2012 Dec 28
3
Merging data tables
Hi all,
I am trying to merge several data sets and end up with a long data
format by date & time so I can run correlations and plots. I am using
Deducer as an R GUI but can just use the R console if easier.
The data sets are weather with wind speed, relative humidity and
temperatures by date and minute and bat activity with date, time, label,
and an activity index number. The bat
2009 Nov 04
1
Convert H:MM:SS PM /AM into 24 HR syntax
I've got an array of times in H:MM:SS PM/AM format, e.g. "5:27:15 PM" (no leading zero), and I would like to convert them over to 24 HR syntax, e.g. HH:MM:SS.
If it matters, the times are from the Central Time zone.
Is there a command to convert the time to a 24HR format?
I tried the following:
ptime("5:27:15 PM", "%H:%M:%S")
[1] "2009-11-04
2008 Apr 14
2
Viewing .CHM files with hh.exe from command line
I would like to be able to start the Wine .chm file-viewer, C:\windows\hh.exe, from the command-line like this:
wine hh.exe /some/dir/somefile.chm
It works if the current directory contains the .chm file, but not if I have to specify a path.
Am I missing something?
2009 Feb 09
2
meaning of warning messages
Hi all,
Read a string of data and had this message during a plot run.
Warning message:
closing unused connection 3 (Lines)
Not sure what this means or if it should be of concern.
Tnx.
2009 Aug 31
4
Offtopic, HT vs. HH in coin flips
Dear R-help,
Could someone please try to explain this paradox to me? What is more likely to show up first in a string of coin tosses, "Heads then Tails", or "Heads then Heads"?
##generate 2500 strings of random coin flips
ht <- replicate(2500,
paste(sample(c("H", "T"), 100, replace = TRUE),
collapse =
2009 Apr 25
5
Out of memory issue
Hi all,
I am trying to run some plots on data, but when loading he CSV data
file R is stopping and I am getting an out of memory error.
Anyway to tweak this somehow to get it to run?
Using WinXP with 4 GB RAM
Tnx
Bruce
2006 Aug 22
1
HH and Rcmdr.HH packages available
The software for my recent book
Statistical Analysis and Data Display
Richard M. Heiberger and Burt Holland
http://springeronline.com/0-387-40270-5
is now available as an R package from the book's website.
The package has been submitted to CRAN.
Description: Support software for Statistical Analysis and Data
Display (Springer, ISBN 0-387-40270-5). This contemporary
2012 Dec 11
1
Removing duplicated values
Hi all,
I have been away from R for far too many months and have two questions.
One is likely simple, but not found under help or in many of the
available R ref., books.
1. How does one save the results of an analysis from the main console
to a file without the need to copy and paste?
2. What tools (possibly Plyr or reshape) can be used to remove
duplicated entries in a data matrix?
I have
2018 Apr 17
5
Hacked
No, I do not use gmail, still got dirty spam email twice.
-----Original Message-----
From: R-help [mailto:r-help-bounces at r-project.org] On Behalf Of Fowler, Mark
Sent: Tuesday, April 17, 2018 12:32 PM
To: Luis Puerto; Peter Langfelder
Cc: R-Help ML R-Project; Neotropical bat risk assessments
Subject: Re: [R] Hacked
[Attention: This email came from an external source. Do not open attachments
2004 May 12
1
convert.times in chron, error when 59 < seconds < 60 (PR#6878)
Full_Name: Dennis Wolf
Version: 1.9.0
OS: Mac OS 10.3.3
Submission from: (NULL) (160.91.76.23)
platform powerpc-apple-darwin6.8
arch powerpc
os darwin6.8
system powerpc, darwin6.8
status
major 1
minor 9.0
year 2004
month 04
day
2012 Feb 27
1
win zip archive of library(HH) for R2.12.0
Dear R Group
Can any body point me to a link from where I can get zip archive of the
package HH for R 2.12.0?
Thanks &
Regards
Vijayan Padmanabhan
"What is expressed without proof can be denied without proof" - Euclide.
Please visit us at www.itcportal.com
******************************************************************************
This Communication is for the exclusive use