similar to: array loop

Displaying 20 results from an estimated 1100 matches similar to: "array loop"

1998 Dec 19
1
wins.dat contains 127.0.0.1 for local server
I couldn't really find anything about this in the archives, sorry if it's been beat to death. I've got a Debian Linux box running kernel 2.0.33. The machine has two ethernet cards and does NAT between a LAN and a cable modem link. For some reason, it's got 127.0.0.1 listed for its name: root@spruce:/var/samba>cat wins.dat "SPRUCE#20" 914324043 127.0.0.1 46R
2009 Jun 08
14
script help - '3rd last field'
Hi I need some logic to work out a value for me - this value is _always_ the 3rd last field in a string seperated by '.' but the string could be 5 or 6 fields long, e.g foo.bar.VALUE.baz.lala foor.bar.gigi.VALUE.baz.lala I need to find VALUE - if this were python or something i could do it but this has to be in shell - Any clues? thanks
2010 Oct 23
1
contour on a simplex
Hello, anyone knows if there is a way in R to draw contour on a simplex based on a function f(x,y,z) with domain (x+y+z = 1)? Thank you! gigi [[alternative HTML version deleted]]
2012 Mar 27
2
What error distribution should I use?
I'm trying to make a glmm to identify the relationship between insect species richness with fragment size, isolation and time (different years). I already tried to analyse it using poisson distribution error, but I always face with the following warning: *glm.fit: fitted probabilities numerically 0 or 1 occurred * This is probably hapenning because my dataset has a lot of zeros. So, what
2007 Jul 29
2
write.csv
Hi, I want to save an array(say, array[6,7,8]) write a cvs file. How can I do that??? can I write in one file? if I could not write in one file, i want to use a loop to save in different files (in the array[6,7,8], should be 8 csv files), such as the filename structure should be: file ="filename" +str(i) +"." +"csv" Many thanks. [[alternative HTML version
2005 Sep 16
4
getent and wbinfo not returning expected results?
Hello, For some time now have been trying to connect a Samba-3.0.14a-0.4 server running on SuSE Ent 9 linux server to our Exchange 2003 (running on Server 2003 Std w/ SP1) server which is also the AD server for our domain. I can connect to the shares using the AD as the authentication source, so the basic functionality is there but some command output does not show in the way i expect
2007 May 24
4
Create a virtual host using Instant Rails 1.7
Hi, I created a new rails application called demo using Instant Rails 1.7. It runs at the URL http://localhost:3003/blog/ The applications that a packaged with the zip file, cookbook and typo are currenlty the two virtual hosts. I can already run them using the following URLs http://www.mycookbook.com and http://typo/ Now, I want to add my application demo as the third virtual host in
2010 Apr 24
4
assign value between different type: Double vs Integer
Dear list, just to put it in a simple way: i read.csv from csv file to create a gdata then, create array gdata34 however, when making a loop for assigning gdata34[1,m]<-gdata[m,4], this is what happen gdata[1,4] 's real value is 10354, however, the gdata34[1,4] turns to be 883 then i checked the type: gdata[1,4] is integer, while gdata34[1,4] is double. Can any one give me some help
2004 Jun 10
0
Lustre 1.2.2 packages available
Lustre 1.2.2 has been released! Lustre 1.2.2 contains a significant number of fixes over Lustre 1.2.1 and is a recommended update for anyone running earlier Lustre versions. The most user-visible among them are: - Allow users to set per-directory default striping values - Fix data coherency bugs with concurrent write/truncate - The blocks count is updated on clients for stat without revoking
2006 Jul 05
10
Scalable alternative to #find_all
Is there any scalable alternative to iterating all the records of a certain model? #find_all seems to load everything into memory. With 500.000 records it will be a swap storm. Pedro.
2010 Feb 16
2
Error of Stepwise Regression with number of rows in use has changed: remove missing values?
Howdy, R Grues I have enjoyed R, but I cannot solve one problem easily. Please help my problem. When I tried the R script, I got the following Error. This error results from input data file exported through a Excel spreadsheet software. Error in step(lm(pop.rate ~ as.numeric(year) + as.factor(policy) + as.numeric(nation.grant) + ?: ??number of rows in use has changed: remove missing values?
2011 Jan 19
3
question about result of loglinear analysis
Hi all: Here's a question about result of loglinear analysis. There're 2 factors:area and nation.The raw data is in the attachment. I fit the saturated model of loglinear with the command: glm_sat<-glm(fre~area*nation, family=poisson, data=data_Analysis) After that,I extract the coefficients: result_sat<-summary(glm_sat) result_coe<-result_sat$coefficients I find that all the
2010 Jul 21
1
xtable with ifelse statement
Hi there, I'm very new on R and I hope someone can help me to solve the problem in using the ifelse statement with the xtable function(library xtable). I'm trying to get the printing of the elements of two lists in a sorted way. These two list have in common the their names. I will try to give an example: the first list looks like this: $code1 Code code1 Nation
2009 Apr 28
1
help active record modeling.
Hi. I have difficulties to model active record. So please help my trouble. Let''s suppose there are nations which have castles at least 1, and there are 3 types of castles. So I will make these tables. NationsTable, CastlesTable have common attributes of 3 types of castle. CastlesATable, CastlesBTable, CastlesCTable each have its unique attributes. In this case how can I represent
2012 Apr 04
2
using content in file as input variables to a class/def?
Here is the setup Clients are all under /usr/home/ftp/$client Internal Production is /usr/home/$internaluser I need to make slinks for every client folder under every Internal Production ie: ln -s /usr/home/ftp/$client /usr/home/$internaluser/$client Is there a way to do this from a list with in two files ( one for client name and the other for internal user names)? where the list format would
1999 Jul 07
3
Weirdness
NT 4.0 workstation users are complaining that all of their drive letters are getting used up by what appears to be a rampant network-drive mapping situation. For example, normally I have three shares network-mapped. Lately, ceetain people are complaining that one of their shares get's remapped a number of times to take up all the drive letters (except drive letter Z). So suddenly they
2011 Feb 17
1
3 questions about the poisson regression of contingency table
Hi all: I have 3 questions about the poisson regression of contingency table. Q1¡¢How to understand the "independent poisson process"as many books or paper mentioned? For instance: Table1 ------------------------------------------- treat caner non-cancer sum ------------------------------------------- treat1 52(57.18) 19(13.82) 71 treat2
2014 Aug 08
2
Garbled menu on ISOLINUX
We have a system that is designed with no VGA port, graphics card, or keyboard, only a serial console. We're trying to boot a Linux via ISOLINUX. The problem is that when ISOLINUX comes up, the screen is usually garbled. Not always; sometimes it's intact, sometimes it's completely blank. When it is garbled, it is NOT the garbled text of a wrong baud rate. Rather, it looks like
2007 Jul 29
2
array writing and their filenames
Hi, I want to save a array (say, array[6,7,8]) write a cvs file. How can I do that??? can I write in one file? if I could not write in one file, i want to use a loop to save in different files (in the matrix[6,7,8], should be 8 csv files), such as the filename structure should be: file ="filename" +str(i) +"." +"csv" Many thanks. Dong [[alternative HTML version
2007 Aug 01
1
plot matrix data- lattice?
Dear all, I have a matrix, dim = (years, regions) I would like to plot the data in a lattice so that each panel is region's plot with y-axis based on values, x-axis based on year. how can I do that? Many thanks in advance. Dong [[alternative HTML version deleted]]