On 09/17/2010 09:52 PM, Stephen Liu wrote:
Hi folks,
Debian 504 64-bit
Emacs Version 22.1.1
I have Emacs+ESS running on the box. R can work on ESS. But the fonts on the
menu bar (top) of Emacs are NOT clear, difficult to read, grey foreground. I
have been
googling around for solution withou
Here's one way...
treats <- c("t0", "t1", "t2", "t3")
n <- length(treats)
n2 <- choose(n-1, n-2)
comb <- matrix("", nrow=n*n2, ncol=n-1)
k <- 1
for (i in 1:n) {
comb[k:(k+n2-1), ] <- cbind(treats[i], t(combn(treats[-i], n-2)))
k <- k + n2
}
It doesn't get any marks for conciseness but it shou
Hi folks,
Debian 504 64-bit
What is the correct syntax to check the available of a package on R repo?
> available.packages("emacs", "OS_type=linux")
Warning: unable to access index for repository emacs
Package Version Priority Depends Imports LinkingTo Suggests Enhances
OS_type License
What are you trying to do?
Did you look at the arguments for
the first argument of ?available.packages ?
What did you expect "emacs" to do?
On 09/17/2010 10:20 PM, Stephen Liu wrote:
Hi folks,
Debian 504 64-bit
What is the correct syntax to check the available of a package on R repo?
avai
Hi Erik,
I try to find out whether Emacs/ESS is available on R repo. What is its
versiohn?
B.R.
Stephen L
- Original Message
From: Erik Iverson
To: Stephen Liu
Cc: r-help@r-project.org
Sent: Sat, September 18, 2010 12:01:47 PM
Subject: Re: [R] How to check the available of a packa
Hi Erik,
I have Emacs 22 upgraded to Emacs 23. The latter is available on Debian
backport repo. The menu is very clear and easy to read.
Thanks
B.R.
Stephen L
- Original Message
From: Erik Iverson
To: Stephen Liu
Cc: r-help@r-project.org
Sent: Sat, September 18, 2010 11:08:17 AM
to get mean, sd, min, max, trimmed mean, median,
se, skew, and kurtosis of a matrix or data
frame, try
describe in the psych package.
At 10:41 PM -0300 9/17/10, Henrique Dallazuanna wrote:
Content-Type: text/plain
Content-Disposition: inline
Content-length: 659
Try this:
apply(m, 1, summar
Hi folks,
R on ESS
Why it is unable to pop up help manual on "R on ESS"?
?layout
Error in help("layout", htmlhelp = FALSE) :
unused argument(s) (htmlhelp = FALS
?plot
Error in help("plot", htmlhelp = FALSE) :
unused argument(s) (htmlhelp = FALSE)
etc.
But they work on R console and pop
This is an ESS question, not an R one.
The problem is that the argument names to the function help() have changed in
recent releases of R, and "htmlhelp" is no longer an accepted argument. The
replacement argumennt is now help_type (with default value
getOption("help_type")).
This may have be
Hi,
I am using heatmap.2 of gplots to make heatmaps of my the attached file. I
am giving my code for the same ..
library(gplots)
x=read.table("1.txt", header=TRUE)
mat=data.matrix(x)
heatmap.2(mat, col=greenred(75),
Rowv=TRUE,
Colv=TRUE,
distfun = dist,
hclustfun = hclust,
dendro
Hi,
I am using heatmap.2 of gplots to make heatmaps of my the file. I am giving
my code for the same ..
library(gplots)
x=read.table("1.txt", header=TRUE)
mat=data.matrix(x)
heatmap.2(mat, col=greenred(75),
Rowv=TRUE,
Colv=TRUE,
distfun = dist,
hclustfun = hclust,
dendrogram = c(
Hello Greg and David,
Thank you for your help!
I forgot to write about my Mac OS version.
System Version: Mac OS X 10.6.4 (10F569)
Kernel Version: Darwin 10.4.0
version.string R version 2.11.1 (2010-05-31)
I tried three examples. Here are the results.
Thank you.
*** ex1. comman
101 - 112 of 112 matches
Mail list logo