Sorry for the stupid question, but is there the factorial function in
R? I tried to find it using help.search('factorial') but got nothing
appropriate.
Many thanks,
-Serge
__
[EMAIL PROTECTED] mailing list
http://www.stat.math.ethz.ch/mailman/listinfo
Hi there;
I have the following problem --- Xemacs cannot
correctly parse a path to file when I load it.
I have the following error, reported by Xemacs:
from ess-parse-errors:
Error in file(file, "r") : cannot open file
`u:US-mortalityjuttalexible.r
While the correct file path should be:
u:\US-
Deborah,
Perhaps, a good idea is to use eps output to include it into a LaTeX
document, in this manner you can format and layout your graphics
exactly the way you want.
If you need more information, I'm ready for your disposal.
-Serge
__
[EMAIL PROTECT
Hi there;
In order to convert sting to number I do:
s <- "22"
mode(s) <- "integer" # "double", etc. will do
Is that a "preferred" way?
Many thanks.
-Serge
__
[EMAIL PROTECTED] mailing list
http://www.stat.math.ethz.ch/mailman/listinfo/r-help
Robert Gentleman <[EMAIL PROTECTED]> writes:
>
> If you want hash table behavior you could try using environments (as
> that is really about all that they are). I have been spending some
> time thinking (and a little coding) about a hash table class but it
> is unlikely to appear before the s
Uwe Ligges <[EMAIL PROTECTED]> writes:
>nn.Exp <- substitute(a$b, list(b=nn[1]))
>eval(nn.Exp)
Thanks, Uwe. It does work, but, surely using brackets is better.
-Serge
__
[EMAIL PROTECTED] mailing list
http://www.stat.math.ethz.ch/mailman/listi
I have the following problem. I have an automatically generated named
list with "stringified" names:
a <- list("A"=..., "B"=..., "C"=..., )
then I want to refer to the elements of the list, stored as an vector
of names:
nn <- c("A", "B", "C"), so that I could get list elements like
a$nn[1], a$
Hi there;
Is there a facility to query/get/modify graphics attributes in R? I mean
something similar to Matlab's get/set functions, say in order to get x and
y data in Matlab I use:
h=get(gcf, 'children')
xdata=get(h(1), 'xdata') % get x of the first children
Is there an R's counterpart?
I'm aw