Displaying 20 results from an estimated 1200 matches similar to: "Beginner Question: List value without Levels"
2010 Aug 02
2
[LLVMdev] indirectbr and phi instructions
Hi,
How does the requirement that phi instructions have one value per
predecessor basic block interact with indirectbr instructions? For
instance, take the following code:
L1:
br i1 %somevalue, label %L2, label %L3
L2:
%ret1 = i8* blockaddress(@myfunction, %L5)
br label %L4
L3:
%ret2 = i8* blockaddress(@myfunction, %L6)
br label %L4
L4:
%ret = phi i8* [%ret1, L2], [%ret2, L3]
2003 May 20
2
Using Arrays
hi,
can we have arrays in contexts?
i tried like this, but didn't work :-(
declaration
myarray[0]=192.168.3.4
myarray[1]=192.168.3.1
usage
myvalue = ${myarray[${myval}]}
pls tell a way to do this
Thanx a lot
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20030521/f8b61c89/attachment.htm
2012 Jul 02
4
how to do a graph with tree different colors??
hi
i try to do a graph of a time series which shows in red the values > -0.05,
in blue the values >0.05 and in white the values between -0.05 and 0.05
for un exemple :http://www.appinsys.com/globalwarming/enso.htm
thanks !!!!!
denisse
--
View this message in context: http://r.789695.n4.nabble.com/how-to-do-a-graph-with-tree-different-colors-tp4635206.html
Sent from the R help mailing
2010 Nov 17
1
Error: package 'pcvsuite' was built before R 2.10.0: please re-install it
R-helpers,
I have had difficulty installing the "pcvsuite" package on R version 2.12.0 (2010-10-15). The pcvsuite package is not available on CRAN, but is located for download at the following website at the University of Washington:
Windows version
http://labs.fhcrc.org/pepe/dabs/pcvsuite_1.0.zip
Mac version
2015 Nov 10
2
problema as.numeric
Estimados
Hay un problema, miren lo que sale en b$Edad, esos valores son correctos, pero luego realizo str$Edad, aparecen 24, 24, 24, 5 ?. , convierto a números con b$Edad <- as.numeric(b$Edad) y los valores son 24, 24, 25 ? (valores que no son reales).
Es fácil, lo realice muchas veces pero ahora estoy confundido. ¿Alguna ayuda? Gracias
> b$Edad
[1] 5 5 5 0,5 0,5 5 5 2 9
2005 Jan 07
7
Channel Variable
Hi all,
Does anyone know how to get the channel ID on the other side of the
call?
For example: When SIP/50 calls SIP/21, and the call is answered by
SIP/21 I get:
SIP/21-6735 answered SIP/50-b456
${CHANNEL} will show me SIP/50-b456.
Is there a parameter or a workaround to get the SIP/21-6735 part?
Thanks.
Assaf Benharoosh
-------------- next part --------------
An HTML attachment was
2008 Apr 21
1
ANCOVA
R version 2.6.2 PowerBook G4
Hello R User,
I try to perform an ANCOVA using the glm function.
I have a dataset with continuous and categorical data (explanatory
variables) and my response variable is also binary categorical.
Fehler: NA/NaN/Inf in externem Funktionsaufruf (arg 4)
Zus?tzlich: Warning messages:
1: In Ops.factor(y, mu) : - nicht sinnvoll f?r Faktoren (makes no
sense for
2009 Mar 26
2
Data manipulation - multiplicate cases
Hi listers,
I am trying to arrange my data and I didn't find any information how to do
it!
I have a data with 3 variables: X Y Z
1-I would like to multiplicate de information of X according to the number I
have for my Y variable...
2-Then I want to identify with a dicotomic variable by the number according
my variable Z from X...
I can do the first part by...
z<-rep(x,y)
But I don't
2012 Mar 19
1
fitting a histogram to a Gaussian curve
Hello,
I am trying to fit my histogram to a smooth Gaussian curve(the data
closely resembles one except a few bars).
This is my code :
#!/usr/bin/Rscript
out_file = "irc_20M_opencl_test.png"
png(out_file)
scan("my.csv") -> myvals
hist(myvals, breaks = 50, main = "My Distribution",xlab = "My Values")
pdens <- density(myvals, na.rm=T)
plot(pdens,
2019 Feb 13
6
trouble removing + sign
I'm using BLACKLIST() to check numbers, which does not like leading +
signs. I want to test if there is a plus sign, and then remove it.
I tried:
; strip leading plus sign
same => n, Verbose( callerid 0:1 is ${CALLERID(num):0:1} )
same => n,ExecIf($["${CALLERID(num):0:1}" = "+"]?Set(CALLERID(num) =
${CALLERID(num):1})
2012 Jul 21
4
rhsape2 bug?
All,
I believe I am running the latest version of rshape2 (1.2.1). But this code:
library(reshape2)
tmp <- melt(smiths,
id.vars=1:2,
measure.vars=c("age","weight","height"),
variable.name="myvars",
value.name="myvals"
)
names(tmp)
Produces this output:
> names(tmp)
[1] "subject" "time"
2005 Jun 14
3
Calling C from Fortran
I would like to call C routines from Fortran under linux as suggested in
section 5.6 of
the "Writing R extensions" documentation.
I'm familiar with Fortran but not with C.
I understand the example provided in Fortran:
subroutine testit()
double precision normrnd, x
call rndstart()
x = normrnd()
call dblepr("X was", 5, x, 1)
call rndend()
end
but I don't understand
2020 Aug 17
2
qemu -display sdl,gl=on also eats CPU
I was testing Ilia's patches for ddx, and while they definitely helped for Xorg itself,
qemu still eats a lot of CPU if launched like this
qemu-system-x86_64 -cdrom ~/Downloads/ISO/slax-English-US-7.0.8-x86_64.iso -m 1G -display sdl,gl=on -enable-kvm
and left for few hours.
top - 07:38:01 up 18:05, 2 users, load average: 2,00, 1,89, 1,83
Tasks: 224 total, 3 running, 221 sleeping, 0
2010 Sep 27
3
calculating mean and s.d. from a two-column table
I have a two-column table as follows where age is in the 1st column and
the number of individuals is in the 2nd.
age;no
1;21
2;31
3;9
4;12
5;6
Can I use mean() and sd() to calculate the mean and standard deviation
from this or do I have to manually multiplicate 21*1+31*2 etc. / N?
2010 Dec 10
1
melt causes errors when characters and values are used
Hello,
I am finding that the melt function from the reshape library causes
errors when applied to a data.frame that contains numeric and character
columns. For example,
melt(id.vars="ID",data.frame(ID=1:3,date=c("a","b","c"),value=c(1,4,5)))
ID variable value
1 1 date a
2 2 date b
3 3 date c
4 1 value <NA>
5 2
2007 Apr 18
20
dependency and communication between defined classes
Hi,
i wanted to know how you handle case when classes or define need to
communicate between them. For exemple i got an ftpd define and a
apachevhost define. Both need to know the path where the vhost is set
and this path is defined by the ftpuser home''s directory. How can i ask
information from other define or other classes ? we allready seen that
tag are not reliable as they
2012 Nov 29
2
[LLVMdev] [cfe-dev] UB in TypeLoc casting
Moving to LLVM dev to discuss the possibility of extending the cast
infrastructure to handle this.
On Tue, Nov 20, 2012 at 5:51 PM, John McCall <rjmccall at apple.com> wrote:
> On Nov 18, 2012, at 5:05 PM, David Blaikie <dblaikie at gmail.com> wrote:
>> TypeLoc casting looks bogus.
>>
>> TypeLoc derived types return true from classof when the dynamic type
>>
2012 Nov 30
0
[LLVMdev] [cfe-dev] UB in TypeLoc casting
On Thu, Nov 29, 2012 at 3:49 PM, David Blaikie <dblaikie at gmail.com> wrote:
> Moving to LLVM dev to discuss the possibility of extending the cast
> infrastructure to handle this.
>
> On Tue, Nov 20, 2012 at 5:51 PM, John McCall <rjmccall at apple.com> wrote:
>> On Nov 18, 2012, at 5:05 PM, David Blaikie <dblaikie at gmail.com> wrote:
>>> TypeLoc
2005 Apr 22
6
[LLVMdev] isa and friends as an alternative to dynamic cast?
I see a bunch of definitions scattered throughout LLVM, and I could not
find good documentation on them. I don't understand why they exist when
LLVM is being compiled with RTTI enabled. It seems to me that:
isa<T>(x) is a substitute for (dynamic_cast<T>(x) != NULL)
and there are some other similar casting tools defined in Casting.h. Why
should I use these instead of C++'s
2009 Sep 23
1
Sum of Product in a Matrix
Hi,
I am new in R and I don?t know how to sum the product of two elements at the
time in a matrix
X=[ 1 5 9 13
2 6 10 14
3 7 11 15
4 8 12 16]
I would like to do (1*5+2*6+3*7+4*8)
I need to do it step by step because I will further put a conditional in the
formula
It worked this way
x <- matrix ( c (1 : 16),ncol = 4) #generating my x matrix
qw <- matrix (0,