Hi all,
Situation:
there is a function `f' already defined by someone and
provided in package. `f' looks like that:
f - function() {
x+1
}
i.e. `f' is not closed i.r.t. term `x'
now I have my own function `g', where I'd like
to override variable `x' while calling `f':
x -
Please follow the posting guide and do your homework before
posting,
1. my last homework in university was done a lot of years ago.
2. I always try to follow posting guide.
An object of the same type of 'x'. but if an element is equal to
one with a smaller index, it is removed.
Hi all,
my colleagues deal with tables, where every factor is
represented in two columns. The first column contains some
numeric codes and the second contains the corresponding
symbolic name. For example:
ISEXSSEX
0 Female
1 Male
0 Female
0 Female
...
another
Hi Petr,
Thank you for your reply.
Factor - function(f,n, decreasing=TRUE, ...) {
ooo-order(levels(factor(n)), decreasing=decreasing)
my.order-levels(factor(f))[ooo]
factor(f, levels=my.order)
}
it works incorrectly. Indeed, let's apply with your Factor:
unames - c(thousands, units,
Hi all,
What is the right portable way to save graphics
in batch mode?
Remarks:
1. Problem is STFWed and RTFMed. In particular a short note
about png() is found in R-FAQ. In fact, there were stated
that png() is not reliable under Linux in batch mode.
2. savePlot under windows
pdf(onefile=FALSE)
plot()
plot()
plot()
dev.off()
oh, nice hint. The following:
pdf(file=aaa%02d.pdf, onefile=FALSE)
is very close to compromise, thank you, Chunk!
--
Valery.
__
[EMAIL PROTECTED] mailing list
An simpler alternative to code would be to allow one to
eval-chunk-and-step, stepping through chunks, similar to C-c C-n for
stepping through lines. Would this solve the basic problem? 3 x (2
or 3 keystrokes) for 3 chunks.
hm, not really ideal...
I can't imagine an evaluation which would
Is selecting and 'C-c C-r'-ing the 3 chunks separately that bad?
Yes. The UI should take care of it for him.
right.
Others may have better suggestions.
A bit more work on the chunk evaluation approach within Emacs is one;
it almost does what is needed, but not quite.
why almost,
hi tony,
What exactly do you mean by this?
1. generation of Sweave-style docs from R programs or interaction?
neither (if i correctly interpret your question).
2. tools for doing docs and analysis at the same time? Emacs Speaks
Statistics has supported this with R since last century
Hi devels,
i did not find at this page:
http://developer.r-project.org/ideas.txt
any ideas concerning incorporating documentation
possibilities (say, Sweave-based) into R-scripts.
Was it discussed already?
(If discussed, then what is the decision/conclusion then?)
thanks,
See the 'Writing R Extensions' manual, specifically
Creating R Packages - Writing package vignettes
thank you, i saw this entry. However, this entry is rather
about how to include documents (in particular Sweave-based)
into a package. But I have meant smth else.
Let me explain in example.
Hi All,
I have looked through the following thread:
http://tolstoy.newcastle.edu.au/R/help/02b/4551.html
and would like to ask after 1.5 year the same question:
Are there any plans to involve multithread
computations in R?
Few word about my motivation:
I use R on my OpenSSI
Hi R-developers,
R (unlike say C++) is rather interactive/interpreter language
with some high-order functions support. There is a nice project,
which able to bring exactly these type of language implementations
to a next performance level. I mean LLVM (http://llvm.cs.uiuc.edu/)
LLVM
Hi All,
We'd like to use functions provided in R in our application.
Our application is written in C/C++ and currently runs on
win32, Linux and Mac. We'd be happy to attach the whole
R ( i.e. not just transfer some function by hand).
The important detail is that we deal with big amount
Hi All,
We'd like to use functions provided in R in our application.
Our application is written in C/C++ and currently runs on
win32, Linux and Mac. We'd be happy to attach the whole
R ( i.e. not just transfer some function by hand).
It is important that we deal with big amount of
15 matches
Mail list logo