similar to: for loops

Displaying 20 results from an estimated 1000 matches similar to: "for loops"

2007 Mar 02
3
Reformulated matrices dimensions limitation problem
First I wanted to thank both Marc Schwartz Greg Snow and for their reply. Then I needed to add a level of complexity to the problem. I would be able to create the biggest possible matrix. In other way does it exist a method to ask smthing like the following : max number of rows for a matrix if column=x? Thank you ------------------------------------------------------ Passa a Infostrada.
2007 Mar 26
2
Failure acknowledgement time
Hi, I've noticed that if I disconnect or reconnect a phone from the net, Asterisk take long time to realize that (even more then 10 minutes). Is there a way to reduce this time, working on the configuration files? Thank you. silvia ------------------------------------------------------ Passa a Infostrada. ADSL e Telefono senza limiti e senza canone Telecom http://click.libero.it/infostrada
2007 Mar 16
2
Duplicated non contiguous element in a list
Hello, Given a vector I would like to rapidly identify duplicated non contiguous elements. Given for example c(1, 1, 2, 3, 2, 4, 5, 6, 4) I would like to get: FALSE FALSE TRUE FALSE TRUE TRUE FALSE FALSE TRUE In fact I need to check this on the columns of a matrix! I can do that of couse with loops but is there any function already available? Thanks
2007 Feb 09
2
get.hist.quote problem yahoo
I have functions using get.hist.quote() from library tseries. It seems that something changed (yahoo) and function get broken. try with a simple get.hist.quote('IBM') and let me kow if for someone it is still working. I get this error: Error in if (!quiet && dat[n] != start) cat(format(dat[n], "time series starts %Y-%m-%d\n")) : missing value where
2007 Mar 28
2
ssl with openwrt OS
Hi. I'm still facing troubles on my way. This time concerning ssl encryption. only dovecot-auth starts... imap and pop3 go down with this log dovecot: Mar 23 18:34:19 Info: Dovecot v1.0.rc27 starting up dovecot: Mar 23 18:34:20 Error: Temporary failure in creating login processes, slowing down for now dovecot: Mar 23 18:34:20 Error: imap-login: Can't load certificate file
2007 Jul 26
0
Diagonal Submatrices Extraction
Yes you are right ... an example is mandatory. So ... I have a matrix of 0 with just a single 1 per row and per column I need to extract all maximal 'diagonal' submatrices Let's say I have the following matrix A B C D E a 0 1 0 0 0 b 1 0 0 0 0 c 0 0 1 0 0 d 0 0 0 1 0 e 0 0 0 0 1 well I would like to get, for this example, the two following submatrices A B C D E
2007 Feb 09
4
asterisk 1.4 FC5 and Gtalk
JABBER: gtalk_account OUTGOING: <?xml version='1.0'?><stream:stream xmlns:stream='http://etherx.jabber.org/streams' xmlns='jabber:client' to=' gmail.com' version='1.0'> localhost*CLI> jabber show tes JABBER: gtalk_account INCOMING: <?xml version="1.0" encoding="UTF-8"?><stream:stream from="gmail.com"
2007 Jun 12
1
LASSO coefficients for a specific s
Hello, I have a question about the lars package. I am using this package to get the coefficients at a specific LASSO parameter s. data(diabetes) attach(diabetes) object <- lars(x,y,type="lasso") cvres<-cv.lars(x,y,K=10,fraction = seq(from = 0, to = 1, length = 100)) fits <- predict.lars(object, type="coefficients", s=0.1, mode="fraction") Can I assign
2007 May 02
1
Query about RODBC to access MySQL from Windows
Hi I am trying to use RODBC in R installed on Windows to access MySQL database (on a linux box). I set up a DSN and specified this DSN in R as follows library(RODBC); channel <- odbcConnect("mysqldsn"); RODB Connection 5 Details: case=nochange PORT=3306 ........ Although this seems to connect properly, running any command yields NO results. i.e. sqlQuery(channel, "show
2007 Aug 01
1
Two-way ANOVA
I've got this dataframe X12 X14 X17 X19 vitigni years 1 1 4 78 54 rie 2005 2 1 4 7 4 rie 2005 3 1 4 75 5 rie 2005 4 2 5 66 5 croa 2005 5 1 4 4 46 croa 2005 6 2 5 7 6 croa 2005 7 3 2 56 5 rie 2006 8 3 6 4 7 rie 2006 9 3 2 36 7 rie 2006 10 1 5 3 7 croa 2006 11 1
2007 Jul 26
2
multiple graphs
Does anyone have a simple explanation and example on how to add histograms or barcharts to an other graph like in the example at the R-graph gallery: http://addictedtor.free.fr/graphiques/RGraphGallery.php?graph=109 looking at the code I'not undertand very well how to add graphs in arbitrary/clever position with an adequate scale. If somebody have a simplier example with explanations it
2007 Mar 15
2
how to...
I have to perform ANOVA's on many different data organized in a dataframe. I can run an ANOVA for each sample, but I've got hundreds of data and I would like to avoid manually carrying out each test. in addition, I would like to have the results organized in a simple way, for example in a table, wich could be easy to export. thank you for assistance simone
2007 May 20
0
optional fields in function declarations; Solved
thank you to both Adaikalavan and Patrick. on the basis of Adaikalavan example this is an example that point out my problems. >log_raise=function(num, exp, base){return(log(num^exp,base))} I would like to have optional fields, so some settings to be default parameters; if I declare the function as above the operator must of course input all the variables. Finally I could fix as follow.
2007 Apr 17
0
Inverse of one function
Dear Partecipants to the list, I am searching a R function, which can calculate the inverse of one real value function. Does it exists a R code in order to make it? Many thanks for any kind of help and for Your availability. Enrico Foscolo ------------------------------------------------------ Passa a Infostrada. ADSL e Telefono senza limiti e senza canone Telecom
2012 Aug 23
1
Why was my R process killed spontaneously?
I tried to use gpuCor function in the gputools package of R to calcuate the pairwise correlations of a matrix of 40,000 columns. Becuase there would be memory issues if I use the whole matrix at a time, I splitted the matrix into submatrix of 10,000 columns and then calculate the pairwise correlation of different submatrices. There are altogether 4 submatrices, so I need to calculate the pearson
2006 Dec 28
0
access denied to shares on samba 3
Hi, I have samba-3.0.23d-1tr on a trustix 3.0 system. This samba was joined to a win 2k3 domain and it works perfect for lot of months. Now I can access only to tmp share, and samba server is sometimes slow to expose all shares. If I launch wbinfo ?u or wbinfo ?g, I still see the users/group from win2k3 server, but in the log of my winxp client (whose name is Euro15), I see: [2006/12/27
2007 Mar 01
1
matrices dimensions limitation
Hello, I have several questions around matrices size limitation: can i create a matrix with 700000 rows? does it depends on the number of columns? if so can Is there a way to ask to R, given the number of columns, the max number of rows I can have? I need in fact to do regression prediction on a huge matrix (700000x1000)ca. ... I will probably have to decompose it on several
2007 Mar 23
7
Doorphone vs. Grandstream BT101
I've done all the googling I can on this, and have come to the conclusion that a Grandstream BT101 can be abused to be a door phone. Could someone with access to one, confirm that the following is possible? Researched: 1. When set to auto-answer, dialing the phone will result in a short beep and instant speaker-phone connection. 2. When pressing the "message" button while
2007 Jan 11
2
overdispersion
How can I eliminate the overdispersion for binary data apart the use of the quasibinomial? help me Eva Iannario ------------------------------------------------------ Passa a Infostrada. ADSL e Telefono senza limiti e senza canone Telecom http://click.libero.it/infostrada11gen07
2002 Oct 10
2
tapply for matrices
Does anyone have something like tapply that is extremely fast for matrices when there is a very large number of levels of the grouping variable? I'm referring to, for example, tapply(x, grouping.variable, function.operating.on.submatrix) where x is a matrix and the submatrix is a subset of the rows of x. The grouping variable's length equals the number of rows of x. -- Frank E