similar to: Read File for Matrix with rownames

Displaying 20 results from an estimated 400 matches similar to: "Read File for Matrix with rownames"

2012 Jun 25
4
graph displays
Good Afternoon, I'm trying to create a graph that displays the best way the following information. ??? For instance organized by bar graph, A, B, C Source X1000s X600s X500s X250s X100s X50s X10s X5s X3s X1s 1 A 47 63 75 116 125 129 131 131 131 131 2 B 37 64 45 11 25 19 61 131 186 186 3 C 17 62 25 66 12 29 91 171 186
2012 Apr 06
4
Order sapply
Good Afternoon, I have the following code, but it seems that something must be doing wrong, because it is giving the results I want. The idea is to create segments while the value of Commutation is less than 1000. for example, from the small set of data below text=" val_user pos v v_star v_end commutation v_source v_destine 1 1 96-96 1173438391 1173438391 0
2012 Mar 15
1
Subtract Date Between columns
Hello I have this little dataset, my goal is create one column in the data.frame with between the diference DataTime and Duration. I'm using the next code to make do this TIME_STAMP SESSIONTIME Time TimeStart 1162343932 8320 2006-10-31 19:01:34 2006-10-31 16:42:54 1162343215 592 2006-10-31 19:02:04 2006-10-31 18:52:12 1162341465 11875
2012 Mar 19
2
Save File after order
Hello, ??? I'm trying to write the sorted data in a file of a data.frame, My question and my problem is that when I record in file adds a new column row.name, which apparently is the original position in the file. ??? I wanted to write to the file without this column x<-data.frame(name="x1",Time=20) x<-rbind(x,data.frame(name="x2",Time=25))
2012 Mar 27
2
drawing the graph with many nodes
Good morning, I'm trying to draw a graph, and I'm using the following code. test.matrix<-read.table("~/Desktop/Results/testgephi.csv", header = T, sep=",") colnames(test.matrix) <- gsub("X", "", colnames(test.matrix)) #drop first column drops <- c("") test.matrix<-test.matrix[,!(names(test.matrix) %in% drops)] test.matrix
2012 Mar 26
2
copy the columns based on the code
Hello, I have two different dataset, and wanted to join the two. For example I have a table of codes of cities, and other with with the codes of travels, [source for the destine]. what he wanted was to have a new data.frame with all the information city<-data.frame(city="Barcelona",cod=1) city<-rbind(city,data.frame(city="Madrid",cod=2))
2012 Mar 20
2
Unique in DataFrame
Hello, I have little doubt, and I do not think that the way I solve the problem is the best way to do it. The following is a small dataset x<-data.frame(city="Barcelona",sales=253639) x<-rbind(x,data.frame(city="Madrid",sales=223455)) x<-rbind(x,data.frame(city="Lisbon",sales=273633)) x<-rbind(x,data.frame(city="Madrid",sales=266535))
2005 Aug 01
2
[LLVMdev] [patch] gccld not passing -export-dynamic to gcc for link
gccld passes -shared through if it's generating a shared library, but if you're compiling a program that needs to have its symbols externally accessible, it doesn't pass -export-dynamic through to gcc for the final link. The attached patch fixes this. I've tested with a small test case I sent Chris, and with Python; both seem to work. I also fixed some inaccurate comments in
2010 Jun 17
2
Help R
Hello, I'm new in using the R, but from what I read is an excellent tool. Would you like if I could help, I am trying create an array from reading a text file. The idea is to read the file, and transform the data in binary format, for example. The calves of this file format. A,B,C,D,G A,C,E,O F,G Put this away a b c d e f g o 1 1 1 1 1 0 0 1 0
2012 Mar 07
4
problem with data
Good Afternoon, ?? I have a small problem with the following code. # The x.sub$Time[[1]] 2006-10-31 19:03:01 EST # when put in variable star give-me star<-x.sub$Time[[1]] print(star) print(x.sub$Time[[1]]) [1] 1 36 32 -........ do not understand why -- View this message in context: http://r.789695.n4.nabble.com/problem-with-data-tp4453510p4453510.html Sent from the R help mailing
2001 Sep 19
2
Coda and Ext3
Hi everyone, The Linux Coda drivers and the ext3 patches don't seem to get along very well, at least in Linux 2.4.7. I've got a stock 2.4.7 kernel with a patch applied to the USB drivers (for a sony digital camera; see http://www.sujal.net/tech/linux/ just a change in unusual_devs.h). After I applied the ext3 patches from http://www.uow.edu.au/~andrewm/linux/ext3/ . Basically,
2006 Aug 04
2
IFB support in 2.6.17 kernel
Hi, I''m trying to activate IFB device support in a 2.6.17 kernel from Debian Sid. I read that IFB device is the replacement for IMQ device, but I haven''t found any useful documentantion on how to activate this feature and the kernel documentation lacks of this information. I remember that IMQ could be activated in the ''Network devices'' menu in 2.6.8 kernels,
2006 May 24
7
OCI8::Cursor (Name Error) in HP-UX 11.11 error
Hi I have looked at google about this error as well as in ruby on rails forums, but I can not specifically locate the exact problem and the solution for it. Basically, I successfully installed ruby 1.8.4 on HP-UX 11.11 with rails gem. But unfortunately whenever I try to create a test application by using "rails testapp", I am getting the follwing errror: $ rails testapp
2006 Jul 13
1
writeForeignSAS and potential extensions
Dear R-devel, I've made some potential extensions to writeForeignSAS in 'foreign' that I wanted to pass along if anyone is interested. I've attached the diff -u output against the version found in foreign_0.8-15 and an .R file with my changes. (In this .R file, the function is named writeForeignSAS7 to simplify testing/comparisons.) I've tried to alter the current
2000 Mar 29
0
Something about Upper/Lower-case
Hi, We are using SAMBA on Solaris and AIX and discovered a funny thing. (A bug ??) (We had tried on a Linux-box as well and have same result.) SAMBA AFTER VER. 2.0.0 returns the full path in both UPPER and LOWER case, eg. DRIVERLETTER:\DIR\DIR\DIR\filename.txt This is a problem for us do to Unix case-sensitive. Our devel.dep. wrote a litle program using this routine (From the helpfile from
2005 Mar 02
1
Error on Windows installing package to non-default library
Hi all, I'm seeing an error on Windows when I try to install a package to a package library path that starts with a digit. I can reproduce the error as follows using R-devel from Feb 24 on Windows advanced server: badLib = "c:\\badExample\\2\\foo" dir.create(badLib, recursive=TRUE) z = .libPaths() z = .libPaths(c(badLib, z)) z [1] "c:\\badExample\\2\\foo"
2006 Jun 26
1
/bin/tar bug
It like we may have a bug in tar that ships with Centos. It looks like -o is mapped to --same-owner. Some basic info.... uname -a Linux jazzy 2.6.9-34.0.1.ELsmp #1 SMP Wed May 24 08:14:29 CDT 2006 i686 i686 i386 GNU/Linux cat /etc/redhat-release CentOS release 4.3 (Final) % /bin/tar --version tar (GNU tar) 1.14 --same-owner try extracting files with the same ownership --no-same-owner
2008 Feb 04
5
WinXP/x64 - MFC CFile objects leak parent directory handles
Samba 3.0.28-0.1.95-1624-SUSE-SL10.3 A strange problem (best read in a proportional font). It only happens on an x64 XP client when accessing a Samba share. The exact same program runs fine on the same x64 XP client when the share accessed is on a Windows server or when it is run on a 32-bit XP client, regardless of whether the share belongs to a Samba server or to a Windows server. I have
2005 Mar 14
4
[SMB 3.0.10] File Locking Mechanism Windows <-> Unix
Hello, Iam facing a problem in locking of files across samba shares. We have samba 3.0.10 running on Solaris 9 with the smb.conf as follows. # Global parameters [global] workgroup = NMUINT netbios name = NMUINTFS interfaces = <IP> bind interfaces only = Yes security = DOMAIN password server = XXX.XXX.XXX.XXX log level = 1 ldap
2010 Mar 08
0
Difficulties in add cover art to FLAC file
Hi all, recently I tried to add cover art to flac files and have dfficulties in doing so. FLAC__Metadata_Chain *chain = FLAC__metadata_chain_new(); if(0 == chain) return; if(!FLAC__metadata_chain_read(chain, filename)) return; FLAC__StreamMetadata *picture = FLAC__metadata_object_new(FLAC__METADATA_TYPE_PICTURE); FLAC__Metadata_Iterator *iterator = FLAC__metadata_iterator_new(); if(0 ==