similar to: read.socket and timeout

Displaying 20 results from an estimated 100000 matches similar to: "read.socket and timeout"

2006 Feb 22
0
read.table missing values
I have experienced a similar problem when saving Excel data in this format. When any of the variables, except the last, contained missing values, there was not a problem. However, the problem occurred when the last variable contained missing values. My guess is that the last delimiter was left off? The "fill" option worked in my case. Use the option with care and double check the
2005 Jun 03
1
reading tables into R. .
Hi, The file I am reading is a text file, whose contents are a matrix that has 15 rows and 58 columns. The first row has column names, and the first column has row names, so the format is correct as far as using read.table is concerned. The other values in the table are all float values (numeric). So when I read in the file using data1 <- read.table("HAL001_HAL0015_Signals.txt"), it
2004 Oct 06
2
Repeated measures
I have a data set in which I have 5000 repeated measures on 6 subjects over time (varying intervals, but measurements for all individuals are at the same times). There are two states, a "resting" state (the majority of the time), and a perturbed state. I have a continuous measurement at each time point for each of the individuals. I would like to determine the "state"
2012 Apr 19
2
Dependency-aware scripting tools for R
There are numerous tools like scons, make, ruffus, ant, rake, etc. that can be used to build complex pipelines based on task dependencies. These tools are written in a variety of languages, but I have not seen such a thing for R. Is anyone aware of a package available? The goal is to be able to develop robust bioinformatic pipelines driven by scripts written in R. Thanks, Sean
2005 Feb 25
4
read.table
I have a commonly recurring problem and wondered if folks would share tips. I routinely get tab-delimited text files that I need to read in. In very many cases, I get: > a <- read.table('junk.txt.txt',header=T,skip=10,sep="\t") Error in scan(file = file, what = what, sep = sep, quote = quote, dec = dec, : line 67 did not have 88 elements I am typically able to go
2005 Jan 27
5
Finding "runs" of TRUE in binary vector
I have a binary vector and I want to find all "regions" of that vector that are runs of TRUE (or FALSE). > a <- rnorm(10) > b <- a<0.5 > b [1] TRUE TRUE TRUE FALSE TRUE FALSE TRUE TRUE TRUE TRUE My function would return something like a list: region[[1]] 1,3 region[[2]] 5,5 region[[3]] 7,10 Any ideas besides looping and setting start and ends directly?
2004 Sep 24
3
Error with repeat lines() in function
I have a function that does some plotting. I then add lines to the plot. If executed one line at a time, there is not a problem. If I execute the function, though, I get: Error in ans[[1]] : subscript out of bounds This always occurs after the second lines command, and doesn't happen with all of my data points (some do not have errors). Any ideas? Thanks, Sean
2004 Mar 26
0
RE: Quick "running" question
[The new version of gregmisc will be showing up on CRAN shortly.] > -----Original Message----- > From: Warnes, Gregory R > Sent: Friday, March 26, 2004 6:07 PM > To: 'Sean Davis' > Subject: RE: Quick "running" question > > Hi Sean, > > Congratulations, you found a bug! > > My "running" function took an improper shortcut. When >
2005 Dec 22
2
Reading in large file in pieces
I have a large file (millions of lines) and would like to read it in pieces. The file is logically separated into little modules, but these modules do not have a common size, so I have to scan the file to know where they are. They are independent, so I don't have to read one at the end to interpret one at the beginning. Is there a way to read one line at a time and parse it on the fly and do
2005 Nov 11
0
[Fwd: Re: no package 'Matrix' at the repositories]
[Resend the stuff below since initial one has been blocked from R-help.] I have moved the "old" Matrix_0.98-7.zip to the main repository for the meantime. Best, Uwe Ligges -------- Original Message -------- Subject: Re: [R] no package 'Matrix' at the repositories Date: Fri, 11 Nov 2005 15:45:19 +0100 From: Uwe Ligges <ligges at statistik.uni-dortmund.de> Organization:
2004 Oct 28
3
Table question
I have a table (output from table(factor1,factor2)). I would like to use write.table to output that table to a file. However, it seems that as.data.frame converts such a table to three columns, Var1, Var2, and Freq rather than converting to the data.frame with equivalent numbers of rows and columns. I can use write.matrix from the MASS package, but then I get no rownames. Any hints here?
2008 May 19
0
[BioC] oligo ids
Thanks Sean! Your reply was very helpful. I already got almost what I wanted. I have some NA values but I will look if I can find them through bibliography or an external tool. Best Regards, Eleni On Mon, May 19, 2008 at 6:07 PM, Sean Davis <sdavis2@mail.nih.gov> wrote: > On Mon, May 19, 2008 at 10:47 AM, Eleni Christodoulou > <elenichri@gmail.com> wrote: > > Dear list,
2004 May 28
2
Simple list manipulation question
I have a list of vectors $A "AB" "BC" "CD" $B "GF" "HG" "FH" "FJ" and I want to convert it into a dataframe of form A AB A BC A CD B GF B HG B FH B FJ Just can't quite come up with a nice "R" solution for it. Thanks, Sean
2008 Jul 09
2
gsub and "\"
This is hopefully a simple question. I am trying to escape single quotes like so: abc's >> abc\'s However, I cannot find an easy way to do that with gsub: gsub("'","\\\\'","abc's") # returns "abc\\'s" How can I get a single \ in the output? Thanks, Sean
2006 Jul 25
1
[Way OT] New hardware
Can anyone share experience with opteron versus the xeon (woodcrest) for R under linux? I am looking at using 16-32Gb of ram in a workstation (as opposed to a server). Thanks in advance.... Sean
2004 Oct 28
3
Quick data-manipulation question
I have a list of data frames and I want to concatenate them into a single data frame, basically appending all of the data frames to each other (they are all the same shape, in terms of columns). I'm looking for a nice way to do that. I can of course just consecutively rbind them to a "master" dataframe, but I have 22,000 such data frames, each with a few hundred rows, so this
2008 Oct 09
2
Running R under Sun Grid Engine with OpenMPI tight integration
We have spent some time setting up Sun Grid Engine and OpenMPI on a group of linux boxes. I have created a parallel environment and everything seems to be working. I have Rmpi 0.5.5-5 installed on all machines. I would like to start an interactive R session using, say, 8 processors and then start the Rmpi cluster. I haven't been able to find what needs to be done in order to accomplish
2005 Apr 29
2
how to replace text...
if I have.... QQQQ<-priceIts("QQQQ",quote="Close") QQQQ<-priceIts("QQQQ",quote="Close");plot(QQQQ) and then i want to do the same thing but say with IBM instead of QQQQ is there an easy way like replace qqqq/ibm Thanks in advance./Jonathan
2003 Oct 30
1
Finding common sets
I am working on a problem in which I have 2 groups of clusters, each of which was generated from the same original list of members. Within each group, the clusters cover the original list of members many times over. What I am interested in finding is the number of common elements in every pair of clusters when taking one from each group. In short, I need a FAST way of finding the number of
2005 Jan 11
4
Matrix to "indexed" vector
I have a matrix that I want to turn into a transformed matrix that includes the indices from the original matrix and the value. The matrix is simply real-valued and is square (and large (8k x 8k)). I want something that looks like (for the 3x3 case): i j value 1 1 1.0 1 2 0.783432 1 3 -0.123482 2 1 0.783432 2 2 1.0 2 3 0.928374 and so on.... I can do this with for loops, but there is