Displaying 20 results from an estimated 1000 matches similar to: "reshape to wide format takes extremely long"
2009 Nov 03
3
Weird operator behaviour
Hi,
I have a dataset called 'fish'.  fish$Species returns extract 1.  When I use
fish$Species != c("CRA","PHC"), i.e. I want all species except "CRA" and
"PHC", I get extract 2 which is blatantly wrong.  Can anyone see what I'm
doing wrong? 
Regards,
James 
EXTRACT 1
> fish$Species
  [1] ALB ALB ALB ALB ALB ALB ALB ALB ALB ALB ALB ALB ALB
2007 Jul 24
3
How to require a defined type...
Hi all,
I''m struggling with the following:
I have a defined type wrapped in a class:
class myclass {
	define mytype(bla) {
		file { "blabla":
			....
		}
		exec { "blablabla":
    			...
		}
	}
}
And I access the defined type in my other class by doing this:
class otherclass {
	include myclass
	myclass::mytype { "alb":
		...
	}
	# and here I want to
2007 May 31
2
4.5 ALB Bonding Hang on Shutdown
Since I upgraded from 4.4 to 4.5 my system which has 2 sets
of ALB bonded interfaces hangs on shutdown while doing an
ifdown on these interfaces.
Has anyone else seen this issue with 4.5 and bonding?
Ross S. W. Walker
Information Systems Manager
Medallion Financial, Corp.
437 Madison Avenue
38th Floor
New York, NY 10022
Tel: (212) 328-2165
Fax: (212) 328-2125
WWW: http://www.medallion.com 
2002 Jun 09
1
Logical operators
Hello,
I have a csv-file which looks like:
#### pwt6_r.csv ####
code;year;rgdpch
AGO;1998;1234
ALB;1998;3576
ARG;1998;#NA
SVN;1996;13439
SWE;1996;21492
AGO;1960;#NA
ALB;1960;2345
ARG;1960;4634
#### pwt6_r.csv ####
To import this file i call:
pwt6<-read.csv("d:/pwt6_r.csv",header=T,na.strings="#NA",sep=";")
Now I want to generate a new data.frame which include
2008 Nov 21
1
Discrepancy in the regression coefficients for Cox regression - PBC data set
Hi,
 
When I run the following Cox proportional hazards model on the Mayo clinic's
PBC data set (given in the "survival" package), the regression coefficients
do not agree with the results presented in Table 4.6.3 (p. 195) of Fleming &
Harrington's book.
 
library(survival)
 
data(pbc)
 
ans.cox <- coxph(Surv(time, status) ~ log(bili) + log(alb) + age +
log(protime) +
2007 Dec 05
2
Multiple contacts.
I'm sure this has been asked a million times before, but is there an easy 
wa to have Asterisk register more than one (distinct) contact binding
concurrently?
The goal is to have two phones register with the same credentials from 
different locations and consistently and reliably ring on inbound calls,
irrespective of their registration intervals and so on.
--
Alex Balashov
Evariste Systems
2010 Jun 17
3
how to use sapply code
Hi,
I have this code here and try to use sapply code.  But I got error message that I don't really understand to correct.
bt   <- c(24.96874, 19.67861, 23.51001, 19.86868); round(bt,2)
alp  <- c(2.724234, 3.914649, 3.229146, 3.120719); round(alp,2)
bt_alp <- data.frame(bt,alp)
sapply(bt_alp, function(bt,alp) ((bt_m/bt)^alp), bt_m = min(bt))
> sapply(bt_alp, function(bt,alp)
2010 Jun 17
1
sapply or apply
Hi r-users,
I have this code here :
dt   <- winter_pos_sum
bt   <- c(24.96874, 19.67861, 23.51001, 19.86868); round(bt,2)
alp  <- c(2.724234, 3.914649, 3.229146, 3.120719); round(alp,2)
bt_min  <- min(bt) ; bt_min
p       <- alp_sum    ; p
t  <- 50
t1 <- t+1
            
#first get the sum over the eigenvalues for a particular power i
gam_sum <-
2017 Apr 18
2
anaconda/kickstart: bonding device not created as expected
Hi,
I am currently struggling with the right way to configure a bonding 
device via kickstart (via PXE).
I am installing servers which have "eno" network interfaces.  Instead of 
the expected bonding device with two active slaves (bonding mode is 
balance-alb), I get a bonding device with only one active slave and an 
independent, non-bonded network device.  Also the bonding device
2010 Jan 26
1
newton method for single nonlinear equation
Hi r-users,
 
I would like to solve for z values using newton iteration method.  I 'm not sure which part of the code is wrong since I'm not very good at programming but would like to learn.  There seem to be some output but what I expected is a vector of z values.  Thank you so much for any help given.
 
newton.inputsingle <- function(pars,n)
{  runi    <- runif(974, min=0, max=1)
2014 Jun 06
2
[LLVMdev] buildbot failure in LLVM on sanitizer-x86_64-linux (-Wframe-larger-than)
On 06/06/2014 02:33, Alexey Samsonov wrote:
> Hi Alp,
>
> This warning should be fixed by r210301. However, consider 
> investigating why the frame size appears to be that large. I believe 
> we build this code with GCC as well and have seen no complaints
> from its implementation of -Wframe-larger-than.
CC'ing in llvmdev. Like Chandler said it could just be due to lack of 
2011 Mar 15
1
Problem with nls.lm function of minpack.lm package.
Dear R useRs, 
I have a problem with nls.lm function of minpackl.lm package.
I need to fit the Van Genuchten Model to a set of data of Theta and hydraulic conductivity with nls.lm function of minpack.lm package.
For the first fit, the parameter estimates keep changing even after 1000 iterations (Th)
and
I have a following error message for fit of hydraulic conductivity (k);
Reason for
2017 Jun 17
3
Teaming vs Bond?
I'm looking at tuning up a new site and the bonding issue came up
A google search reveals that the gluster docs (and Lindsay) recommend 
balance-alb bonding.
However, "team"ing came up which I wasn't familiar with. Its already in 
RH6/7 and Ubuntu and their Github page implies its stable.
The libteam.org people seem to feel their solution is more lightweight 
and it seems easy
2010 Feb 10
1
looping problem
Hi R-users,
 
I have this code here:
library(numDeriv)
 
fprime <- function(z)
{ alp  <- 2.0165;
  rho  <- 0.868;
 
# simplified expressions
  a      <- alp-0.5
  c1     <- sqrt(pi)/(gamma(alp)*(1-rho)^alp)
  c2     <- sqrt(rho)/(1-rho)
  t1     <- exp(-z/(1-rho))
  t2     <- (z/(2*c2))^a
  bes1   <- besselI(z*c2,a)
  t1bes1 <- t1*bes1
  c1*t1bes1*t2
}
 
## Newton
2013 Dec 11
3
[LLVMdev] [cfe-dev] Phabricator email
On 11 December 2013 17:35, Alp Toker <alp at nuanti.com> wrote:
> I noticed a few contributors have been landing patches without responding to
> my review comments.
Oh, that happened to me too, but it turns out you have to press the
"clowncopterize" after making comments inlilne, or Phabricator won't
publish them. You can see them, we can't.
cheers,
--renato
2014 Jan 31
7
[LLVMdev] [cfe-dev] Status of SEH?
On 30/01/2014 22:57, Daniel Berlin wrote:
> On Thu, Jan 30, 2014 at 2:34 PM, Alp Toker <alp at nuanti.com> wrote:
>> On 30/01/2014 22:06, Daniel Berlin wrote:
>>> Actually, the policy actually says the right thing, you removed  a
>>> sentence, which says:
>>> "Please contact the oversight group for more details."
>>
>> To be clear, I
2014 Jun 25
2
[LLVMdev] Phabricator and private reviews
On 25/06/2014 21:03, Eli Bendersky wrote:
> On Wed, Jun 25, 2014 at 10:44 AM, Alp Toker <alp at nuanti.com 
> <mailto:alp at nuanti.com>> wrote:
>
>     For whatever reason, patches posted to the Phabricator website
>     still aren't being sent to the mailing list, making it difficult
>     for us to review them.
>
>     I've raised this issue a couple
2014 Jul 01
4
[LLVMdev] Usability of phabricator review threads for non-phab-users
On 01/07/2014 21:28, Alp Toker wrote:
> Specifically the problem I've been seeing is that people using the 
> website are unable to CC mailing list-based developers. As a result I 
> don't get copied in on responses to my review comments, and rarely get 
> any kind of direct mail with threading. You end up having to dig up 
> historic responses in the mailing list archive
2014 Jun 25
12
[LLVMdev] Phabricator and private reviews
For whatever reason, patches posted to the Phabricator website still 
aren't being sent to the mailing list, making it difficult for us to 
review them.
I've raised this issue a couple of times in the last few weeks.
In practice this has a detrimental effect to the development workflow 
because it means that code is being seen only by a small group of 
individuals who have web accounts.
2020 Feb 27
6
net ADS join MEMBER
In some spare time, been trying to get Samba 4.10.6-1 working on AIX.
Several earlier posts handled by Louis and Rowland. Which were much
appreciated and beneficial.
 
Using this stripped (leaving comments out of it) GLOBALS section of
smb.conf:
 
[global]
        workgroup = boost
        realm = BOOST.COM
        server string = Samba Server Version %v
        interfaces = lo eth0