search for: name4

Displaying 20 results from an estimated 29 matches for "name4".

Did you mean: name
2012 Mar 17
2
Reading then transposing from file
Hi, I'm an R beginner and I'm struggling with what should be a rudimentary task. My data is along these lines: ID name1 name2 name3 name4 Class 0 1 0 2 Var1 A B C A Var2 B C C A Var3 C A B A etc. I'm using the following: foo <- data.frame(t(read.table("file", header=FALSE))) but of course now it's not using ID, Class, etc. as column names. As you can imagine, I'd like to be able to use, say, foo$Var2 or...
2010 May 26
1
Xen guest does not autostart
...r reboot. [root at farm1 xen]# pwd /etc/xen [root at farm1 xen]# ls -l auto total 0 lrwxrwxrwx 1 root root 8 Dec 11 17:25 name1 -> ../name1 lrwxrwxrwx 1 root root 8 May 5 21:10 name2 -> ../name2 lrwxrwxrwx 1 root root 8 Nov 26 11:43 name3 -> ../name3 lrwxrwxrwx 1 root root 6 Oct 29 2009 name4 -> ../name4 (I retyped the names there.) [root at farm1 xen]# ls -l total 88 drwxr-xr-x 2 root root 4096 Apr 3 15:15 auto -rw------- 1 root root 430 Dec 11 13:14 name1 -rw------- 1 root root 610 May 7 12:07 name2 -rw------- 1 root root 303 Nov 4 2009 name3 -rw------- 1 root root 295 Oc...
2000 Oct 16
2
renaming an object
...ins 2 cols The first col contains names of R objects the user would like to use. The second col contains the file names which will be read in using read.table i.e. exp.batch may look like this..... name1 complex/filename/path1.txt name2 complex/filename/path2.txt name3 complex/filename/path3.txt name4 complex/filename/path4.txt I want to have a function which will read in the files and make them into the objects named in the 1st column - automatically (by just providing exp.batch) for(i in 1:nrow(exp.batch)){ tmp<-read.table(as.name(exp.batch[i,2]),...) ## ##But now I really want tmp to b...
2010 Feb 23
3
how to rearrange a dataframe
Hi all, I'd appreciate if anyone can help me with this... I have a data frame that looks like this: 1 + name1 1 2 3 2 + name2 5 9 10 2 - name3 56 74 93 1 - name4 65 75 98 I need to rearrange this in a way so that the rows with "1" in the first column, and "-" in the second column; then columns 4 and 6 should switch places. That is, column 6 would be now column 4 and column 4 would be column 6 (column 5 should stay as column 5) In the s...
2012 Dec 17
3
Merge more than 2 dataframe
...577647 2006-12 NaN 2007-01 NaN 2007-02 NaN 2007-03 0.2956429 2007-01 0.3677647 2007-02 NaN They have the same length. I need merge by date undefined number of dataframes. End result output will look like such example date name1 name2 name3 name4 .... 2006-11 0.4577647 0.4577647 0.4577647 NaN 2006-12 NaN NaN 0.4577647 0.4577647 2006-10 0.1577647 0.1577647 0.4577647 NaN 2006-11 0.3577647 0.8577647 0.4577647 0.4577647 2006-12 NaN 0.1577647 0.4577647 0.4577647 2007-01 N...
2002 Oct 08
1
Some tests fail if rsync is not on path (with patch)
...f we get here then we've won *** testsuite/hardlinks.test.orig Tue Oct 8 11:18:46 2002 --- testsuite/hardlinks.test Tue Oct 8 11:19:00 2002 *************** *** 31,37 **** ln "$name2" "$name3" || fail "Can't create hardlink" cp "$name2" "$name4" || fail "Can't copy file" ! checkit "rsync -aHvv \"$fromdir/\" \"$todir/\"" "$fromdir" "$todir" exit 0 # last [] may have failed but if we get here then we've won --- 31,37 ---- ln "$name2" "$name3&...
2009 Jul 23
2
Constructing lists (yet, again)
This is an attempt to rescue an old R-help question that apparently received no response from the oblivion of collective silence, and besides I'm also curious about the answer > From: Griffith Feeney (gfeeney at hawaii.edu) > Date: Fri 28 Jan 2000 - 07:48:45 EST wrote (to R-help) > Constructing lists with > > list(name1=name1, name2=name2, ...) > > is tedious when
2006 Aug 11
1
Group By
Hi, I have a table similar structure below. id name position page 1 name1 1 1 2 name2 2 1 3 name3 3 1 4 name4 1 1 5 name5 1 1 6 name6 1 2 What i want is to select all the items for a given page number grouped by pos and displayed in a view using a loop like: display position number, number of records for how many records have the same position number output the...
2009 Feb 26
0
How do I retrieve column and row names after comparing two matrices?
Hello, I have two matrices as shown below: Matrix 1 ID AB1 BC1 CD1 ... name1 1,1 2,1 0,2 ... name2 2,0 1,2 1,2 ... name3 0,2 1,1 2,0 ... name4 2,0 0,2 0,2 ... Matrix 2 ID AB2 BC2 CD2 ... name1 1,1 2,1 0,2 ... name2 2,0 1,2 1,2 ... name3 0,2 1,0 2,0 ... name4 2,0 0,2 0,2...
2009 Sep 06
1
struggling with "split" function
...NA,"split",NA,NA,NA,NA,"split",NA,NA,NA,NA), B=c("Name1","text1","text2","text3",NA,"Name2","text1","text2","text3",NA,"Name3","text1","text2","text3",NA,"Name4","text1","text2","text3"), C=c(NA,1,NA,3,NA,NA,4,5,6,NA,NA,7,8,9,NA,NA,3,3,3),D=c(NA,1,1,2,NA,NA,5,6,NA,NA,NA,9,8,7,NA,NA,2,2,2), E=c(NA,3,2,1,NA,NA,6,5,4,NA,NA,7,7,8,NA,NA,1,NA,1)) print(x) All I want to do is to split x, i.e., to create a list of data frames th...
2002 Mar 28
1
rsync-2.5.5rc1: two problems on Apple Darwin (== MacOS X)
...l/build/rsync-2.5.5rc1/testtmp.hardlinks/to + mkdir /local/build/rsync-2.5.5rc1/testtmp.hardlinks/from + name1=/local/build/rsync-2.5.5rc1/testtmp.hardlinks/from/name1 + name2=/local/build/rsync-2.5.5rc1/testtmp.hardlinks/from/name2 + name3=/local/build/rsync-2.5.5rc1/testtmp.hardlinks/from/name3 + name4=/local/build/rsync-2.5.5rc1/testtmp.hardlinks/from/name4 + echo This is the file + ln /local/build/rsync-2.5.5rc1/testtmp.hardlinks/from/name1 /local/build/rsync-2.5.5rc1/testtmp.hardlinks/from/name2 + ln /local/build/rsync-2.5.5rc1/testtmp.hardlinks/from/name2 /local/build/rsync-2.5.5rc1/testtmp.h...
2009 Oct 20
2
LDA Precdict - Seems to be predicting on the Training Data
...hers have posted this question, but I do not see the answers to their posts. Here is some sample data: Date Names v1 v2 v3 c1 1/31/2009 Name1 0.714472361 0.902552278 0.783353694 a 1/31/2009 Name2 0.512158919 0.770451596 0.111853346 a 1/31/2009 Name3 0.470693282 0.129200065 0.800973877 a 1/31/2009 Name4 0.24236898 0.472219638 0.486599763 b 1/31/2009 Name5 0.785619735 0.628511593 0.106868172 b 1/31/2009 Name6 0.718718387 0.697257275 0.690326648 b 1/31/2009 Name7 0.327331186 0.01715109 0.861421706 c 1/31/2009 Name8 0.632011743 0.599040196 0.320741634 c 1/31/2009 Name9 0.302804404 0.475166304 0.90714...
2012 Mar 16
1
R merge two dataframes with different row?
Hi everyone, I have a question for R code to merge. Say I have two dataframes: File1 is: V1 V2 V3 V4 1 100 101 name1 2 200 201 name2 2 300 301 name3 3 400 401 name4 3 500 501 name5 4 600 601 name6 4 700 701 name7 File2 is: V1 V2 V3 V4 1 50 55 p1 3 402 449 p2 4 550 650 p3 4 651 660 p4 2 150 250 p5 2 250 350 p6 3 450 499 p7 2 100 250 p8 I hope to have th...
2018 Mar 21
0
how to add a child to a child in XML
...t;,4:6,sep="") grandchild <- newXMLNode("grandchild",attrs = atts_grandchild, parent = child) root #<root att1="val1" att2="val2" att3="val3"> # <child name1="A" name2="B" name3="C"> # <grandchild name4="a" name5="b" name6="c"/> # </child> #</root> Cheers, Ben > On Mar 21, 2018, at 4:25 PM, Bond, Stephen <Stephen.Bond at cibc.com> wrote: > > I am trying to add a child to a child using XML package in R. the following fails > &gt...
2008 May 17
1
DO NOT REPLY [Bug 5472] New: FreeBSD 3.0.3pre2 'make check' failures
...#39;/scratch/bfriesen/build/rsync-3.0.3pre2/testtmp/hardlinks/to/'" sending incremental file list created directory /scratch/bfriesen/build/rsync-3.0.3pre2/testtmp/hardlinks/to delta-transmission disabled for local transfer or --whole-file cd+++++++++ ./ >f+++++++++ name3 >f+++++++++ name4 >f+++++++++ text hf+++++++++ name2 => name3 hf+++++++++ name1 => name3 total: matches=0 hash_hits=0 false_alarms=0 data=753189 sent 753510 bytes received 98 bytes 1507216.00 bytes/sec total size is 753223 speedup is 1.00 ------------- check how the directory listings compare with dif...
2018 Mar 22
2
how to add a child to a child in XML
...t;,4:6,sep="") grandchild <- newXMLNode("grandchild",attrs = atts_grandchild, parent = child) root #<root att1="val1" att2="val2" att3="val3"> # <child name1="A" name2="B" name3="C"> # <grandchild name4="a" name5="b" name6="c"/> # </child> #</root> Cheers, Ben On Mar 21, 2018, at 4:25 PM, Bond, Stephen <Stephen.Bond at cibc.com<mailto:Stephen.Bond at cibc.com>> wrote: I am trying to add a child to a child using XML package in R. the fol...
2008 May 17
1
DO NOT REPLY [Bug 5473] New: OS-X Leopard Rsync 3.0.3pre2 make check failures
...9; '/Users/bfriesen/build/rsync-3.0.3pre2/testtmp/hardlinks/to/'" sending incremental file list created directory /Users/bfriesen/build/rsync-3.0.3pre2/testtmp/hardlinks/to delta-transmission disabled for local transfer or --whole-file cd+++++++++ ./ >f+++++++++ name3 >f+++++++++ name4 >f+++++++++ text hf+++++++++ name2 => name3 hf+++++++++ name1 => name3 total: matches=0 hash_hits=0 false_alarms=0 data=753189 sent 753515 bytes received 98 bytes 1507226.00 bytes/sec total size is 753223 speedup is 1.00 ------------- check how the directory listings compare with dif...
2018 Mar 21
2
how to add a child to a child in XML
I am trying to add a child to a child using XML package in R. the following fails library(XML) node1 <- c("val1","val2","val3") names(node1) <- c("att1","att2","att3") root <- xmlNode("root", attrs=node1) node2 <- LETTERS[1:3] names(node2) <- paste("name",1:3,sep="") root <-
2008 May 17
3
DO NOT REPLY [Bug 5470] New: Make check failures on Solaris 10 with rsync 3.0.3pre2
...#39;/scratch/bfriesen/build/rsync-3.0.3pre2/testtmp/hardlinks/to/'" sending incremental file list created directory /scratch/bfriesen/build/rsync-3.0.3pre2/testtmp/hardlinks/to delta-transmission disabled for local transfer or --whole-file cd+++++++++ ./ >f+++++++++ name3 >f+++++++++ name4 >f+++++++++ text hf+++++++++ name2 => name3 hf+++++++++ name1 => name3 total: matches=0 hash_hits=0 false_alarms=0 data=753189 sent 753523 bytes received 98 bytes 1507242.00 bytes/sec total size is 753223 speedup is 1.00 ------------- check how the directory listings compare with dif...
2018 Mar 22
0
how to add a child to a child in XML
...randchild <- newXMLNode("grandchild",attrs = atts_grandchild, parent = child) > > root > #<root att1="val1" att2="val2" att3="val3"> > # <child name1="A" name2="B" name3="C"> > # <grandchild name4="a" name5="b" name6="c"/> > # </child> > #</root> > > > Cheers, > Ben > > On Mar 21, 2018, at 4:25 PM, Bond, Stephen <Stephen.Bond at cibc.com <mailto:Stephen.Bond at cibc.com>> wrote: > > I am trying t...