Hadley Wickham refactored roxygen, making it more maintainable and
robust; the changes are so significant that we decided to nominate it
roxygen2:
http://cran.r-project.org/web/packages/roxygen2/index.html
Some highlights:
* it's faster;
* usage has been improved (the @usage tag should be
I'm parallelizing some computation on hierarchical data, and would
find it natural to do something like this (where a call to parLapply
is embedded in outer call to parLapply):
cl - makeCluster(rep.int('localhost', 5),
type='SOCK')
clusterExport(cl, 'cl')
parLapply(cl,
Quoth Martin Morgan on Boomtime, the 29th of Discord:
It seems like it would be hard to think about the tasks that are
being executed, how many processes there are, how load balancing
works, etc.
A flat representation of our nested data is, alas, too large to
contain in memory; and dynamically
In principle, I'd like to be able to do something like this:
sge.parLapply(seq(10), function(x) parLapply(seq(x), function(x) x^2))
In practice, however, I have to resort to acrobatics like this:
sge.options(sge.remove.files=FALSE)
sge.options(sge.qsub.options='-cwd -V')
As of R 2.10.0, the plain text is generated by the tools::Rd2txt function
from the same source as the HTML, i.e. the parsed Rd files stored in the
.rdb file in the package help directories.
It looks as though ESS is the problem here, but I don't really know what it
is doing that could
We don't support Cygwin builds; that could be part of your problem. The
only supported builds on Windows are using MinGW.
Ah; indeed, that /is/ the problem. Works fine from MinGW. If I have
some time, maybe I can investigate and submit a patch.
__
This seems to be plain text help, right?
It is.
Does the html version give the same result?
Interestingly, the html seems to be whole; but it's less convenient to
access from ESS, though.
Do you know what program generates the plain text; and are there any
options that govern where R looks
I'm trying to diagnose a bizarre problem in which the help files
invoked from R are partially defective. help(), for instance, is
missing the Description, Arguments and See Also sections; as are help
files for other commands (see below).
I've built 2.8.1, 2.10.1 and HEAD with the same results; do
We're pleased to announce that Henning Redestig finally implemented
ESS support for Roxygen:
http://www.metabolome.jp/download/ess-roxy/ess-roxy.el/view
ess-roxy includes paragraph fill, hiding, template generation, etc.
__
R-help@r-project.org
I would also wish for a better (online) documentation, as I think the
general idea of roxygen is great.
I agree completely.
Good call; the vignette is terse and outdated. Manuel and I are in the
process of preparing a paper based on our DSC talks; that should fill
in some of the details
Quoth Wensui Liu on Boomtime, Chaos 22, 3174:
I really have headache when I do google search for information about
R.
Adding `site:r-project.org' (no quotes) will get you official docs,
`site:stat.ethz.ch' will get the mailing lists; for instance:
site:r-project.org markov chain
or:
Quoth ronggui on Boomtime, Chaos 22, 3174:
Have you tried http://www.rseek.org/ ?
That's great, ronggui; looks like they do some things I tried on an
ad-hoc basis:
* site:r-project.org
* filetype:r
* etc.
but save a lot of typing. Thanks.
Quoth HAILE A. on Sweetmorn, Chaos 16, 3174:
Is it possible to interface R with 4D?
Thank you very much for a fast answer.
Like the Law of Fives, it depends very much on the ingenuity of the
user; how's that for a fast answer?
__
R-help@r-project.org
Quoth Mark Wardle on Prickle-Prickle, Chaos 14, 3174:
I can see that f(b - 10) is equivalent to f(assign(b), 10))
f(assign(b, 10))?
My undestanding is that assign applies to the parental environment;
but the return value of assign, namely 10, is passed to f as the local
variable a.
The default
I append the function below, along with some other simple
linear-algebra functions.
I never thanked you, by the way, John; have you considered incurring
the overhead of producing a formal R package?
Otherwise, it's worth its SLOC in gold.
__
15 matches
Mail list logo