Displaying 20 results from an estimated 9000 matches similar to: "ESS (emacs speaks statistics) saving history"
2013 Feb 14
3
list of matrices --> array
i'm somehow embarrassed to even ask this, but is there any built-in
method for doing this:
my_list <- list()
my_list[[1]] <- matrix(1:20, ncol = 5)
my_list[[2]] <- matrix(20:1, ncol = 5)
now, knowing that these matrices are identical in dimension, i'd like
to unfold the list to a 2x4x5 (or some other permutation of the dim
sizes) array.
i know i can initialize the array, then
2012 Nov 14
2
vectorized plotmath expressions via substitute()
hi all - i've seen versions of this question before, but none seem to get
directly at my solving my (probably very simple) issue:
i simply want to annotate the tick marks on an axis with (superscripted)
10^x notation, and tried this:
axis(1, at = axTicks(1), as.expression(substitute(10^foo, list(foo =
axTicks(1))))
thinking the as.expression/substitute would create the appropriate
2009 Sep 27
2
dimension-preserving matrix coersion
i've written a function to coerce a matrix (e.g. from numeric to
logical), but i'd like to know if someone has a more elegant method
for this:
> m <- matrix(c(0, 1, 1, 0), ncol = 2)
> m <- as.logical(m)
> m
[1] FALSE TRUE TRUE FALSE
i'd like 'm' to still be a matrix with the original dimensions. in my
function to do this, i coerce 'm' to a logical,
2010 Jul 16
2
aggregate(...) with multiple functions
hi all - i'm just wondering what sort of code people write to
essentially performa an aggregate call, but with different functions
being applied to the various columns.
for example, if i have a data frame x and would like to marginalize by
a factor f for the rows, but apply mean() to col1 and median() to
col2.
if i wanted to apply mean() to both columns, i would call:
aggregate(x, list(f),
2000 Aug 11
0
Emacs Speaks Statistics (ESS) BOF at JSM
>
> Date: Fri, 11 Aug 2000 15:34:01 -0400
> From: Rodney Sparapani <rodney at stat.duke.edu>
> Subject: Emacs Speaks Statistics (ESS) BOF at JSM
>
> Statisticians:
>
> For those of you going to the JSM in Indy next week, we are having an
> Emacs Speaks Statistics (ESS) BOF Monday, August 14th, 5:30 at the Hyatt
> in Salon A. Please bring along your comments,
2013 Jan 20
2
"user units" in plotrix
hi all - i'm having some difficulty figuring out how to convert
between "user units" (which i can't find a definition for in the
plotrix package) and either (a) device units (e.g. inches with PDFs)
or (b) user coordinates along any particular axis.
as an example, suppose i set up a PDF device with inches, the device
has both outer and inner magins, and the plot region has
2014 Oct 27
1
proper use of reg.finalizer to close connections
Hi all, I have a question about finalizers...
I have a package that manages state for a few connections, and I'd
like to ensure that these connections are 'cleanly' closed upon either
(i) R quitting or (ii) an unloading of the package.
So, in a pared-down example package with a single R file, it looks
something like:
##### BEGIN PACKAGE CODE #####
.CONNS <- new.env(parent =
2004 Apr 28
0
Emacs Speaks Statistics version 5.2.0 has been released
Emacs Speaks Statistics (ESS) version 5.2 is available for download
at:
http://www.analytics.washington.edu/downloads/ess/ess-5.2.0.tar.gz
or
http://www.analytics.washington.edu/downloads/ess/ess-5.2.0.zip
Changes since 5.1.24 are listed below.
Thanks,
The ESS Core Team.
Changes/New Features in 5.2.0:
* ESS[BUGS]: new info documentation! now supports interactive
processing thanks to
2004 Apr 22
0
Release candidate (5.2.0rc3) of Emacs Speaks Statistics
We are almost ready to release Emacs Speaks Statistics (ESS) version
5.2. A release candidate, 5.2.0rc3, is available at:
http://www.analytics.washington.edu/downloads/ess/ess-5.2.0rc3.tar.gz
or
http://www.analytics.washington.edu/downloads/ess/ess-5.2.0rc3.zip
If you know of any release-critical bugs, please report them with
Emacs using "M-x ess-submit-bug-report". If no bugs are
2010 Jul 28
1
specifying an unbalanced mixed-effects model for anova
hi all - i'm having trouble using lme to specify a mixed effects
model.
i'm pretty sure this is quite easy for the experienced anova-er, which
i unfortunately am not.
i have a data frame with the following columns:
col 1 : "Score1" (this is a continuous numeric measure between 0 and
1)
col 2 : "Score2" (another continuous numeric measure, this time
bounded between 0
2009 Oct 25
2
Help with history() in Emacs/ESS
Hi Everyone,
I am a beginner running R 2.9.2 under Ubuntu and typically use Emacs w/ESS.
However, I am confused with history() command. When I issue command
history() in Emacs within an R session, this is what get:
> history()
Error in savehistory(file) : no history available to save
Similarly, history(max=10) command gives the same error message.
However, there is this In/Out Menu in the
2010 Oct 18
0
Any demand for a useR 2011 tutorial on Emacs Speaks Statistics?
Dear all,
I'm thinking of organising a tutorial on Emacs Speaks Statistics (ESS)
for next year's useR meeting.
http://www.warwick.ac.uk/statsdept/useR-2011/
Tony (Rossini) organised one a few years ago which covered the following
topics:
\begin{enumerate}
\item Introduction (now, 15 minutes)
\item Using Emacs (45 minutes)
\item Using ESS (60 minutes)
\item Exercise 1: ESS
2009 Sep 15
2
wilcox.test p-value = 0
hi, folks,
how have you gone about reporting a p-value from a test when the
returned value from a test (in this case a rank-sum test) is
numerically equal to 0 according to the machine?
the next lowest value greater than zero that is distinct from zero on
the machine is likely algorithm-dependent (the algorithm of the test
itself), but without knowing the explicit steps of the algorithm
2011 May 03
1
bootstrap vignette construction and package installation
hi all - i'm trying to 'R CMD build' a package, but i have what
appears to be a bootstrapping problem:
i've included a vignette in my package, with R code interwoven (and
built using Sweave), but in this documentation i have a code line:
> library(MyPackage)
now, when trying to build a .tar.gz install-able version of my package
in a clean state, i remove the original
2006 Mar 11
1
ESS, transcripts, and such
> From: Duncan Murdoch <murdoch at stats.uwo.ca>
> To: ramasamy at cancer.org.uk
> Date: Fri, 10 Mar 2006 08:33:09 -0500
> Subject: Re: [R] To improve my understanding of workspaces
> Other than Emacs, I use the same work habits as Adai. An advantage of
> this workflow is that almost everything is stored in text format, so it
> is easy to compare different versions to
2002 Mar 13
2
How useful is iESS mode for emacs?
I would like some feedback about how useful is the iESS mode to run R in
Xemacs/emacs?
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch
2010 Jul 11
1
difficulty with R expressions in text/legend
hi, i'm trying to prepend some plain (i.e. unevalutated) text to a
typographically evaluated R expression in a legend(...) call.
here's a working legend(...) call that is close to what i'd like
(where x and y are returned from an lm(...) call):
legend("topleft", legend = c(bquote(R^2 == .(summary(x)$r.squared)),
bquote(R^2 == .(summary(y)$r.squared))), fill =
2010 Jun 28
1
advice on package devel with external libs
hi all - i'm working on an R package that makes use of my own shared
library written in C.
but i also am making use of another C-written library.
(my package is for facilitating biological namespace translations via
online (i.e. up-to-date) biological databases.)
problem is, the library i'm using is not a standard library (i.e. i
doubt it will be installed on most users' machines).
i
2008 Jul 30
5
History pruning
Hi,
I find that a typical workflow for me looks something like this:
1) import some data from files
2) mess around with the data for a while
3) mess around with plotting for a while
4) get a plot or analysis that looks good
5) go back through my history to make a list of the shortest command
sequence to recreate the plot or analysis
6) send out that sequence to colleagues, along with the
2010 Oct 04
1
source package build/installation with subdirectory-lib
hi all - i have a source package i'm writing that i'd like to be able
to install with a special library that my R src files rely on.
to be more precise, i have a normal R package directory structure
(i.e. src/ R/ man/ DESCRIPTION NAMESPACE etc.).
i also have another directory here called depPkg, and it has it's own
configure file for the canonical './configure && make