Hello,
I would like to write in a variable the following string :
Hello World
If I do cat(Hello ,\World\), I have the good result on the screen
but it can not be affected to a variable. If I do the same thing with
paste paste(Hello ,\World\) it does not work since \ seems to be
not
Hi
I am using the heatmap function in package mva to look at large
correlation matrices visually.
Is there any way to flip the output of heatmap plot left-right so
that, if presented with a correlation matrix, it plots the unity
elements in the correlation matrix along a diagonal from top left to
Philippe
You seem to have the right answer already, unless I misunderstand...
If I define:
x = Hello \World\
Then the default print method for this character string will give the rather ugly
looking:
x
[1] Hello \World\
But this is just R telling us that it does recognise the escape
On Thu, 11 Sep 2003, Philippe Hupé wrote:
I would like to write in a variable the following string :
Hello World
If I do cat(Hello ,\World\), I have the good result on the screen
but it can not be affected to a variable. If I do the same thing with
paste paste(Hello ,\World\) it does
The paste is doing the right thing -- it is how it is displayed
that matters:
jj - paste(hello, \world\)
jj
[1] hello \world\
cat(jj)
hello world print(jj, quote=FALSE)
[1] hello world
Patrick Burns
Burns Statistics
[EMAIL PROTECTED]
+44 (0)20 8525 0696
http://www.burns-stat.com
(home of S
I hope this this could be of interest for some of you,
Thanks,
Peter Adorjan
Biostatistics Expert (Berlin, Germany)
You will develop and apply statistical techniques for the analysis,
visualization and quality control of high-dimensional and complex
biomedical data sets (mainly DNA
On Tue, 9 Sep 2003 Christoph Lehmann [EMAIL PROTECTED] wrote:
I have the following data
V1 V2
1 -5.800 0
2 -4.800 0
3 -2.867 0
4 -0.867 0
5 -0.733 0
6 -1.667 0
7 -0.133 1
8 1.200 1
9 1.333 1
and I want to know, whether V1 can
My feeling is that heatmap is not the right thing to use on a correlation
matrix. The heatmap function expects a data matrix, and does a two-way
clustering of cases and variables. It tries to rearrange the rows and
columns so that similar colors are closer together. This obviously will not
work
I was trying to install package quantreg in an R session, but I got
the follwing error message:
ERROR: cannot write to or create directory '/usr/lib/R/library'.
Can anyone suggest what I need to do to fix it up?
Swagata Nandi
__
[EMAIL PROTECTED]
On Thu, 11 Sep 2003, Swagata Nandi wrote:
I was trying to install package quantreg in an R session, but I got
the follwing error message:
ERROR: cannot write to or create directory '/usr/lib/R/library'.
Can anyone suggest what I need to do to fix it up?
Use the account you used to
Hi,
I was trying to install quantreg package in an R session, but got the
following error message:
ERROR: cannot write to or create directory '/usr/lib/R/library'
Can anyone suggest what I need to do?
Swagata Nandi
__
[EMAIL PROTECTED] mailing list
On Thu, 11 Sep 2003 07:46:16 -0400, you wrote:
My feeling is that heatmap is not the right thing to use on a correlation
matrix. The heatmap function expects a data matrix, and does a two-way
clustering of cases and variables. It tries to rearrange the rows and
columns so that similar colors
AndyL == Liaw, Andy [EMAIL PROTECTED]
on Thu, 11 Sep 2003 07:46:16 -0400 writes:
AndyL My feeling is that heatmap is not the right thing to
AndyL use on a correlation matrix.
definitely.
AndyL The heatmap function expects a data matrix, and does
AndyL a two-way clustering
You probably do not have permission to write to that directory (and you
need write permission to install a package). I assume you are on Unix?
Either ask your system administrator to install it for you or install it
into a directory where you have permission. For example, I make a
Swagata Nandi wrote:
Hi,
I was trying to install quantreg package in an R session, but got the
following error message:
ERROR: cannot write to or create directory '/usr/lib/R/library'
Can anyone suggest what I need to do?
Swagata Nandi
__
[EMAIL
Thanks, I could install it as superuser.
Swagata.
On Thu, 11 Sep 2003, Roger D. Peng wrote:
You probably do not have permission to write to that directory (and you
need write permission to install a package). I assume you are on Unix?
Either ask your system administrator to install it for
After some off-line discussion I want to correct my earlier
post:
It's clear (even to me ;-) that the idea of reordering columns
(and rows simultaneously for symmetric matrices) and then
image()ing is very appropriate for correlation matrices.
BTW, this has been quite an old idea, going back to
Hi All,
I'd be interested in your opinions of the book
Introductory Statistics with R by Peter Dalgaard
Does it well describe the R object concept, the language itself and
statistical aspects (I am not a statistician)?
thanks for your opinion,
Arne
Hi All
I am really new into R, and I would like to know if it is possible to load a
distance file matrix (lower-triangular) into R and then do a PCA or
Multidimensional Scaling over that matrix.
I would apreciate any help,
Thanks
Diego Riano
--
Diego Mauricio Riano Pachon
Biologist
Institute
On Thu, 11 Sep 2003 [EMAIL PROTECTED] wrote:
I am really new into R, and I would like to know if it is possible to load a
distance file matrix (lower-triangular) into R and then do a PCA or
Multidimensional Scaling over that matrix.
No, yes, as PCA is not defined for a distance matrix but MDS
Hi Diego,
I think that some function from the package ade4 can do this.
F
[EMAIL PROTECTED]
Dear All,
Thanks to all of the individuals who responded to my question regarding
cross-platform compatibility with R.
My problem turned out to be incompatible versions of R on two machines.
I was able to upgrade to consistent
versions of R on my linux and OSX boxes and transfer files and
On Fri, 2003-09-12 at 03:09, [EMAIL PROTECTED] wrote:
Hi All,
I'd be interested in your opinions of the book
Introductory Statistics with R by Peter Dalgaard
Does it well describe the R object concept, the language itself and
statistical aspects (I am not a statistician)?
The title
Dear All;
While using EMclust() in the mclust package, I frequently
encountered a program error. A message window popped up with the message
Rgui.exe has generated errors and will be closed by Windows. You will need
to restart the program. An error log is be created.
version
Yang, Richard wrote:
I apologize for accidentally sent the incompleted message. The crash
relating to memory size. By increasing the memory limit to 512 MB seems to
solve the problem.
Richard
Dear All;
While using EMclust() in the mclust package, I frequently
encountered
On Thu, 11 Sep 2003 15:11:09 -0400, Yang, Richard
[EMAIL PROTECTED] wrote :
Dear All;
While using EMclust() in the mclust package, I frequently
encountered a program error. A message window popped up with the message
Rgui.exe has generated errors and will be closed by Windows. You will
Hi,
We are using R to analyse microarrays datas by ANOVA.
We would like to set up Mixed Model analysis, using the lme function
within the nmle package.
However, we have problem in understanding and getting the right formula to
build a groupedData object which appear to be required for lme to
See ?order.
On Thu, Sep 11, 2003 at 06:45:49PM -0400, [EMAIL PROTECTED] wrote:
What is the best way to sort a dataframe?
__
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help
Hi,
On Thu, 11 Sep 2003 [EMAIL PROTECTED] wrote:
What is the best way to sort a dataframe?
For example, how would I go about sorting a dataframe (with variables V1-V5)
by ascending V1, V2 and descending V3 while retaining V4 and V5.
?sort
Also, is there a relatively easy way by which to
I find that because R functions are call by value, and because there are
no pointer or reference types (a la C++), I am making fairly heavy use
of lexical scoping to modify variables. E.g.
outer - function() {
m - matrix(0, 2, 2)
inner - function() {
m[2,2] - 3
...
}
}
I am not too
On Thu, 11 Sep 2003, Ross Boylan wrote:
I find that because R functions are call by value, and because there are
no pointer or reference types (a la C++), I am making fairly heavy use
of lexical scoping to modify variables. E.g.
outer - function() {
m - matrix(0, 2, 2)
inner -
Thanks for your response. Is good to know that copying is lazy, but I
don't think that fully solves my problems. See below.
On Thu, 2003-09-11 at 17:40, Thomas Lumley wrote:
.
you see that unpacking b from a didn't result in a copy, and that b must
just be a reference to a$m. When b is
You asked, Where and what is Bioconductor... . See: www.bioconductor.org
spencer graves
Ross Boylan wrote:
Thanks for your response. Is good to know that copying is lazy, but I
don't think that fully solves my problems. See below.
On Thu, 2003-09-11 at 17:40, Thomas Lumley wrote:
.
you
On Fri, Sep 12, 2003 at 09:19:06AM +0800, [EMAIL PROTECTED] wrote:
I am a newbie in R project and trying to call prcomp(x) of R function
using (D)COM server communicate with R in ASP, and encountering the error
As a general rule, I found it helpful to disentangle matters:
i) make sure
Hi,
This is Yan from Temple University. I recently read a paper
about SVM and tried to apply it with some dataset in R. I
downloaded a zip file e1071_1.3-12.zip from CRAN and used R
menu to install it. It seemed that the package was installed
successfully. But I failed to load the package and
Hi, all.
I would like to use pipe to run a file through an awk program before
scanning (to reduce the amount of data I'll be taking in). I would like to
construct the awk program in R, and also to be able to set the awk variable
FS, to accommodate different field separators in different files.
36 matches
Mail list logo