Displaying 20 results from an estimated 3000 matches similar to: "X11 not available"
2003 Sep 08
1
png support
Hi all,
It's me again with compiling questions :)
Even though I have libpng and zlib:
rpm -q libpng
libpng-1.2.2-8
and
rpm -q zlib
zlib-1.1.4-8.8x
my newly-compiled R doesn't support png.
> No png support in this version of R
Anyone knows why?
Thanks,
-Jose
--
Jose Quesada, PhD.
quesadaj at psych.colorado.edu Research associate
http://lsa.colorado.edu/~quesadaj
2001 Jan 09
2
PAM clustering (using triangular matrix)
Hi,
I'm trying to use a similarity matrix (triangular) as input for pam() or
fanny() clustering algorithms.
The problem is that this algorithms can only accept a dissimilarity
matrix, normally generated by daisy().
However, daisy only accept 'data matrix or dataframe. Dissimilarities
will be computed between the rows of x'.
Is there any way to say to that your data are already a
2004 Dec 01
2
rank in descending order?
Hi,
Is there any simple solution to get ranks in descending order?
Example,
a <- c(10, 98, 98, 98, 99, 100)
r <- rank(a, ties.method="average")
produces
1 3 3 3 5 6
I would want this instead:
6 5 3 3 3 1
Note that reversing r doesn't work but in small examples.
Thanks,
-Jose
--
jquesada at andrew.cmu.edu Research associate
http://lsa.colorado.edu/~quesadaj Dept. of
2004 Jul 23
6
R on AMD64 (Opteron)
Hi,
I was wondering if anyone has had good experiences using R on Linux with dual AMD64 (Opteron) processors. I'm thinking of buying a couple of such servers, but I'd like to make sure R would work fine.
The "R Installation and Administration" guide notes that there may be some problems with BLAS libraries. That's all I could find about R on AMD64.
Please share your
2008 Jun 04
1
problem pasting into Illustrator CS2
To Whom it May Concern:
I have been using R version 2.6.2 for awhile now, installed on a
PowerMac G5 running OS 10.4.11 I typically get Quartz graphics
output from R into Adobe Illustrator CS2 simply by copying and
pasting. Upon upgrading to R version 2.7.0, I now receive an error
from Illustrator when trying to paste R generated graphics from the
Quartz window into Illustrator. I do
2006 Apr 27
3
gmane?
Hi All,
I recently found gmane
http://gmane.org/
It's a system to covert mail to news and back, with the nice property of
keeping
a searchable archive... Very convenient if you are subscribed to many lists
and
don't want to have your mail box cluttered. I use it to read several mailing
lists already, but R is not available there.
I wonder if the admins know about gmane and if they
2008 Nov 09
1
Help on performing multiple chi-square tests
Hi,
I am new to R and I need to perform multiple chi-square tests. I
manage to perform one at a time, but is there a specific command
to do multiple tests?
For example, I have a table that looks like this:
Marker Treatment Genotype1 Genotype2 Genotype3
1 A 23 57 32
1 B 43 59 12
...
...
n A ## ## ##
n
2007 May 07
3
like apply(x,1,sum), but using multiplication?
Hi,
I need to multiply all columns in a matrix so something like
apply(x,2,sum), but using multiplication should do.
I have tried apply(x,2,"*")
I know this must be trivial, but I get:
Error in FUN(newX[, i], ...) : invalid unary operator
The help for apply states that unary operators must be quoted. I tried
single quotes too, with the same results.
Thanks,
-Jose
--
Jose
2006 May 04
1
plot greek letter in italic
Hi,
Could someone please let me know how to plot greek letters in italic.
text(0,14,expression(italic(rho)[italic(f)])) only plots the f in italic and
text(37,40,expression(italic(rho))) doesn't plot rho in italic.
I have checked demo(plotmath), ?plotmath, FAQ, and the archives
2004-2006 without finding the answer.
I'm using R 2.1.1. and Windows XP.
Thanks!
Tord
--
Tord Sn?ll
2007 Jun 19
1
Matrix library error: "should never happen; please report"
Hi,
I got the following error. Sorry but this time I couldn't reproduce it
with a simple chunk of code:
.TM.repl.i.2col(): drop 'matrix' case ...
Error in .nextMethod(x = x, i = i, j = j) :
'i' has no integer column number should never happen; please report
In addition: Warning messages:
1: Ambiguous method selection for "%*%", target
2008 Dec 06
1
R vs Python performance-wise
Hi,
Has anyone run any R vs Python (numpy) tests?
I'd love to see what the differences performance-wise are, specially
handling large sparse matrices.
Since both rely on external C code, there might not be much of a
difference.
If you know and use both languages, what are the main differences and what
made you stick to one over another?
I also noticed that there are strong libraries
2009 May 27
3
alternative to built-in data editor
Hi all,
I often have to peek at large data.
While head and tail are convenient, at times I'd like some more
comprehensive.
I guess I debug better in a more visual way?
I was wondering if there's a way to override the default data editor.
I could of course dump to a txt file, and look at it with an
editor/spreadsheet, but after doing it a few times, it gets boring.
Maybe it's time for
2009 Oct 24
1
operations on sparse matrices, and dense intermediary steps
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
I'm doing some basic operations on large sparse matrices, for example
getting a row.
it takes close to 30 seconds on a 3Ghz machine, and shots the memory
usage up to the sky.
I suspect there are dense intermediary steps (which, if true would
defeat the purpose of trying to use sparse representaitons).
As much as I try understanding the
2007 May 15
1
Matrix package: writeMM
Hi,
I'm finding that readMM() cannot read a file written with writeMM().
Example:
library(Matrix)
a = Matrix(c(1,0,3,0,0,5), 10, 10)
a = as(a, "CsparseMatrix")
writeMM(a, "kk.mm")
b = readMM("kk.mm")
Error in validObject(.Object) : invalid class "dgTMatrix" object: all row
indices must be between 0 and nrow-1
Thoughts?
Thanks,
-Jose
--
Jose
2009 Mar 10
1
using chm help files under linux
Hi,
Chm (compiled help) is a microsoft invention. It's the default help
system under windows, but not so under linux.
I found that (at times) I like better how chm help looks.
Since there are chm viewers under linux, using chm help files should
be possible.
Has anybody tried to set R so it opens chm by default? I'm sure
there's some flag or Rprofile var that could get this done.
2004 Jun 29
1
PAM clustering: using my own dissimilarity matrix
Hello,
I would like to use my own dissimilarity matrix in a PAM clustering with
method "pam" (cluster package) instead of a dissimilarity matrix created
by daisy.
I read data from a file containing the dissimilarity values using
"read.csv". This creates a matrix (alternatively: an array or vector)
which is not accepted by "pam": A call
2007 Jan 23
3
[fixed] vectorized nested loop: apply a function that takes two rows
(Extremely sorry, disregard previous email as I hit send before pasting the latest version of the example; this one is smaller too)
Dear R users,
I want to apply a function that takes two vectors as input to all pairs
(combinations (nrow(X), 2))of matrix rows in a matrix.
I know that ideally, one should avoid loops in R, but after reading the docs for
do.call, apply, etc, I still don't know
2007 Jan 23
3
[fixed] vectorized nested loop: apply a function that takes two rows
(Extremely sorry, disregard previous email as I hit send before pasting the latest version of the example; this one is smaller too)
Dear R users,
I want to apply a function that takes two vectors as input to all pairs
(combinations (nrow(X), 2))of matrix rows in a matrix.
I know that ideally, one should avoid loops in R, but after reading the docs for
do.call, apply, etc, I still don't know
2009 Jun 07
2
Scrolling behavior in View()
Hi,
I've realized that the scrolling behavior in View() is unlike most other
applications. It seems that the minimum scroll size is very large for
large objects( i.e., a vector of 1M integers), and it might be that this
scroll is proportional to the size of the object.
Try this:
a = 1:1000000
View(a)
Click once on the scroll arrow down. It will move to item 1001.
It could be that the scroll
2009 Mar 16
2
R-code in html help pages: syntax highlighting
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
A follow up to my previous post. It'd be good to have syntax
highlighting in the html help pages. There is highlight
(http://www.andre-simon.de/) which seems to be open source. Since code
is delimited in the help file format, it should not be too difficult
to run a highlighting program (actually, vim and emacs do this too)
recursively and