Displaying 20 results from an estimated 3000 matches similar to: "help for the first poster- a simple question"
2009 Nov 04
4
unexpected results in comparison (x == y)
Dear readers of the list,
I have a problem a comparison of two data from a vector. The comparison
yields FALSE but should be TRUE. I have checked for mode(), length() and
attributes(). See the following code (R2.10.0):
-----------------------------------------------
# data vector of 66 double data
X =
2006 Aug 24
2
Problem in library.dynam problems on Linux
We have R 2.2.1 installed on a Linux cluster that seems to have problems loading either of our shared object libraries for packages. This seems to be happening on both local and global versions of packages that we install. However, we have only noticed this problem in the past 3 months on this R installation, whereas some users had success before then. It could be that something on our system
2003 Oct 09
1
dyn.load error with C file
Re-sending this from 10/7. Please help! I'm really clueless how to fix this:
System: Solaris 7, Software: R_1.7.1 for unix
> R CMD INSTALL -l /Rdir/library haplo.stats_1.1.0.tar.gz
-works like a charm-- no syntax errors, etc
But problems are when I'm loading the library within R.
> library(haplo.stats, lib.loc="/people/biostat3/sinnwell/Rdir/library")
> Error
2009 Mar 19
1
zip.file.extract
Hello everyone,
Can anyone give me some hint/suggestion for unzipping a file in R? The
help file for "zip.file.extract" function seems to be difficult to
understand.
For example, the name of my zip file is "refGene.txt.gz", which is
located in "C:\Documents and Settings\Desktop\test1". I would like to
unzip this file to the same directory.
Here's
2004 Oct 19
2
pasting indexes to variables within loops
Hi all,
Hope someone can help me. I start out with a matrix called haplo with 600 rows and two columns. To start with, the elements of the matrix are character strings of 20 numbers. I then want to create separate objects, called ha1-ha600, that are the concatenated 20 + 20 numbers, as numeric. I am having no trouble doing anything except getting the index i to paste to the object ha(i) in
2008 Jul 10
1
S4 class questions
Hi, I'd like to create a S4 class contains only one type of data.
However, the number of slots varies.
For example, I want to create a class "a", each slots in "a" contains
numeric value only.
> setClass("a", contains = "numeric")
If I want to create an object "a" with only one slot containing c(3,4),
I will write
>
2003 Feb 14
1
programs for genetics - haplo.score for R
A non-text attachment was scrubbed...
Name: not available
Type: text/enriched
Size: 1819 bytes
Desc: not available
Url : https://stat.ethz.ch/pipermail/r-help/attachments/20030214/7f3adccd/attachment.bin
2004 Jan 26
3
write.table file="file.txt" help
Hi all,
I have a R script that creates several input files for an analysis
program. It loops through the matrix read into R and picks out
submatrices and then creates a separate output file for each
submatrix. The loop works great, but I am having trouble getting all
the separate output files written.
The line I have is:
write.table(ch1d,
2006 Mar 24
1
cox model for haplotypes
Hi,
Anybody knows a function that can fit haplotype data to a Cox model.
I've been searching it in the web without succeed.
I use "haplo.stats" package, but unfortunatelly it's not possible to
analyse survival data, amb I right?.
Thanks in advance.
Isaac Subirana (isubirana@imim.es)
[[alternative HTML version deleted]]
2009 Oct 14
1
using mapply to avoid loops
Hello, I would like to use mapply to avoid using a loop but for some reason, I can't seem to get it to work. I've included copies of my code below. The first set of code uses a loop (and it works fine), and the second set of code attempts to use mapply but I get a "subscript out of bounds" error. Any guidance would be greatly appreciated. Xj, Yj, and Wj are also lists, and s2,
2002 Aug 08
2
Splus-funktion "haplo.score"
Sehr geehrte Damen und Herren,
hiermit m?chte ich bei Ihnen nachfragen, ob die f?r Splus
geschriebene "haplo.score"- Funktion auch unter R verwendet werden
kann.
siehe
http://www.mayo.edu/statgen/software/
Wenn ja, wie sind die Aufrufe
Splus CHAPTER -m und
Splus make
in R zu realisieren?
Herzlichen Dank f?r Ihre M?he
mit freundlichen Gr??en
--
Dr. rer. nat. Andreas Fr?hlich
2009 Oct 29
3
Weird error: Error in xj[i] : invalid subscript type 'list'
I got the error. I haven't been able to get a stand along case so that
I can show it here. But could somebody give some clue on what could
cause this error? Since I never defined xj[i], I don't understand
where this error come from.
Error in xj[i] : invalid subscript type 'list'
2008 Jul 01
1
[.data.frame speedup
Below is a version of [.data.frame that is faster
for subscripting rows of large data frames; it avoids calling
duplicated(rows)
if there is no need to check for duplicate row names, when:
i is logical
attr(x, "dup.row.names") is not NULL (S+ compatibility)
i is numeric and negative
i is strictly increasing
"[.data.frame" <-
function (x, i, j,
2012 Nov 29
0
[LLVMdev] radr://12777299, "potential pthread/eh bug exposed by libsanitizer"
+glider
The compiler hardly matters here, I would expect the same failures with
clang.
Alex, could you please take a look?
--kcc
On Thu, Nov 29, 2012 at 9:55 PM, Jack Howarth <howarth at bromo.med.uc.edu>wrote:
> Nick,
> Can you take a quick look at the asan_eh_bug.tar.bz testcase
> I uploaded into the newly opened radr://12777299, "potential
> pthread/eh bug exposed
2012 Nov 29
3
[LLVMdev] radr://12777299, "potential pthread/eh bug exposed by libsanitizer"
Nick,
Can you take a quick look at the asan_eh_bug.tar.bz testcase
I uploaded into the newly opened radr://12777299, "potential
pthread/eh bug exposed by libsanitizer". The FSF gcc developers
have ported llvm.org's asan code into FSF gcc (and are keeping
it synced to the upstream llvm.org code). I have been helping
with the darwin build and testing -fsanitize=address against the
2017 Apr 13
3
Question on induction variable simplification pass
Hi all,
It looks like the induction variable simplification pass prefers doing a zero-extension to compute the wider trip count of loops when extending the IV. This can sometimes result in loss of information making ScalarEvolution's analysis conservative which can lead to missed performance opportunities.
For example, consider this loopnest-
int i, j;
for(i=0; i< 40; i++)
for(j=0;
2004 May 24
1
as.matrix.data.frame() in R 1.9.0 converts to character when it should (?) convert to numeric
Conversion of a data frame to a matrix using as.matrix() when a
column of the data frame is POSIXt and all other columns are numeric
has changed in R 1.9.0 from R 1.8.1. The new behavior issues a
warning message and converts to a character matrix. In R 1.8.1, such
an object was converted to a numeric matrix.
Here is an example.
#### R 1.9.0 ####
> foo <- data.frame(
2017 Feb 27
2
How to catch EXCEPTION_ACCESS_VIOLATION exceptions on win64
LLVM3.8 version.
https://bugs.llvm.org//show_bug.cgi?id=24233. The example can catch exception. But I use my own code for testing, CustomEHMemoryManager allocated memory address is very large, allocateCodeSection, allocateDataSection assigned address (more than 32 bit address space) is getting smaller and smaller. Cause registerEHFrames to fail.
3.9.1 or 4.0.0 version has been supported on win
2007 Dec 04
2
Multiple stacked barplots on the same graph?
Dear R-Users,
I would like to know whether it is possible to draw several
stacked barplots (i.e. side by side on the same sheet)...
my data look like :
Cond1 Cond1' Cond2 Cond2'
Compartment 1 11,81 2,05 12,49 0,70
Compartment 2 10,51 1,98 13,56 0,85
Compartment 3 1,95 0,63 2,81 0,22
Compartment 4 2,08 0,17
2005 Aug 04
1
linkage disequilibrium
Dear all,
I'm using the package "Genetics", and I'm interested in the computation of D'
statistics for Linkage Disequilibrium, for which the LD() command has been
realised. Unfortunately I don't find any reference on "how" the D' is computed
by the LD() function. In the package documentation it is generally referred as
"MLE" estimation, but