Displaying 20 results from an estimated 60000 matches similar to: "submitting binary windows packages"
2002 Feb 20
3
Feature Request: "matrix[1:10,1:10, block=F] <- 1:10"
Hi Guys,
I've again been surprised when something like
> m <- matrix("", nrow=3,ncol=3)
> index_i <- c(2,1,3)
> index_j <- c(1,3,2)
> vals <- c("a","b","c")
> m[ index_i, index_j ] <- vals
> m
gives block-wise application of the assignment:
[,1] [,2] [,3]
[1,] "b" "b" "b"
[2,]
2002 Sep 23
3
New version of gregmisc package
Version 0.6.0 of the gregmisc package has just been released on CRAN.
Description:
===========
Package: gregmisc
Description: Misc Functions written/maintained by Gregory R. Warnes
Title: Greg's Miscellaneous Functions
Version: 0.6.0
Date: 2002/09/23
Maintainer: Gregory R. Warnes <Gregory_R_Warnes at groton.pfizer.com>
Author: Gregory R. Warnes. Includes code provided by Ben
2002 Sep 23
3
New version of gregmisc package
Version 0.6.0 of the gregmisc package has just been released on CRAN.
Description:
===========
Package: gregmisc
Description: Misc Functions written/maintained by Gregory R. Warnes
Title: Greg's Miscellaneous Functions
Version: 0.6.0
Date: 2002/09/23
Maintainer: Gregory R. Warnes <Gregory_R_Warnes at groton.pfizer.com>
Author: Gregory R. Warnes. Includes code provided by Ben
2002 Oct 31
1
Re: gregmisc version 0.7.3 now available
Dear Greg,
Thanks for the new release. The decomposition of the SSQ is just what I need!
Regards,
Martin.
Martin Hoyle,
School of Life and Environmental Sciences,
University of Nottingham,
University Park,
Nottingham,
NG7 2RD,
UK
Webpage: http://myprofile.cos.com/martinhoyle
>>> gregory_r_warnes at groton.pfizer.com 10/30/02 07:16PM >>>
Version 0.7.3 of the gregmisc package
2002 Jan 25
3
make check fails when R_HOME env var set (PR#1284)
When the R_HOME environment variable is set, R issues a warning messages
when it starts up. When doing 'make check' this causes the check for
eval-etc.R to fail:
[...]
make[3]: Leaving directory
`/Volumes/app/R/src/R-1.4.0_patched_2002-01-24/tests'
running strict specific tests
make[3]: Entering directory
`/Volumes/app/R/src/R-1.4.0_patched_2002-01-24/tests'
running code in
2001 May 23
3
RE^2: New generic functions in "R base" {was `truncate'}
> From: Martin Maechler [mailto:maechler@stat.math.ethz.ch]
> Sent: Friday, May 18, 2001 11:30 AM
> To: gregory_r_warnes@groton.pfizer.com
> Subject: RE^2: [Rd] New generic functions in "R base" {was `truncate'}
>
[...]
> Apropos ci() :
>
> There's the very generally useful confint() function in MASS.
> Since MASS will become one of the
2002 Jan 18
1
RE: z-scores for different factor levels
Hi Stuart,
I often use this small function
standardize <- function(x) ( x - mean(x, na.rm=T) ) / sqrt(var(x,
na.rm=T))
to standardize variables.
You should be able to use this to do what you want by splitting the data
frame into sections based on the factor level, using standardize() to create
a new variable in each section, then paste the data frame back together.
Something like:
#
2003 Jul 15
2
How to do get verbatim in Rd files
I want to include a multi-line code block in the details section of a R
manual page. How do I get an appropriate verbatim-like environment?
\verbatim{...} doesn't do the trick, neither does \code{...}.
-Greg
LEGAL NOTICE\ Unless expressly stated otherwise, this messag...{{dropped}}
2002 Apr 12
3
multi-threaded R current status?
Hi All,
What is the current status of removing the global variables etc that is
required to permit multi-threading R?
I'm developing a web application tool for/using R, python (www.python.org),
and Zope (www.zope.org), and it would be really convenient if I could use
something like RPy to communicate with several concurrent R sessions,
preferably within the same process space.
-Greg
2001 Nov 14
3
rpart:plotcp doesn't allow ylim argument (PR#1171)
Full_Name: Gregory R. Warnes
Version: R 1.3.1
OS: Solaris 2.8
Submission from: (NULL) (192.77.198.200)
rpart library version 3.1-2
Error message:
> plotcp(fit.thirds.1,ylim=c(0.7,1.5));
Error in plot.default(ns, xerror, axes = FALSE, xlab = "cp", ylab = "X-val
Relative Error", :
formal argument "ylim" matched by multiple actual arguments
>
This can be
2002 Apr 10
5
Funny characters in x11 window title (PR#1451)
In R-1.5.0pre (2002-04-08) on Solaris 2.6, the window that X11() creates has a
title like:
R Graphics: Device 2 (ACTIVE) o iyeP )( y
except the funny characters at the end have umlauts and other accents
(i.e. extended ASCII characters), and they may be different each time X11() is
invoked. There is no loss of functionality; it just looks a little ugly.
I saw this behavior in R-1.3.?, it
2002 May 08
1
embedded R resolving wrong symbols
Hi All,
When R is embedded in python on my system (Solaris 8), calls to the c
functions 'regcomp' and 'regexec' are being resolved to the c-library,
rather than the functions compiled from regex.c. This leads to segfaults
because the c-library functions have quite different semantics.
Is there any way to get around this, other than renaming the offending
functions? E.G., would
2002 May 09
1
Fixed: embedded R resolving wrong symbols
Hi Duncan
Your suggestion to use '-Bsymbolic' proved to be (almost) the solution. I
tried that and it didn't work because I'm using gcc instead of Sun's
compilers. It took me a bit of time to discoed that gcc uses '-symbolic'
rather than '-Bsymbolic'.
Once I figured that out, changing
LIBR_LDFLAGS = -shared
to
LIBR_LDFLAGS = -symbolic -shared
in Makeconf
2002 Jan 24
1
Re: coding factor replicates
How about this. Its not as 'swish' as Doug's response, but it might be a
little simpler to think about and adapt...
# show the test vector
> tmp
[1] A B C B C A C B A A B
Levels: A B C
>
# create a named vector to store the number of occurences of each level
> index <- numeric(length=length(levels(tmp)))
> names(index) <- levels(tmp)
> index
A B C
[1] 0 0
2001 Jul 13
7
too many arguments in foreign function call
Hi all,
I've just been working with a piece of fortran code (Leo Breiman's
random forest code) that needs a lot of arguments. When I use .Fortran,
I get the message 'too many arguments in foreign function call'.
Neither the help page for .Fortran (actually Foreign) nor "Writing R
Extensions" explains how many arguments are too many.
Looking at the code in
2001 Jul 13
7
too many arguments in foreign function call
Hi all,
I've just been working with a piece of fortran code (Leo Breiman's
random forest code) that needs a lot of arguments. When I use .Fortran,
I get the message 'too many arguments in foreign function call'.
Neither the help page for .Fortran (actually Foreign) nor "Writing R
Extensions" explains how many arguments are too many.
Looking at the code in
2005 Aug 31
2
R CMD check example problem (PR#8113)
[Automatic forwarding from R-bugs failed. This message has been manually
forwarded.]
Hi all!
I'm trying to add Thomas Lumley's defmacro() function Lumley T.
"Programmer's Niche: Macros in {R}", R News, 2001, Vol 1,
No. 3, pp 11--13, \url{http://CRAN.R-project.org/doc/Rnews/} to the gtools
package (provided that Thomas gives his OK). And I've encountered an error
in
2001 Sep 15
1
Tk version of data.entry?
Has anyone taken the time to put together a Tk version of the data.entry()
function?
-Greg
LEGAL NOTICE
Unless expressly stated otherwise, this message is confidential and may be privileged. It is intended for the addressee(s) only. Access to this E-mail by anyone else is unauthorized. If you are not an addressee, any disclosure or copying of the contents of this E-mail or any action taken (or
2002 Nov 26
1
permutation
The gregmisc package contains a function 'perumutations' which generates all
permutations of n choose r. It also contains 'combinations' which generates
all combinations, and which appears to match your example:
> library(gregmisc)
Loading required package: MASS
Attaching package `gregmisc':
The following object(s) are masked from package:base :
2001 May 24
2
New Package: gregmisc
I've thrown a couple of useful functions into a new package "gregmisc" and
uploaded them to ftp://ftp.ci.tuwien.ac.at/incoming/gregmisc_0.1.1.tgz
Here's DESCRIPTION:
Package: gregmisc
Description: Misc Functions written/maintained by Gregory R. Warnes
Title: Greg's Miscellaneous Functions
Version: 0.1
Date: 2001/05/24
Depends: R
Maintainer: Gregory R. Warnes