Displaying 20 results from an estimated 5000 matches similar to: "colSums etc. documentation (PR#2545)"
2003 Jan 13
1
Rprofile.site assignments occur in base package (PR#2448)
Not sure whether this is a feature or bug -- but it does not appear to be
documented.
R1.6.1 on Windows NT 4.00.1381
Objects assigned in the Rprofile.site file (e.g. foo<-'something') are put
into package:base not .GlobalEnv on startup. Objects assigned in the
.Rprofile file are put into .GlobalEnv. This doesn't seem consistent to me.
The objects exist in base only for the
2003 Apr 22
2
Weird Windows startup menu display problem in 1.7.0 (PR#2817)
Folks:
Winnt; R1.7.0 (freshly installed) running under Rgui.exe.,MDI=yes.
The following is repeatable:
On startup, in my Rprofile.site file, I use winMenuAdd() etc. to install
some user menus. However, they do not appear when R GUI window opens. If I
minimize and restore the window, the added menus now are present.
The exact same procedure under 1.6.2 with exactly the same Rprofile.site and
2003 Jan 16
2
Built-in R GUI type features
All:
The select.list() command brings up a "modal dialog box with a (scrollable)
list of items ..." etc. -- i.e., a GUI control. I also know about winDialog,
file.choose and the winMenu commands. What other such GUIisms are built into
** base ** R (I know about the tcltk package)? Or, better yet, how can I
search on or list them?
Many thanks.
Bert Gunter
Biometrics Research RY 84-16
2003 Jan 31
3
Decreasing my personal entropy ...
R-Listers:
A very minor -- and maybe silly -- question just for personal enlightenment.
In S (either R or S-Plus, AFAIK) when one types or pastes a trellis graphics
command into the commands/console window, the graph is automatically
produced:
e.g.,
trellis.device(...)
xyplot(y~x)
If one puts these in a function and calls the function, the same occurs.
However, if one sources in these command
2003 Jan 03
3
save bug (PR#2418)
My apologies if these are known -- I'm new to R (moved over from S-Plus).
All on Windows NT GUI, R1.6.1 and associated packages.
1. save(x) gives the following error message:
Error in save(x) : `file' must be non-empty string
According to the save() help file, the empty string is the default.
2. In the file>Display file GUI menu, if you try to display a file that is
in use by
2003 Jan 16
1
file.choose (PR#2465)
R1.6.2 winnt.
file.choose() gives an error if the dialog is cancelled without choosing a
file. This can be easily dealt with via try(), but I would have thought that
a NULL or NA return would be the expected behavior.
Cheers,
Bert Gunter
Biometrics Research RY 84-16
Merck & Company
P.O. Box 2000
Rahway, NJ 07065-0900
Phone: (732) 594-7765
mailto: bert_gunter@merck.com
"The business of
2001 Dec 14
2
colSums in C
Hi, all!
My project today is to write a speedy colSums(), which is a function
available in S-Plus to add the columns of a matrix. Here are 4 ways to do it,
with the time it took (elapsed, best of 3 trials) in both R and S-Plus:
m <- matrix(1, 400, 40000)
x1 <- apply(m, 2, sum) ## R=16.55 S=52.39
x2 <- as.vector(rep(1,nrow(m)) %*% m) ## R= 2.39 S= 8.52
x3 <-
2003 Oct 02
0
RE: [S] lme vs. aov with Error term
Hi Bert,
Thanks for the suggestions. I tried lme with different
control parameters, and also tried using "ML", instaed
of "REML", but still got the same answers.
Yes, I hope some gurus on this list could give me some
hints.
Thanks
--- "Gunter, Bert" <bert_gunter at merck.com> wrote:
> But they are close. This is almost certainly a
> numeric issue --
2002 Jan 07
0
New package: colSums
I've uploaded a package colSums_1.0.tar.gz to CRAN /src/contrib/Devel. It
contains functions colSums, colMeans, colVars, colStdevs, rowSums, rowMeans,
rowVars, and rowStdevs. These do simple, fast arithmetic on columns/rows of a
matrix, or more generally across dimensions of an array, e.g. colSums(m) =
apply(m, 2, sum) but faster. They should be compatible with the corresponding
S-Plus
2003 Sep 14
1
Documentation of colSums et. al (PR#4154)
Full_Name: Doug Grove
Version: 1.7.0
OS: Linux
Submission from: (NULL) (209.31.211.56)
Hi,
Minor mistake in the documentation on the colSums page.
In the ARGUMENTS section it states for 'dims' that:
For `col*', the sum or mean is over dimensions
`dims+1, ...'; for `row*' it is over dimensions `1:dims'.
These two are reversed.
Thanks,
Doug Grove
2004 Jun 09
1
Re: R equivalent of Splus rowVars function
Mark Leeds <mleeds at mlp.com> wrote (to S-News):
> does anyone know the R equivalent of the SPlus rowVars function ?
Andy Liaw <andy_liaw at merck.com> replied:
> More seriously, I seem to recall David Brahms at one time had created an R
> package with these dimensional summary statistics, using C code. (And I
> pointed him to the `two-pass' algorithm for variance.)
2001 Oct 03
8
Several R vs S-Plus issues
Hi, all,
I've been converting code from S-Plus ("S" for short) to R for a few weeks.
Here are some differences I've found, aside from the big well-known ones
(scoping, models, data storage) and the contents of Kurt Hornik's FAQ section
3.3.3. Let me start with the ones that seem like serious bugs or deficiencies:
1) LETTERS[c(NA,2)] in S is
2001 Oct 03
8
Several R vs S-Plus issues
Hi, all,
I've been converting code from S-Plus ("S" for short) to R for a few weeks.
Here are some differences I've found, aside from the big well-known ones
(scoping, models, data storage) and the contents of Kurt Hornik's FAQ section
3.3.3. Let me start with the ones that seem like serious bugs or deficiencies:
1) LETTERS[c(NA,2)] in S is
2003 Mar 28
3
make check still fails with 1.7.0beta (3/27/2003)
Dear R-devel,
I grabbed 1.7.0 beta from today. "make check" still fails at base-Ex.R.
The last few lines of the output are:
> lsf.str()#- how do the functions look like which I am using?
Error in exists(nam <- nms[i], envir = envir, mode = mode) :
F used instead of FALSE
Execution halted
Looks like the same problem as before, but at a different place.
Mandrake Linux
2003 Jan 29
2
browser() misbehavior ?
Under v1.6.2, Windows NT4 OS, when a function contains an execution error
and I have placed browser() in inside the function body, the call to browser
is ignored. A brief example to illustrate:
> foo <- function(x) {
+ y <- x ^ 2
+ browser()
+ foo2(x) ## Intentional error
+ x ^ 3
+ }
>
> foo(30)
Called from: foo(30)
Browse[1]>
Error in foo(30) : couldn't find
2002 Feb 22
1
c-c problem when R compiled with pthread
Dear R-devel,
I've run into this problem that when I hit c-c to interrupt a command or
computation, the R session just ends.
The info: R-1.4.1 compiled from source on Linux Mandrake 7.1. Dual P-3 Xeon
with 2GB ram.
1. Compiled R with link to Intel Math Kernel Library (for fast BLAS), which
needed pthread. C-c at the R prompt ends the R session.
2. Compiled R with link to (threaded)
2002 Oct 04
1
items in Rd file
Dear R-devel,
I'm encountering a strange problem in a Rd file that I'm working on. In the
"Value" section, I have something like:
=====================
\value{
An object of class \code{randomForest}, which is a list with the
following components:
\item{call}{the original call to \code{randomForest}}
...
For classification problem, the following are also included:
2003 Apr 23
2
changing dir. to network drive crash Rgui on NT4 ( PR#282 8)
This is interesting: The crash does not happen if I run
Rgui in MDI mode. The crash seemed to only occur in SDI.
Andy
===========================================================
For the record:
Under Rgui, using the menu "File / Channge dir..." to change
to a network drive crashes rgui. The crash happens if I
browse to a folder on a mapped drive. I.e., if I type in
2003 May 09
3
Re: R-help Digest, Vol 2, Issue 26
With the same system configuration (WinNT4 SP6 and 1.7.0), I get such a Dr
Watson crash each time I try to use the Change dir... command in the File
menu of Rgui.exe. I doesn't seems to happen if I do this immediately after
starting R but well if I already did some computation.
I don't have any problem by using directly setwd().
At 12:10 23/04/03, you wrote:
>Date: Tue, 22 Apr 2003
2002 Jan 04
0
copy metafile from window() device fails when lattice/grid is (PR#1242)
Dear all,
I'm running into a rather strange problem that hasn't happened before
R-1.4.0. If I make a plot on a window() device, and use the menu to either
save to a metafile or copy to clipboard as a metafile, I get an error
message in the R console:
Error: A metafile can store only one figure.
This only happens when the lattice (and grid) package is attached,
regardless of whether the