Displaying 20 results from an estimated 27 matches for "os3".
Did you mean:
os
2007 Jun 12
1
Can strptime handle milliseconds or AM/PM?
I'm trying to proess date/time fields from files that were given to me to
analyze.
Any clues what I'm doing wrong with strptime? This seems to fail the same
way under Linux or Windows.
For ?strptime would it make sense to explain %OS3 somewhere besides the
Examples?
> # Why does %OS3 work here?
> format(Sys.time(), "%H:%M:%S")
[1] "16:45:19"
> format(Sys.time(), "%H:%M:%OS3")
[1] "16:45:19.477"
> # Why doesn't %OS3 work here?
> EventLog.Start <- "17:49:33.779&...
2011 Mar 04
4
xts POSIXct index format
Hi,
I cannot figure out how to change the index format when displaying POSIXct
objects.
Would like the xts index to display as %H:%M:%OS3 when doing viewing the xts
object.
Think I am missing the obvious.
Cheers,
Chris
--
View this message in context: http://r.789695.n4.nabble.com/xts-POSIXct-index-format-tp3336136p3336136.html
Sent from the R help mailing list archive at Nabble.com.
2006 Dec 06
1
POSIX and summer savings time
I have a time stamp in UTC (GMT) time:
> format(ISOdatetime(1970,1,1,0,0,0)+1165398135729/1000,"%Y-%m-%d
%H:%M:%OS3")
"2006-12-06 09:42:18.823" (note millisecond accuracy, but not relevant
to question here)
Now, this time stamp actually "happened" at local (Swedish) time one
hour later (10:42).
Regarding summer/winter adjustments in time ("spring forward, fall
back"):...
2001 Feb 12
5
SCO OS3 build broken (CVS 01/12/01)
It looks like something got broken in openbsd-compat/bsd-snprintf.c
...
gcc -g -O2 -Wall -Dftruncate=chsize -I/usr/local/include -I/usr/local/ssl/includ
e -I. -I.. -I../src/openbsd-compat -I../src/openbsd-compat/.. -DHAVE_CONFIG_H -c
../src/openbsd-compat/bsd-snprintf.c
In file included from ../src/openbsd-compat/bsd-snprintf.c:72:
2011 May 12
2
How to extract information from the following dataset?
...4,000 125 - - -
Jan 27, 2010 17:26:24,000 125 - - -
Jan 27, 2010 17:31:24,000 125 - - -
Jan 27, 2010 17:36:24,000 125 - - -
Jan 27, 2010 17:41:24,000 125 - - -
Jan 27, 2010 17:46:24,000 125 - - -
Jan 27, 2010 17:51:24,000 125 - - -
......
The first few columns are month, day, year, time with OS3 accuracy. And the
last number is the measurement I need to extract.
I wonder if there is a easy way to just take out the measurements only from
a specific day and hour, i.e. if I want measurements from Jan 27 2010
16:--:--
then I get 125,125,176,159,142,142,125,125,125,125,125,125.
Many thanks!!
-...
2018 Mar 09
2
parallel:::newPSOCKnode(): background worker fails immediately if socket on master is not set up in time (BUG?)
...}
> if (is.na(port))
> stop("PORT must be specified")
> sinkWorkerOutput(outfile)
> msg <- sprintf("starting worker pid=%d on %s at %s\n", Sys.getpid(),
> paste(master, port, sep = ":"), format(Sys.time(), "%H:%M:%OS3"))
> cat(msg)
> slaveLoop(makeSOCKmaster(master, port, timeout, useXDR))
> }
> <bytecode: 0x4bd4b58>
> <environment: namespace:parallel>
>
> Yet, fix that does *not* seem to change anything.
>
> /Henrik
>
> On Thu, Mar 8, 2018 at 7:05 PM, He...
2020 Nov 15
0
Code size BoF Minutes
Dear LLVMers,
concerning a few points of the discussion about code-size reduction
(Minutes available at
https://docs.google.com/document/d/1kDsbFDtkWLceR-Y63ez04CBfvhbDN8RxWV3xXwaNUC0/edit?usp=sharing):
> Do we need different levels like -Os1, -Os2, -Os3?
Together with a colleague, Anderson Faustino, we spend some time
finding optimization sequences that are good for code-size reduction.
This report gives you 22 such sequences, all short, that tend to
improve upon Os or Oz on typical benchmarks:
http://lac.dcc.ufmg.br/pubs/TechReports/LaC_TechRep...
2010 Apr 22
2
time difference
Hi,
Does anyone know how to take a time difference when the format of the time
is as 13:22:23.586? I am trying to take the difference of time between stock
transactions and need to keep the three decimal places for seconds. I have
tried *diff(strptime(x, "%H:%M:%S.000))*, but apperantly that doesn't work.
Carol Gao
[[alternative HTML version deleted]]
2013 Feb 17
0
strptime() with format %OS does not print millisecs in MacOS
Hi!
I'm finding this on MacOS Lion 10.7.5
> getOption("digits.secs")
NULL
> a <- "2012_10_01_14_13_32.445"
> strptime(a,format="%Y_%M_%d_%H_%M_%OS")
[1] "2012-02-01 14:13:32"
> strptime(a,format="%Y_%M_%d_%H_%M_%OS3")
[1] NA
I can solve it with
> options(digits.secs=3)
> strptime(a,format="%Y_%M_%d_%H_%M_%OS")
[1] "2012-02-01 14:13:32.445"
But is this not in contradiction with the help page?
" if %OS is not followed by a digit, it uses the setting of
getOption("digits...
2006 Oct 04
2
rendering date/times from 64bit julian format?
Hellos,
I have date/times in 64-bit Julian format, that is the number of
milliseconds since 1 jan 1970 (or something like that). E.g.,
"1159884877406"
For the life of me I can't figure out how to render these in a more
readable format, e.g., "2006-10-04 23:12:93.191" (and I have tried to
do my best searching the archives and help etc ...)
Thank you most
2001 Sep 29
0
configure.in fixes for 2.9.9p2
...raries.
-if test -z "$no_libnsl" ; then
- AC_CHECK_LIB(nsl, yp_match, , )
-fi
-if test -z "$no_libsocket" ; then
- AC_CHECK_LIB(socket, main, , )
-fi
+AC_CHECK_FUNC(yp_match, , AC_CHECK_LIB(nsl, yp_match))
+AC_CHECK_FUNC(setsockopt, , AC_CHECK_LIB(socket, setsockopt))
dnl SCO OS3 needs this for libwrap
-AC_CHECK_LIB(rpc, innetgr, LIBS="-lrpc -lyp -lrpc $LIBS" , , -lyp -lrpc)
+AC_CHECK_FUNC(innetgr, ,
+ AC_CHECK_LIB(rpc, innetgr, LIBS="-lrpc -lyp -lrpc $LIBS" , , -lyp -lrpc))
+
+AC_CHECK_FUNC(getspnam, ,
+ AC_CHECK_LIB(gen, getspnam, LIBS="$LIBS -lge...
2018 Mar 09
2
parallel:::newPSOCKnode(): background worker fails immediately if socket on master is not set up in time (BUG?)
BACKGROUND:
While troubleshooting random, occasionally occurring, errors from
parallel::makePSOCKcluster("localhost", port = 11000);
Error in socketConnection("localhost", port = port, server = TRUE,
blocking = TRUE, :
cannot open the connection
I had another look at parallel:::newPSOCKnode(), which is used
internally to set up each background worker. It is designed to,
2013 Dec 13
3
Minutes after midnight to time
Is there a quick function that can convert minutes (seconds) after midnight
to a time?
i.e 670.93 (minutes after midnight) --> 11:10:56.**
I know it can be done by hand but I thought there must be a function for
this already.
Thank you.
[[alternative HTML version deleted]]
2011 Feb 15
2
strptime format = "%H:%M:%OS6"
I read a dataset with times in them, e.g., "09:31:29.18761".
I then parse them:
> all$X.Time <- strptime(all$X.Time, format = "%H:%M:%OS6");
and get a vector of NAs (how do I check that except for a visual inspection?)
then I do
> options("digits.secs"=6);
> all$X.Time <- strptime(all$X.Time, format = "%H:%M:%OS");
and it, apparently, works:
2018 Mar 10
1
parallel:::newPSOCKnode(): background worker fails immediately if socket on master is not set up in time (BUG?)
...>>> stop("PORT must be specified")
>>> sinkWorkerOutput(outfile)
>>> msg <- sprintf("starting worker pid=%d on %s at %s\n", Sys.getpid(),
>>> paste(master, port, sep = ":"), format(Sys.time(), "%H:%M:%OS3"))
>>> cat(msg)
>>> slaveLoop(makeSOCKmaster(master, port, timeout, useXDR))
>>> }
>>> <bytecode: 0x4bd4b58>
>>> <environment: namespace:parallel>
>>>
>>> Yet, fix that does *not* seem to change anything.
>&g...
2018 Mar 09
0
parallel:::newPSOCKnode(): background worker fails immediately if socket on master is not set up in time (BUG?)
...logical(value)
})
}
if (is.na(port))
stop("PORT must be specified")
sinkWorkerOutput(outfile)
msg <- sprintf("starting worker pid=%d on %s at %s\n", Sys.getpid(),
paste(master, port, sep = ":"), format(Sys.time(), "%H:%M:%OS3"))
cat(msg)
slaveLoop(makeSOCKmaster(master, port, timeout, useXDR))
}
<bytecode: 0x4bd4b58>
<environment: namespace:parallel>
Yet, fix that does *not* seem to change anything.
/Henrik
On Thu, Mar 8, 2018 at 7:05 PM, Henrik Bengtsson
<henrik.bengtsson at gmail.com>...
2018 Mar 09
0
parallel:::newPSOCKnode(): background worker fails immediately if socket on master is not set up in time (BUG?)
...if (is.na(port))
>> stop("PORT must be specified")
>> sinkWorkerOutput(outfile)
>> msg <- sprintf("starting worker pid=%d on %s at %s\n", Sys.getpid(),
>> paste(master, port, sep = ":"), format(Sys.time(), "%H:%M:%OS3"))
>> cat(msg)
>> slaveLoop(makeSOCKmaster(master, port, timeout, useXDR))
>> }
>> <bytecode: 0x4bd4b58>
>> <environment: namespace:parallel>
>>
>> Yet, fix that does *not* seem to change anything.
>>
>> /Henrik
>>...
2001 Oct 07
3
Using -lssh as shared library
...2.orig/configure.in openssh-2.9.9p2/configure.in
--- openssh-2.9.9p2.orig/configure.in Wed Sep 26 02:39:38 2001
+++ openssh-2.9.9p2/configure.in Mon Oct 8 02:15:29 2001
@@ -337,2 +337,3 @@
# Checks for libraries.
+AUTH_LIBS=
if test -z "$no_libnsl" ; then
@@ -344,8 +345,5 @@
-dnl SCO OS3 needs this for libwrap
-AC_CHECK_LIB(rpc, innetgr, LIBS="-lrpc -lyp -lrpc $LIBS" , , -lyp -lrpc)
-
-AC_CHECK_LIB(gen, getspnam, LIBS="$LIBS -lgen")
AC_CHECK_LIB(z, deflate, ,AC_MSG_ERROR([*** zlib missing - please install first or check config.log ***]))
-AC_CHECK_LIB(util, log...
2011 Mar 24
4
Millisecond TimeStamps
I am wondering if there is a good way to work with data that is indexed in
time, via timestamps with a resolution in milliseconds. As I understand it,
the POSIX classes have a resolution i n terms of seconds, and will not
process fractional seconds from a string. Is this correct. I realize that
this may be a little unclear. Here is what I am trying to do:
A data frame with a time series
2001 May 21
1
2.9p1 patches
...raries.
-if test -z "$no_libnsl" ; then
- AC_CHECK_LIB(nsl, yp_match, , )
-fi
-if test -z "$no_libsocket" ; then
- AC_CHECK_LIB(socket, main, , )
-fi
+AC_CHECK_FUNC(yp_match, , AC_CHECK_LIB(nsl, yp_match))
+AC_CHECK_FUNC(setsockopt, , AC_CHECK_LIB(socket, setsockopt))
dnl SCO OS3 needs this for libwrap
-AC_CHECK_LIB(rpc, innetgr, LIBS="-lrpc -lyp -lrpc $LIBS" , , -lyp -lrpc)
+AC_CHECK_FUNC(innetgr, ,
+ AC_CHECK_LIB(rpc, innetgr, LIBS="-lrpc -lyp -lrpc $LIBS" , , -lyp -lrpc))
-AC_CHECK_LIB(gen, getspnam, LIBS="$LIBS -lgen")
-AC_CHECK_LIB(z, d...