similar to: where is a value in my list

Displaying 20 results from an estimated 4000 matches similar to: "where is a value in my list"

2009 Aug 23
2
difficult "for"
Hi, My english isn't brilliant and my problem is very difficult to describe but I try ;) My first question is: May I write loop "for" like this or similar - for (i in sth : sth[length(sth)], k in sth_else : length(sth_else) ) - I'd like to have two independent conditions in the same loop "for". My secound question depend on program below. I'd like to write every
2009 Jun 08
4
seq(...) strange logical value
Do you heve any idea why I get after this instruction everywhere false? > seq (0, 1, by=0.1) == 0.3 [1] FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE But after different step it's ok: > seq(0, 1, by=0.1) == 0.4 [1] FALSE FALSE FALSE FALSE TRUE FALSE FALSE FALSE FALSE FALSE FALSE -- View this message in context:
2009 Nov 10
1
write data frame in a list
Hi, I have got a data frame: df=data.frame(x=c(3,6,7),y=c(2,7,4)) and I would like to write my values from data frame to list using loop, for example: lista=list() for (i in 1: length(?)){ lista[[?]][?] = df [?] } But I havn't got any idea what I should put in places where I put a question mark? As a rusult I would like to get a list like this: list: [[1]] 3,6,7 [[2]] 2,7,4 I
2009 Nov 09
6
Find the first values in vector
Hi ! I have a vector: vec= TRUE TRUE TRUE TRUE FALSE FALSE FALSE FALSE TRUE TRUE FALSE and I'm looking for a method which let me get only the first values equal TRUE from this vector. It means that I want to get a vector: vec_out = TRUE TRUE TRUE TRUE or posictions values = TRUE: vec_out = 1,2,3,4 -- View this message in context:
2004 Aug 06
4
FreeRadio On-line
See: http://uk2.lugradio.org/ Somewere heve more example of radio using icecast, for me? :) -- Abraços, Tiago Cruz Org. King de Contab. S/C Ltda. Linux User # 282636 http://www.linuxrapido.linuxdicas.com.br Mandrake Linux i18n Team --- >8 ---- List archives: http://www.xiph.org/archives/ icecast project homepage: http://www.icecast.org/ To unsubscribe from this list, send a message to
2003 Sep 25
4
ztdummy loading: unable to specify channel 1
Hi, I have enabled ztdummy in order to have * compile it. I can modprobe ztdummy with no problems. The sole reason, i need ztdummy is to heve musiconhold and meetme working. However when I start *, it says this and does not start. ---------------------------------------------------------------------------- ---------------------- == Parsing '/etc/asterisk/zapata.conf': Found
2010 Feb 19
1
XCP PV boot process
hi all, where can i read more about boot process? i try to run freebsd 8 with compiled dumU kernel, but when i clear HVM-* params and putting PV-kernel entry i have some err msg i do folowing: xe vm-param-clear uuid=e2b34b3e-945b-c909-4a91-4feba722bcd8 \ param-name=HVM-boot-params xe vm-param-set uuid=e2b34b3e-945b-c909-4a91-4feba722bcd8 \ HVM-boot-policy= \
2006 Sep 22
1
Linux Dom0 <-> Solaris prepared Volume
Hi all heve been trying (in vain) to get a Solaris b44 DomU (dowloaded from Sun) running on a Linux Xenhost I followed exactly how, and it looked ok when it starts booting... But it never boots . adapted the configfile to boot with -v (that I can see at least something) and this is what I get ===SNIP=== root@Xen-VT02:/export/xc/xvm/solaris-b44# xm create solaris-b44-64.py -c Using config
2005 Jun 26
2
trouble with long filename copy
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 L.S. I'm a new member here. I've been using Samba for about 7 years now. Usually in Win 98/2K environment, but recently also in XP environments My server basis is either Debian or Ubuntu linux. Problem: when someone drags and drops a folder from one location to another on a windows client, they get an error saying "this location does
2009 Jun 01
3
Editor R
Do you know any good editor R? -- View this message in context: http://www.nabble.com/Editor-R-tp23822342p23822342.html Sent from the R help mailing list archive at Nabble.com.
2009 Aug 30
1
about isoMDS method
Hi, For example: I built a half matrix "w" using a daisy(x, metric = c("euclidean")) http://www.nabble.com/file/p25211016/1.jpg And next I transformed this matrix "w" using isoMDS function, for example isoMDS(w, k=2) and as result I got: http://www.nabble.com/file/p25211016/2.jpg And now I have two questions: 1. If number in matrix w[2, 1] (= 0.41538462) match
2009 Sep 06
2
avoid NA in list
Hi! I have list, for example: ... [[22]] [1] 27 51 69 107 119 [[23]] [1] NA [[24]] [1] 54 57 62 And I would like to avoid NA value. Similar way like I may do it in vector using na.value() function. Do you have any idea? -- View this message in context: http://www.nabble.com/avoid-NA-in-list-tp25321020p25321020.html Sent from the R help mailing list archive at Nabble.com.
2009 Jun 01
2
add values inside vector
I think it's easy problem but I can't find solution. I have a vector: vec <- c (23.4, 3.0, 14.7, 7.7) and I would like to add all values which are inside my vector to each other. as a result a want to get one value like sum all values from my vector- sth=(23.4 + 3.0 + 14.7 + 7.7) PS. I usually don't know how long is my vector in my function -- View this message in
2013 Jan 29
1
ccf (cross correlation function) problems
Hello everybody, I am sorry if my questions are too simple or not easily understandable. I’m not a native English speaker and this is my first analysis using this function. I have a problem with a cross correlation function and I would like to understand how I have to perform it in R. I have yearly data of an independent variable (x) from 1982 to 2010, and I also have yearly data of a variable
2009 Jun 15
2
function inside ifelse
Hi, Could you tell me, if it's possible to create ifelse and put function inside, for example: code{ ifelse ((is.na(vek)), call_fun_1(arguments), call_fun_2(arguments)) call_fun_1 <- function(arguments) { sth... } } -- View this message in context: http://www.nabble.com/function-inside-ifelse-tp24035739p24035739.html Sent from the R help mailing list archive at Nabble.com.
2001 May 09
7
R-Quant
Greetings, Does anyone know if R-Quant, http://www.smartquant.com/ an outgrowth of the statistical package "R"? Bill Vedder -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the
2009 Sep 06
1
Two packages and one method
Hi! I want to use one method "combinations" from "gtools" package but in my code I must use also "dprep" method where is method "combinations" too. Mayby I show you result my help function: Help on topic 'combinations' was found in the following packages: Package Library dprep /usr/lib64/R/library gtools
2009 Jun 14
3
if + is.na
Hello! I wont to use a function is.na() I have two vectors: > a=c(1,NA,3,3,3) > b=c(0,0,0,0,0) and when I use is.na function it's ok: > is.na(a) [1] FALSE TRUE FALSE FALSE FALSE but I would create sth like this: for i in 1:length(a){ if (wsp[i] == is.na(a)) {b=43} } or like this if(is.na(a)) b=3 else a [1] 1 NA 3 3 3 but I always get an error: the condition has
2014 Apr 11
1
4.0 stopped working after updating xubuntu 13.04
Hi I got some strange issues on my samba4.0.1 install yesterday. It happened a while after updating my xubuntu server 13.04 not 13.10. Everything seems to be working fine except shares. Kerberos authentication seem to function properly, also DNS works fine but shares seem semi-broken. I can't mount any shares on my Windows box, including netlogon, profiles. I have one share that is
2007 Jul 23
0
Problem w/ MySQL update from perl AGI script
I've been trying to get a basic 5 question IVR survey working in an AGI script, and am having trouble with the SQL portion not updating the table. When I take out all the AGI references, and run just the perl script, the table updates with no problem(DBname,username,password have been substituted in this example for the actual values): #!/usr/bin/perl # # use DBI; $DATETIME =