similar to: matrix looping accessing previous column

Displaying 20 results from an estimated 240 matches similar to: "matrix looping accessing previous column"

2010 Mar 04
1
mysqlWriteTable . error in your SQL syntax?
Hi, Can somebody advice on weird mysqlWriteTable bug. > mysqlWriteTable(conn, 'comparison',design2, row.names = F, overwrite=T) Error in mysqlExecStatement(conn, statement, ...) : RS-DBI driver: (could not run statement: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '"condition"
2009 Oct 27
1
option to control the spac between columns in data frame
Hello, I have a question regarding a way to control the appreance of output exported by R when I use capture.output( x, file = "Directory/file.txt") , I get a text file which when I paste to a word file looks like the first table below. The following table has its clumns spaced closely so when I paste it to a word file it looks continuous. Is there any option in R to make the outputs
2005 Feb 21
1
e2fsck Looping?
Helping a friend fix a computer that was having severe, weird troubles. Reformatted (from XP) and installed Fedora. Install went ok, on first boot, however, filesystem was READONLY for some reason. Knew hard drive was suspect, so I e2fsck'd it over and over all night long, fall asleep next to the computer. This morning, Fedora boots fine, login not a problem, so I shut down and fsck it again,
2006 Jan 05
1
Looping through all models in the application
Hello. I have an application that depends on a table/model (ModelInternationalization) that provides international translations in various languages for all the model/table and columns names as well as some other stuff (whether the column is visible on forms, dropdowns, lists, reports etc). I need to create a management interface for this translation stuff (the plaintext stuff, btw, will be
2010 Jun 25
1
Confused: Looping in dataframes
Hey, I have a data frame x which consists of say 10 vectors. I essentially want to find out the best fit exponential smoothing for each of the vectors. The problem while I'm getting results when i say > lapply(x,ets) I am getting an error when I say >> myprint function(x) { for(i in 1:length(x)) { ets(x[i],model="AZZ",opt.crit=c("amse")) } } The error message is
2010 Feb 24
1
problem with looping on sqlSave()
Dear R users, I have a follow-up question on sqlSave(). Since most of the output from the tests I use are lists, I would like to loop to export each element of the list and append it to the sheet. Here is what I do: > library(RODBC) > test <- structure(list(m = structure(c(0.090909090909091, 0.181818181818182, 0.272727272727273, 0.363636363636364, 0.454545454545455,
2008 Feb 06
1
usbhid-ups looping and unresponsive after update
OS: Linux (Linux ares 2.6.22-3-686 #1 SMP) Dist: Debian (testing) UPS: Tripp Lite Omni1000 LCD After updating from 2.2.0 to 2.2.1, the following command seems to go into loop and becomes unresponsive except for a "kill -9": /lib/nut/usbhid-ups -u root -DDD -a trippy It seem that the previous version would pause the output at some polling interval, but with the new version prints to
2009 Jan 06
1
Alternate looping
R-help, I'm using the "for" control flow to graph plots continuously: par(mfrow=c(3,5), mar=c(0.6,.2,1.2,.2),yaxt="n",xaxt="n") for(j in 1:11) { for(i in 1:15) { species <- spAldur[spAldur$ar == 1993+i & spAldur$aldur == j,] plot(species at coords[,1], species at coords[,2], xlim=c(-10,-3.5), ylim=c(60.1,63) ,
2011 Mar 21
1
Basic Looping Trouble
Hi all, Forgive me for this basic question. I've been doing some research and haven't been able to figure out how to best do this yet. I have 75 variables defined as vector time series. I am trying to create a script to automate calculations on each of these variables, but I wasn't sure how to go about calling variables in a script. I am hoping to write a loop that calls a list of
2009 Apr 21
0
Nested forms without looping through fields_for collection.
Hi, I have a fairly complex form and I am wondering if it is even possible to do what I am attempting. I have multiple models included in the form. A small example would be the following: Company has many Locations Company has many PhoneNumbers... and so on I have this working without issue using Rails 2.3 and nested forms. Where this becomes complex is that I also have another model named
2005 Oct 18
2
smbd looping and consuming 100% CPU
Hi All, I have a samba 3.0.4 installation on AIX 5.2 ML05. The problem I am facing is that sometimes one smbd is looping and consuming up to 100% CPU time. In the log I see the following entry: =============================================================== [2005/10/18 11:35:34, 0] lib/fault.c:fault_report(37) INTERNAL ERROR: Signal 11 in pid 39316 (3.0.4) Please read the appendix Bugs of
2010 Feb 09
0
For and while in looping
I would like to solve a nonlinear eqn using newton method and here is the code:   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)  
2009 May 25
2
Looping through java hashmap from ruby through rjb
Greetings. I am trying to list all keys in a java.util.HashMap field. The Java code to do this looks like: # Collection c = hMap.values(); # # //obtain an Iterator for Collection # Iterator itr = c.iterator(); # # //iterate through HashMap values iterator # while(itr.hasNext()) System.out.println(itr.next()); So, I took a stab at the ruby version: # I have a java hashmap called fields
2000 Jan 12
1
unrequired headers (looping affect in NeXT)
In bsd-login.[hc] and login.c seems to have #include <utmp.h> that are unneeded (and platforms with non-protected headers files trips on them.) Could I get a few people on different platforms remove them and see if they cause any compiling issues it would make my life easier (and less required #ifdef grabage). bsd-login.c:52:#include <utmp.h> bsd-login.h:7:#include <utmp.h>
2013 Sep 10
0
Looping an lapply linear regression function
Hi, Try: dat2<- read.csv("BOlValues.csv",header=TRUE,sep="\t",row.names=1) dim(dat2) #[1] 20 28 indx2<-expand.grid(names(dat2),names(dat2),stringsAsFactors=FALSE) nrow(indx2) #[1] 784 indx2New<- indx2[indx2[,1]!=indx2[,2],] nrow(indx2New) #[1] 756 res2<-sapply(seq_len(nrow(indx2New)),function(i) {x1<- indx2New[i,];
2009 Apr 29
0
[LLVMdev] infinite looping on hashtables
On Apr 28, 2009, at 4:15 PM, Stuart Hastings wrote: > I think this is abusing DenseSet.h, but the bug report says it used to > work... I never claimed any such thing. :) This did come up in a real situation where I know the size of a particular set. The set can get large enough to justify giving size advice to the implementation, but it can also be quite small, which triggered this
2012 Feb 28
1
Stronghold Kingdoms, Keeps looping checking for updates
Hello, I installed Stronghold Kingdoms from Steam in my main wine prefix, I had to install dotnet20 via winetricks for it to run, after letting it update it just keeps looping over & over with a window that says "Checking for updates." it closes quickly then loops. Here's the output (including Steam.): http://pastebin.com/aTY9pxhs Thanks.
2004 Oct 05
0
looping back calls
Hi, I saw this link in voip-info wiki site, http://voip-info.org/wiki-Asterisk+at+large Quote, I don't think that Asterisk is quite ready to support all live deployment scenarios that include a 3rd party SIP proxy. One problem I ran into was Asterisk does not handle looped back calls. For example a call comes in over PSTN to Asterisk, Asterisk forwards to your SIP registrar proxy,
2007 Sep 13
0
ZAP to invalid SIP device call looping
Hello, When I receive calls in one FXO port (TDM400 or A200, occurs in both) and it dial to one invalid SIP extension, the call never hangup. The call would have to be dropped, but it seems that "Starting simple switch on 'Zap/1-1'" and "Hungup 'Zap/1-1'" occurs almost at the same time. If the dial is made to a valid SIP extension, the call is
2008 Dec 01
1
[SPAM] - Dahdi, b410p and looping from 1 port to another - Email found in subject
It looks like you are trying to dial out on your 'NT' instead of your 'TE'. Try changing Dial(DAHDI/g1/${EXTEN:1}); to Dial(DAHDI/G1/${EXTEN:1}); Oh, and I'd use mISDN for BRI as DAHDI always gave me problems. HTH -------------- next part -------------- An HTML attachment was scrubbed... URL: