search for: vn

Displaying 20 results from an estimated 581 matches for "vn".

Did you mean: van
2012 Aug 07
2
Error using ddply inside user-defined function
...A","Mechanism A","Mechanism A","Mechanism A", "Mechanism B","Mechanism B","Mechanism B","Mechanism B","Mechanism B","Mechanism B","Mechanism B","Mechanism B","Mechanism B",) vn <- data.frame(MECH.NAME, PROV.PM.FBCTS, FBCTS.INV.TOT, FBCTS.REC.TOT) # create function allocation <- function(vr1, vr2, vr3) { d <- ddply(vn, "MECH.NAME", summarise, SUM = vr1 + vr2 + vr3) vn <- merge(vn, d, by.x="MECH.NAME", by.y="MECH.NAME", all=T)...
2012 Dec 13
3
how to aggregate the dataset
HI, Sorry for messing up.. I want to transform the following dataset: product min_price max_price mean_price country price_band 11 34 50 40 VN 0-300 22 10 30 15 VN 0-300 Into: product VN price_band 11 40 0-300 [34,50] 22 15 0-300 [10,30] How can I do this in r? I have large dataset like this. I wan...
2016 Sep 01
2
[RFC] Interprocedural MIR-level outlining pass
Hi Daniel, Consider me convinced (not sure you care, but still... :-)) What confused me is that this is not VN in a traditional sense -- it's more like using VN's infrastructure to compute something different. But one can use VN's code for this, indeed. Thank you for the explanation! Yours, Andrey On Thu, Sep 1, 2016 at 4:24 AM, Daniel Berlin <dberlin at dberlin.org> wrote: > >...
2010 Aug 06
3
yum-fastestmirror inconsistent exclude behavior
...mirror plugin are still being used by the system. To illustrate: [root at sales ~]# cat /etc/yum/pluginconf.d/fastestmirror.conf [main] enabled=1 verbose=0 socket_timeout=3 hostfilepath=/var/cache/yum/timedhosts.txt maxhostfileage=10 maxthreads=15 #exclude=.gov, facebook exclude=maulvi, .gov.ph, .vn (Note the name of mirrors that I am trying to exclude) However, when I run yum, this is what I get: [root at sales ~]# yum update Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile Excluding mirror: mirror.pscigrid.gov.ph Excluding mirror: mirror.viethosting.vn * addons: c...
2006 Mar 17
0
[LLVMdev] Stupid '-load-vn -licm' question (LLVM 1.6)
...out eventually, but if > somebody else sees the answer instantly, I certainly won't complain. :-) There are no stupid questions. Some are just easier to answer than others :) > Here are the optimizers I'm running: > > opt -f -simplifycfg -dce -instcombine -anders-aa -load-vn -licm -o > regex-opt.bc regex.bc > > The duplicate loads appear at the top of the %regex6 and %regex2 blocks > below. I've tried various alias analysis implementations either alone or in > combination. LICM doesn't remove common subexpressions, also -load-vn doesn't a...
2006 Mar 16
2
[LLVMdev] Stupid '-load-vn -licm' question (LLVM 1.6)
...ng of the docs--I can't eliminate duplicate pointer loads. I'll probably figure this out eventually, but if somebody else sees the answer instantly, I certainly won't complain. :-) Here are the optimizers I'm running: opt -f -simplifycfg -dce -instcombine -anders-aa -load-vn -licm -o regex-opt.bc regex.bc The duplicate loads appear at the top of the %regex6 and %regex2 blocks below. I've tried various alias analysis implementations either alone or in combination. Any thoughts? I'm sure that this will prove embarrassingly obvious. :-) Cheers, Eric ; Mo...
2016 Sep 01
3
[RFC] Interprocedural MIR-level outlining pass
...ev" > <llvm-dev at lists.llvm.org> > Sent: Wednesday, August 31, 2016 7:02:57 PM > Subject: Re: [llvm-dev] [RFC] Interprocedural MIR-level outlining > pass > (and in particular, the definition of equivalence used by code > folding to make the dags is STH like "two VNDAG expressions are > equivalent if their operands come from VNDAG expressions with the > same opcode") > Thus, > VN2 = VN0 + VN1 > VN3 = VN1 + VN2 > is considered equivalent to > VN2 = VN0 + VN5 > VN3 = VN1 + VN2 > Despite the fact that this is completely illega...
2006 Mar 17
3
[LLVMdev] Stupid '-load-vn -licm' question (LLVM 1.6)
...Thu, 16 Mar 2006, Eric Kidd wrote: >> The duplicate loads appear at the top of the %regex6 and %regex2 >> blocks below. I've tried various alias analysis implementations >> either alone or in combination. > > LICM doesn't remove common subexpressions, also -load-vn doesn't > affect LICM. Try "-licm -load-vn -gcse" instead of "-load-vn -licm" That works! Thank you. The bytecodes look really good--not only are the loads eliminated, but the tests are actually reduced to a switch statement using '-anders-aa -load-vn -gcse -s...
2011 Aug 10
2
Opposite of paste function
Dear All, I have vn variable > vn [1] "V300" "V376" What I want to get is 300 376 without V and "" from vn variable. Could you help me about this issue? Thank you, Soyeon [[alternative HTML version deleted]]
2008 Oct 23
1
join fails samba 3.2 & ADS 2003R2 SP2
Hi, SLES10 SP2 x86_64 + Samba from repo (samba-3.2.4-8.1) When I try to join (net ads join -U Administrator), I get : Failed to join domain: failed to set machine spn: Can't contact LDAP server My Pre-2000 domain name is CLSC_COTENEIGES My DNS ADS name is clsccdn.rtss.qc.ca DNS is ok, I've created an A/PTR record for linux box, ADS seems ok also (netdiag/dcdiag) i've tryied adding
2017 Oct 21
2
Replacement error
Hola a todos, Necesito crear una variable que sólo coja los valores positivos de otra, y que los negativos o 0 los rellene con 0. Sin embargo, me está dando este error con el código que estoy metiendo: > Datos$variable.nueva<-Datos$variable.antigua[Datos$variable.antigua>0] Error in `$<-.data.frame`(`*tmp*`, Evolution.Bestselling.Positive, value = c(0.00572935181893588, :
2013 Mar 02
1
Expressions in lattice conditional variables
...nk require(lattice) set.seed(1) var <- c(rep('A', 100), rep('B', 100)) trt <- sample(c('T1','T2'), 200, TRUE) x <- c(runif(100), 10*runif(100)) y <- x + c(runif(100)/10, runif(100)) N <- tapply(x, llist(var, trt), function(x) sum(!is.na(x))) print(N) vn <- vector('expression', length(var)) for(v in unique(var)) { i <- var == v n <- tapply(!is.na(x[i]), trt[i], sum) nam <- names(n) w <- sprintf('paste(%s," (", n[%s]==%g,~~n[%s]==%g,")")', v, nam[1], n[1], nam[2], n[2])...
2012 Aug 24
3
ifelse problem - bug or operator error
Hi R-Helpers, I don't think I need to post a dataset for this question but if I do, I can. Anyway, I am having a lot of trouble with the ifelse command. Here is my code: vn$PM.DIST_flag <- ifelse( (vn$PM.EXP > 0.0) & (vn$PM.DIST.TOT != 1.0), 1, 0 ) And here is my output that doesn't make ANY sense: PM.EXP PM.DIST.TOT PM.DIST_flag 0 0 0 0 0 0 0 0 0 177502 1 0 31403 1 0 0 0 0 1100549 1 0 38762 1 0 0 0 0 20025 1 0 0 0 0 13742 1 0 0 0 0 830...
2016 Aug 31
2
[RFC] Interprocedural MIR-level outlining pass
> > > Yes, this was exactly my point. We want to recognize > structurally-equivalent sequences of instructions on inequivalent operands. > Yes, and my point is "none of the vn and vn-dag generating algorithms care". you can define equivalent to be "structural", you can define it to be "these two variables are equivalent if they both start with "a"", you can define it however you want. They will still give you the dags you want. This i...
2007 May 13
1
how to convert a string vector to a numeric vector
Hello all, I'm new to R and I cannot find a simple answer to a simple question. If I have a character vector like v <- c('1/50,'1/2','1/8'...) how can I convert it to a numeric vector like vn <- c(0.02,0.5,0.125...). I tried as.numeric in various ways and failed miserably. Currently I use a function like: for (e in v) { if (e=='1/50') vn<-c(vn,0.02) ...} but that feels bad because it needs to be (humanly) modified everytime a new fraction appears in v. Thanks in advance,...
2008 Dec 11
2
how to get the CDF of a density() estimation?
Hi, I've estimated a simple kernel density of a univariate variable with density(), but after I would like to find out the CDF at specific values. How can I do it? thanks for your help, with it I am very close to finish my first little bit more serious work in R, Viktor
2017 Jun 07
2
[RFC][SVE] Supporting Scalable Vector Architectures in LLVM IR (take 2)
...arget? If so, how? > - Non-scalable vectors are just done one after the other > - But scalable vectors have no known end-tail: > - Creating two <n x 4 x i32> may interpolate the original data, either: > - <v1, v2, v3, v4> <v5, v6, v7, v8>, ... > - <vn+1, vn+2, vn+3, vn+4> <vn+5, vn+6, vn+7, vn+8>... > - or: > - <v1, v2, v3, v4> <vn+1, vn+2, vn+3, vn+4> ... > - <v5, v6, v7, v8> <vn+5, vn+6, vn+7, vn+8>... > - the first would makes more sense, but I'm not sure the scalar > evolution...
2004 Jan 14
1
-vn doesn't list empty directories, -v does
I'm using rsync-2.5.7-2 on an updated Fedora Core 1 athlon system. The -vn option lists all files to be copied or deleted, including symlinks, but it does not appear to list empty directories to be copied, even tough it copies them. It does list empty directories to be deleted. The -v option does list and copy empty directories. -v should behave the same in both instan...
2017 Apr 28
3
Store unswitch
Hi Danny, Thanks for that :) However I've just updated the prototype patch to NewGVN and it didn't need any API changes - all I rely on is GVNExpression. Hongbin, I wanted to explain a little about what GVNSink can currently do, what it was designed for and hopefully how to make it handle your testcase. *Background* Common code sinking is more difficult to efficently do tha...
2007 Oct 30
1
Samba+ldap in FreeBSD
Hello friends I am trying to configure Samba + ldap for my domain, the server is FreeBSD ... When I try to run the following command smbldap-populate It gives me the following error: adding new entry: cn=Backup Operators,ou=Group,dc=vn,dc=pri,dc=jovenclub,dc=cu failed to add entry: Can't contact LDAP server at /usr/local/sbin/smbldap-populate line 471, <GEN1> line 20. adding new entry: cn=Replicators,ou=Group,dc=vn,dc=pri,dc=jovenclub,dc=cu failed to add entry: Can't contact LDAP server at /usr/local/sbin/smbldap-po...