search for: lf1

Displaying 10 results from an estimated 10 matches for "lf1".

Did you mean: l1
2005 Jun 06
1
A performance anomaly
...mance measurement. One would expect the second version to be slightly (very slightly) slower than the first. But I am finding this is not the case! The second version is slightly faster. How can this be? On my machine (ibook @ 1.2 GHz, OS X "panther", R 2.1), I get: > measurement(ols.lf1) [1] 7.45 > measurement(ols.lf1.inlogs) [1] 6.9 Here is the self-contained bug-demonstration code: ols.lf1 <- function(theta, y, X) { beta <- theta[-1] sigma2 <- theta[1] if (sigma2 <= 0) return(NA) n <- nrow(X) e <- y - X%*%beta logl <- ((-n/2)*log(2*pi)) - ((...
2007 Sep 13
1
Collapsing data frame; aggregate() or better function?
...ate() works fine here, > test <- aggregate(tester[,c(3,5:6)], tester[,1:2], sum) > test trip set num lfs1 lfs2 1 313 15 8 3 5 2 313 17 4 2 2 But I'm having trouble getting the same function to work on my actual data frame which is considerably larger. > dim(lf1.turbot) [1] 16468 217 > test <- aggregate(lf1.turbot[,c(11, 12, 17:217)], lf1.turbot[,1:8], sum) Error in vector("list", prod(extent)) : vector size specified is too large In addition: Warning messages: 1: NAs produced by integer overflow in: ngroup * (as.integer(index) - one) 2:...
2019 Apr 06
0
SMTPUTF8 support
...ess, only Google allows you to. However, I made a test yesterday, and realised that the emails from GMail are rejected by one of the plugin, and I need to investigate which one. The error message is: > Apr 5 10:16:39 portal postfix/smtpd[2566]: Anonymous TLS connection established from mail-lf1-f51.google.com[209.85.167.51]: TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits) > Apr 5 10:16:39 portal policyd-spf[2574]: prepend Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.167.51; helo=mail-lf1-f51.google.com; envelope-from=andre.rodier at gmail.com; recei...
2019 Apr 05
6
SMTPUTF8 support
Andr?, are you quite sure you have it working? In this thread someone from Open-Xchange stated that no, Dovecot doesn?t have SMTPUTF8 support implemented, and the same response was given by another Dovecot developer last September (it ?is being considered? was the answer then, see https://dovecot.org/pipermail/dovecot/2018-September/112887.html). I am using LMTP to deliver mail to Dovecot from
2019 Apr 05
0
SMTPUTF8 support
...roupware_org_NGMime-32083-1554492042.981625-0-------- ---------------------------------- However, it seems that mails from GMails are not received, and I have an error message from the postfix mailter: > Apr 5 10:16:39 portal postfix/smtpd[2566]: Anonymous TLS connection established from mail-lf1-f51.google.com[209.85.167.51]: TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits) > Apr 5 10:16:39 portal policyd-spf[2574]: prepend Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.167.51; helo=mail-lf1-f51.google.com; envelope-from=andre.rodier at gmail.com; recei...
2005 Feb 19
0
[PATCH] check read/write return values
...0335 -0500 +++ xen-unstable/tools/python/xen/lowlevel/xc/xc.c 2005-02-19 14:21:19.323167162 -0500 @@ -461,8 +461,10 @@ static PyObject *pyxc_vmx_build(PyObject sf2 = PyString_AsString(f2); lf3 = PyLong_AsLong(f3); lf4 = PyLong_AsLong(f4); - sscanf(sf1, "%lx", &lf1); - sscanf(sf2, "%lx", &lf2); + if (sscanf(sf1, "%lx", &lf1) != 1) + return NULL; + if (sscanf(sf2, "%lx", &lf2) != 1) + return NULL; mem_map.map[i-1].addr = lf1; mem_map.map[i-1].size = lf2 - lf1; --------------...
2012 Oct 02
3
Integration in R
Dear R-users, I am facing problem with integrating in R a likelihood function which is a function of four parameters. It's giving me the result at the end but taking more than half an hour to run. I'm wondering is there any other efficient way deal with. The following is my code. I am ready to provide any other description of my function if you need to move forward.
2007 Jun 01
0
Metropolis code help
...newlogalpha accepts <- accepts + 1 } else { sims[i,] <- sims[i-1,] } } cat('Accepted ',100*accepts/(R-1),'%\n') sims } # Use the binomial likelihood logitll=function(beta,y,X) { X<- cbind(1,DF$nsaid,DF$diuretic,DF$diuretic*DF$nsaid) y<- DF$Var3 lF1=plogis(X%*%as.vector(beta),log.p=TRUE) lF2=plogis(-X%*%as.vector(beta),log.p=TRUE) sum(y*lF1+(1-y)*lF2) } # Use a uniform prior for p logprior <- function(beta,y,X) 0 # The log posterior is the sum. It's the target of our MCMC run logposterior <- function(beta,y,X) logprior(beta,y,X)+l...
2003 Nov 19
11
Windows R 1.8.0 hangs when Mem Usage >1.8GB
I have a loop that increases the size of an object after each iteration. When the Windows Task Manager shows "Mem Usage" about 1.8GB, the Rgui.exe process no longer responds. I use: "C:\Program Files\R\rw1080\bin\Rgui.exe" --max-mem-size=4000M --min-vsize=10M --max-vsize=3000M --min-nsize=500k --max-nsize=1000M I have a dual Xeon 2.8GHz processor box with 4GB of memory and
2015 May 29
0
Booting back into CentOS-6
...eligious institutions instead of resolutely combating them." - Hesse > Message: 13 > Date: Fri, 29 May 2015 02:23:44 +0100 > From: Timothy Murphy <gayleard at eircom.net> > To: centos at centos.org > Subject: [CentOS] Booting back into CentOS-6 > Message-ID: <mk8f30$lf1$1 at ger.gmane.org> > Content-Type: text/plain; charset="ISO-8859-1" > > I'm currently running CentOS-7, > but I'd like to re-boot into CentOS-6.5 > which I have on another partition. > Although this OS is in the grub list when I boot, > if I try to run it...