Dear all,
perhaps I am using princomp.formula and prcomp.formula in a way that
is not documented to work, but then the documentation just says:
formula: a formula with no response variable.
Thus, to avoid a lot of typing, it would be nice if one could use '.'
and '-' in the formula, e.g.
dear R developers:
May I suggest that you enhance the error message:
Error in "[<-"(`*tmp*`, , curcol, value = c(0.0198881080712288,
0.00889721376726782, :
number of items to replace is not a multiple of replacement length
with information about why this is the case? For example,
Hi Duncan,
I think all ESS users don't use history() because ESS calls R
with "--no-readline" (Unix)
or "--ess" (Windows & Cygwin)
I'd wish that in that case, and probably also in BATCH mode,
timestamp() should write the time stamp prefixed by "##" to the
"R console" (to R's stdout); when
On 3/25/2006 11:30 AM, Martin Maechler wrote:
> Hi Duncan,
>
> I think all ESS users don't use history() because ESS calls R
> with "--no-readline" (Unix)
> or "--ess" (Windows & Cygwin)
>
> I'd wish that in that case, and probably also in BATCH mode,
> timestamp() should write the time st
I would have thought that all 4 of the following
would give the same result (the first):
> gsub("backslash-X", "\\X", "this is a backslash-X", fixed=T)
[1] "this is a \\X"
> gsub("backslash-X", "\\X", "this is a backslash-X", extended=F)
[1] "this is a X"
> gsub("backslash-X", "\\X",
Bernzweig, Bruce (Exchange) wrote:
> When I do t.test on two distributions (see example below), it outputs
> numerous data about the t.test.
>
> What I'd like to do is individually capture some of this data and assign
> it to other variables.
>
> However, I am unable to find anything in the help
On Fri, 24 Mar 2006, Kevin Wright wrote:
> I often use browser() when debugging a function. After entering
> browser, I would find it very useful to be able to cut-and-paste a
> chunk of R code to the browser (or use ess-eval-region in Emacs). An
> inconvenience, however, is that both blank line