Displaying 20 results from an estimated 2000 matches similar to: "Coercing a list to integer?"
2006 Feb 06
6
problem with simple if() statement
the following code apprantely, for some grand old reason, induces a syntax error:
if (seq[i] = "A") m <- trans[1,]
where seq is a vector and trans is a matrix. I cannot for the life of me see why this is wrong. Syntax error is:
Error: syntax error in "if (seq[i] ="
Sincerely,
Norman Goodacre
---------------------------------
2006 Jan 12
4
Loading Excel file into Limma
Dear mailing group,
This is my first time here. Glad to have this resource!
I am currently trying to load an Excel file into R (limma package loaded)
using the source(*name of directory*) command, but it cannot open the file.
I renamed the file as .R and .RData, to no avail. The Excel data contains
one gene name per row and about 100 data points per gene (columns).
I am only used to
2006 Feb 06
1
generating markov chain
Dear help group,
Just fyi a markov chain is a sequence of transitions between states (say A,T,G,C - on a gene) with a given probability for each transition. In this case there'd be 16 different kinds, each with a different weight.
Given a transition matrix (4x4) filled with all transition probabilities of course, how can I generate a random sequence of a given length, say 200?
2006 Jul 21
1
Q. regarding optim()
Dear R mailing group,
The second parameter for the function optim()is a function whose
parameters are to be optimized. The description of this function given in
the help file is the following:
fn: A function to be minimized (or maximized), with first
argument the vector of parameters over which minimization is
to take place. It should return a scalar result.
2006 Jan 17
1
Clustering function
Dear mailing group,
I have loaded an Excel file into R by calling it ".csv" and using the
"read.csv" function in R. However then I want to use the (limma package
specific, I believe) function "hclust", which clusters data in a tree
dendrogram, by similarity. However, I receive the errors msg.s: 1) "missing
observations in cov/cor" 2) "In
2004 Feb 11
1
Bhat: installation problem
Hi!
I'm trying to install package Bhat on
a Win machine, had a problem and figured out
a fix, but would like to report the
problem and make sure the fix is correct. This is what I do:
1. Download Bhat_0.9-07.tar.gz
2. Uncompress it and compress it back to Bhat_0.9-07.zip
3. Install from the R windows gui (that
apparentely requires the zip compression and cannot
deal with the tar.gz)
But
2006 Jul 15
1
R installation - WINDOWS - problem
Dear R mailing group,
I am having extreme - and mysterious - trouble installing R. I tried
simply dl ing R-2.3.1.tar.gz, and unzipping it, but after doing so, nowhere
could I find a file called R-2.3.1.exe. I did however find an
R-2.3.1.exe.manifest.
I therefore tried the command line installation command - given in
R-admin.pdf. This command is: tar zxvf R-2.3.1.tgz
This is strange
2011 Apr 17
2
Counting elements in columns
I have two columns and I want to count hwo many pairs I have of the same
element. For example. If I have
a = c(1,2,3,4,5)
b= c(12, 1, 34, 2, 5, 0, 10, 100, 11)
It should return 3 (since 1, 2 and 5 occur in both columns).
Columns need not be of the same length.
--
Thanks,
Jim.
[[alternative HTML version deleted]]
2020 Nov 04
2
Metadata in LLVM back-end
Le 04/11/20 à 17:40, David Greene a écrit :
> Sorry about the late reply.
>
> Lorenzo Casalino <lorenzo.casalino93 at gmail.com> writes:
>
>>>>> - Should not impact compile time excessively (what is "excessive?")
>>>> Probably, such estimation should be performed on
>>> Did something get cut off here?
>> Uops. Yep, I removed a
2011 Aug 30
5
Message flags
How do I set message flags in sieve rules in such a way that e.g.
Thunderbird is displaying the mail as "important"? Is there a list of
hwo flags are interpreted by different IMAP clients?
--
Ralf Hildebrandt
Gesch?ftsbereich IT | Abteilung Netzwerk
Charit? - Universit?tsmedizin Berlin
Campus Benjamin Franklin
Hindenburgdamm 30 | D-12203 Berlin
Tel. +49 30 450 570 155 | Fax:
2007 Mar 07
5
hwo can i get a vector that...
dear all,
how can i get a vector that shows the number of the column of matrix
that contains the maximum of the row ??
can?t believe in need a loop for this...
i have a 100 x 3 matrix and want to get a 100 x 1 vector with values
1,2,3 .
there must be a simple solution. i just cannot find it. i think am
searching on the wrong end.
thx for help in advance.
m.
2008 May 09
4
Code freeze, or catching up with new features
wine has evolved too much in the recent years. and with the evolution new features have come.
but unfortunately a program that tries to emulate a vast and complex system as windows are,has come to a point which it has flooded with bugs and "temp code".
So the code freeze is a refreshing point which allows the programmers - contributors to polish their code so it can take more
2007 Jun 06
6
p-value from GEE
Hi to all,
I found in the R-help archive how to calculate the p-value for a gee result:
http://finzi.psych.upenn.edu/R/Rhelp02a/archive/74150.html
but there are two questions (I am afraid they are basic questions ...)
1. why is the result multiplicated with 2
2. how could I decide between lower.tail =TRUE and FALSE:
example:
2006 Dec 13
3
How to temporarily unload modules.
Hi,
In what Asterisk file can I edit for me to temporarily unload such modules. But later I woudl still be able to load them.
Thanks
Angel
____________________________________________________________________________________
Yahoo! Music Unlimited
Access over 1 million songs.
http://music.yahoo.com/unlimited
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2007 Feb 16
4
Ideas for rails
Here are a few suggestions, wondering what others thought:
When you generate a model for a DB table, it would be nice if the
model.rb contained the DB schema (kind of like # commented out schema)
right in the model file. This would make reference WAY easier and put
all of the DB stuff in one easy file. Thanks.
also nice, of course, woudl be for rails to try and ''guess'' the
2015 Aug 01
3
centos 6 and mailman and dmarc
so... I've got some mailman lists running on centos 6. apparently c6
has mailman 2.1.12, which is far too old to have the dmarc patches
(introduced in 2.1.16 and updated in 2.1.??, so of course, I'm having
ongoing issues with yahoo/sbc/att/aol/etc subscribers and bouncing
messages ending up causing 30%+ of my subscribers not to be able to get
mail. These are mostly non-technical
2012 Jun 08
1
dovecot ignores entries in virtual_alias_maps when using dovecot lda
hello list,
i need help. dovecot dont look into my virtual_alias_maps .
i set via postzfixadmin an alias postmaster at domain.tld to
newmail at domainother.tld.
when i send mails to postmaster at domain.tld mails are rejected. dovecot
authworker tells
me in log: user unknown.
but i can request the data via postmap -v -q postmaster at domain.tld
mysql:/etc/postfix/mysql_virtual_alias.cf
and get
2004 Nov 29
1
authentication problem pam_mount
The setup is a samba server with mixed clients (samba clients and
windows clients).
The problem,
I want the linux client to mount there home to their home share on the
server. The problem is, I have followed the guide mentioned below and
everything works except that the linux usernames have the format
domeinnaam+username as a result of which pam_mount wants to mount
2010 May 10
6
feedback on a few ActiveSupport::Multibyte patches
Hi all,
In response to Rodrigo Rosas''s message about mb_chars.upcase not
giving the expected result on 1.9, I''ve done some work in a fork to
make String#mb_chars always return an instance of a proxy class, both
with Ruby 1.8 and Ruby 1.9. The end result of the patch is
(hopefully) to make Rails'' multibyte functionality behave the same way
in 1.8.7 and 1.9.x.
2017 Jan 27
3
yum adding 7.3 packages to 7.2 system
My system is 7.2.1511.
When I run "yum update", it wants to install about
900 packages total. Most are labeled just "el7".
A few "el7_1" and a lot are "el7_3" or 7.3.
None are 7.2.
I'm not surprised when I see 50-100 packages needing
an update. But 900? And none specific to the
installed system?
My last update, of 4 packages, was Dec 31, 2016.
I