similar to: Formatting difftime objects

Displaying 20 results from an estimated 400 matches similar to: "Formatting difftime objects"

2007 Jun 15
0
Question with nlm
Hi, I would really appreciate if I could get some help here. I'm using nlm to minimize my negative log likelihood function. What I did is as follows: My log likelihood function (it returns negative log likelihood) with 'gradient' attribute defined inside as follows: # ==========Method definition====================== logLikFunc3 <- function(sigma, object, totalTime) { y <-
2007 Oct 23
2
[PATCH][cpufreq] Xen support for the ondemand governor [2/2] (linux)
Modify the cpufreq ondemand governor so that it can get idle and total ticks from the Xen hypervisor. Linux and Xen have different ideas of what an idle tick is, so the Xen values for both have to be returned in the same platform hypercall. Otherwise, use basically the same scheme as native Linux. Signed-off-by: Mark Langsdorf <mark.langsdorf@amd.com> iff -r 9bf1ddd0f6bf
2006 Jun 30
0
sync reads or big files problem
Hello, friends! I vahe a problem using prototype1.4 in IE6. I am trying to create bandwidth speed test tool. The idea is to download one by one X times (i.e. 10) one and the same ASCII-file with size = 1MB. I would like to measure time and speed of each run, to display the intermediate results after aech run and finally after all X rund display total results as average of all runs. But when I
2007 Oct 23
6
[PATCH][cpufreq] Xen support for the ondemand governor [1/2] (hypervisor code)
Modify the cpufreq ondemand governor so that it can get idle and total ticks from the Xen hypervisor. Linux and Xen have different ideas of what an idle tick is, so the Xen values for both have to be returned in the same platform hypercall. Signed-off-by: Mark Langsdorf <mark.langsdorf@amd.com> diff -r b4278beaf354 xen/arch/x86/platform_hypercall.c --- a/xen/arch/x86/platform_hypercall.c
2007 Jan 19
4
Newbie question: Statistical functions (e.g., mean, sd) in a "transform" statement?
Greetings listeRs - Given a data frame such as times time1 time2 time3 time4 1 70.408543 48.92378 7.399605 95.93050 2 17.231940 27.48530 82.962916 10.20619 3 20.279220 10.33575 66.209290 30.71846 4 NA 53.31993 12.398237 35.65782 5 9.295965 NA 48.929201 NA 6 63.966518 42.16304 1.777342 NA one can use "transform" to
2007 Sep 19
1
Speex Questions <./Configure %install make [-enable-fixed-point] setting> and Encoding Times etc...
Hi, Speex-dev I've been able to get Speex to compile on SM400M(MIPSII) with problems. ------ Rebuild All started: Project: speexenc, Configuration: Debug SM400M (MIPSII) ------ Deleting intermediate and output files for project 'speexenc', configuration 'Debug|SM400M (MIPSII)' Compiling... getopt.c getopt1.c skeleton.c speexenc.c .\speexenc.c(501) : warning
2019 Mar 28
0
topenv of emptyenv
>>>>> Konrad Rudolph >>>>> on Sat, 23 Mar 2019 14:26:40 +0000 writes: >>>>> Konrad Rudolph >>>>> on Sat, 23 Mar 2019 14:26:40 +0000 writes: > I was surprised just now to find out that `topenv(emptyenv())` equals > ? `.GlobalEnv`, not `emptyenv()`. From my understanding of the > description of `topenv`, it
1999 Jun 01
0
SGI irix and samba
Hi to all, I'm currently experimenting with implementing a samba server on an SGI o2 running irix 6.5.3. The reason for this is that i am trying to shed some load off a netware server currently serving files to 2 workgroups containing 40 people. One group is a Survey section that has 1.5 gig of Civil engineering and Autocad data - this data tends to be of a dynamic nature. I would like
2015 Dec 11
0
How do I reliably and efficiently hash a function?
On Thu, Dec 10, 2015 at 5:49 PM, Konrad Rudolph <konrad.rudolph+r-devel at gmail.com> wrote: > I?ve got the following scenario: I need to store information about an > R function, and retrieve it at a later point. In other programming > languages I?d implement this using a dictionary with the functions as > keys. In R, I?d usually use `attr(f, 'some-name')`. However, for
2005 Feb 24
1
Adding up intervals by activity
Hello all, I have a data frame with the following columns: timestamp, activity, interval. Each row contains information about an activity that occured over a time interval. "Timestamp" is when the interval ended, "Activity" is a factor that represents the type of activity, and "Interval" is a double which represents an interval in time. The data frame is sorted
2002 Dec 18
1
samba to samba via LDAP
Hi all, I have lots of samba servers and want them to all authenticate against a single password file which will be a LDAP database. Where I want to be: Login to a domain called "FROST" that passes the username:passwd to a domain called "ACR" which checks LDAP. Where I'm at: I can login (from a W2K machine) to a test server called LIBIT which uses LDAP
2010 Oct 26
5
Display Time benchmark on page
Like we saw in console or rails log show totaltime, database time, rendering time. on my page footer in production. is it possible to acces those information from controller or view template with out time it again ? -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this
2020 Jan 10
1
Operator precedence of =, <- and ?
The documentation (help("Syntax")) gives the operator precedence of the assignment operators and help, from highest to lowest, as: ?<- <<-? assignment (right to left) ?=? assignment (right to left) ??? help (unary and binary) If I understand correctly this implies that `a = b ? c` and `a <- b ? c` should parse
2003 Sep 05
4
app_queue input needed...
A friend and I have recently added the ability to announce the callers position in the call queue every x seconds.. or even just inject an anouncement every x seconds. All setup in queues.conf and can be setup per queue. My next project is to add the ability to announce the callers estimated wait time. I want some feedback to see whats the best method to calculate that? What do you want just
2006 Jun 13
3
No printing possible in wine 0.9.15
Hello List, I just installed wine-0.9.15, because I wasn't able to print with wine-0.9.8, but unfortunately the problem persists. System: Gentoo Linux 2006.0 Wine: 0.9.15 (duh) Printer: Cups-1.1.23 on separate machine (Gentoo 2006.0), on localhost only cupsclient This is what i do: - remove ~/.wine - run winecfg from xterm winecfg complains about printer problems, but continues:
2023 Aug 27
1
Calling a replacement function in a custom environment
Hello all, I am wondering whether it?s at all possible to call a replacement function in a custom environment. From my experiments this appears not to be the case, and I am wondering whether that restriction is intentional. To wit, the following works: x = 1 base::is.na(x) = TRUE However, the following fails: x = 1 b = baseenv() b$is.na(x) = TRUE The error message is "invalid function
2019 Mar 23
4
topenv of emptyenv
I was surprised just now to find out that `topenv(emptyenv())` equals ? `.GlobalEnv`, not `emptyenv()`. From my understanding of the description of `topenv`, it should walk up the chain of enclosing environments (as if by calling `e = parent.env(e)` repeatedly; in fact, that is almost exactly its implementation in envir.c) until it hits a top level. However, `emptyenv()` has no enclosing
2006 Jun 22
5
(Still) no printing possible in wine 0.9.15
Hello List, since my first posting with the same subject was somehow incomplete, i decided to repost my question. I just installed wine-0.9.15, because I wasn't able to print with wine-0.9.8, but unfortunately the problem persists. My systems: Workstation: Gentoo 2006.0 Cups-1.1.23 no /etc/printcap no local printer connected Print server: Gentoo 2006.0 Cups-1.1.23 Printer: Canon i560
2023 Aug 27
1
Calling a replacement function in a custom environment
I think there isn't a way to make this work other than calling `is.na<-` explicitly: x <- b$`is.na<-`(x, TRUE) It seems like a reasonable suggestion to make b$is.na(x) <- TRUE work as long as b is an environment. If you wanted it to work when b was a list, it would be more problematic because of partial name matching. E.g. suppose b was a list containing functions
2015 Dec 11
1
How do I reliably and efficiently hash a function?
In addition to what Charles wrote, you can also use 'local' if you don't want a function that creates another function. > f <- local({info <- 10; function(x) x + info}) > f(3) [1] 13 best, Mark Op vr 11 dec. 2015 om 03:27 schreef Charles C. Berry <ccberry at ucsd.edu>: > On Thu, 10 Dec 2015, Konrad Rudolph wrote: > > > I?ve got the following scenario: