Displaying 20 results from an estimated 10000 matches similar to: "To many NA's from mean(..., na.rm=T) when a column is all NA's"
1998 Jun 17
2
extra arguments to generic functions & bug in model.frame
R developers,
2 things: a bug in model.frame and a question about setup of generic
functions.
I don't understand the following behavior for generic functions:
Suppose I'm working with the cats data in the MASS library and I want to
create a formula object to model Hwt on Sex:
# This works:
> formula(Hwt ~ Sex)
Hwt ~ Sex
# But the following does not:
> formula(Hwt ~ Sex,
1999 Oct 25
1
Linking to html help from outside R
Dear R-help-ers
(Currently running Version 0.65.1 Release (October 07, 1999) on Solaris
2.6)
My problem has to do with updates of the R language. When I install a
new version, I would like to just change one directive, or a soft link to
the current doc/html/ directory, to update a bookmark I have pointing to
the current R doumentation directory. I've tried building a soft link:
1999 Dec 06
2
perl advice
Hello-
Does anyone have a recommendation on how to call R from perl? I'm using
the IPC::Open2 module, and running R with the --slave and --quiet
options. The problem is that I can't predict how many lines of output I
should try to read for each command-- if any!
The ultimate goal is to use perl to provide a form-driven web interface,
but have R do the underlying calculations.
Thanks
1998 Jun 18
2
R-beta: glm bug
A non-text attachment was scrubbed...
Name: not available
Type: text
Size: 997 bytes
Desc: not available
Url : https://stat.ethz.ch/pipermail/r-help/attachments/19980618/ee08ba8d/attachment.pl
1998 Sep 09
2
diag() losing dimnames
Using diag() to extract the diagonal of a matrix loses all but the first dimname
(R 0.62.3). The problem seems to be in [ ]:
>
> x <- matrix(1:9,3,3)
> dimnames(x) <- list(c("a", "b", "c"), c("a", "b", "c"))
> x
a b c
a 1 4 7
b 2 5 8
c 3 6 9
> diag(x)
a NA NA
1 5 9
> x[c(1,5,9)]
a NA NA
1 5 9
>
Paul
2000 May 15
1
Non linear regression using Levenberg-Marquardt method
Hello,
I want to fit some non linear models with the Levenberg-Marquardt
algorithm. It doesn''t seem to exist any function to do this in R ( well,
maybe one does, but I''m a new user, and the only documentation I have is
"An introduction to R").
I''d like to know if this function exists, maybe throught an additionnal
package.
I''d also like to know if if
2000 Jan 03
4
leaps
Hi, there,
S+ has a function leaps which can be used for criterion based model
selection. Is there an equivalent function in R?
thanks in advance.
Kenny Ye
Assistant Professor
Department of Applied Math and Statistics
SUNY at Stony Brook
Stony Brook, New York 11794-3600
(516)632 9344
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read
1997 Aug 29
1
R-beta: ar
I have been trying to get a working version of ar, since I have used it
in several calculations in the test suite for my time series library.
The following limited version (order.max must be specified and other
short comings) works more or less, but the results differ by more than
I would expect from those given by Splus. I have tried several
variations with no success. If anyone can see a reason
2012 Feb 29
3
Broken R
Hi, I am running Debian Sid. I am having
trouble with the R packages.
Executing 'help()' or 'demo()' launches 'most' with no text.
'help.start()' works properly.
When I try to install a package, I get the following problem:
*********************************************************************
> install.packages("ctv")
Installing package(s) into
2000 Feb 10
3
creating a grid of function values
I want to create a grid of function values for use in `contour' or
`persp'. The function is the log-likelihood for the gamma. The
sample is stored as vector of length 20 called `Survival'.
A single evaluation of the log-likelihood at, say, scale = 9 and shape
= 10 would be obtained by
sum(dgamma(Survival, scale = 9, shape = 10, log = TRUE))
(This may work only 0.99.0, I'm not
2000 Feb 24
1
lg2c
Dear Rhelp folks,
I think I read this in recent Rhelp, but I can't find it in the
archive. I need to know how to get lg2c in order to build the nlme
package.
I'm trying to install nlme_3.1-2.tar.gz on a Linux machine (6.1 Redhat)
under R Version 0.99.0 (February 7, 2000).
Thanks,
Jim
Jim Robison-Cox ____________
Department of Math Sciences | |
1998 Nov 19
1
configure on Solaris 2.6 for R-0.63
When I run configure for the new release, R-0.63, I get an error:
loading cache ./config.cache
checking for a BSD compatible install... aux/install-sh -c
checking whether ln -s works... yes
checking for ranlib... ranlib
checking for bison... bison -y
checking for ar... ar
checking for ratfor... no
checking for latex... /psoft/TeX/bin/latex
checking for dvips... /psoft/TeX/bin/dvips
checking for
1998 Nov 19
1
configure on Solaris 2.6 for R-0.63
When I run configure for the new release, R-0.63, I get an error:
loading cache ./config.cache
checking for a BSD compatible install... aux/install-sh -c
checking whether ln -s works... yes
checking for ranlib... ranlib
checking for bison... bison -y
checking for ar... ar
checking for ratfor... no
checking for latex... /psoft/TeX/bin/latex
checking for dvips... /psoft/TeX/bin/dvips
checking for
1998 Jun 04
1
Snapshot won't configure on SunOS 5.3
R-crew,
I'm trying to install the R-Snapshot which I downloaded a few hours
ago and I'm having a problem I can't trace. My system is
Sun SPARC, SunOS 5.3 : 1996
>From running ./configure:***************************************
loading cache ./config.cache
checking for a BSD compatible install... /opt/local/R/R-snapshot/etc/install-sh -c
checking whether ln -s works... yes
2002 Apr 04
2
non-32-bit integer problem on SUN-Blade
Hello,
Perhaps this is a bug, but I thought I'd start with R-Help.
I'm trying to compile R-1.4.1 on a new Sun-Blade running Solaris 2.8
( I got it running with no problem on older SUNs)
I get the following error after doing the usual ./configure and make:
gcc -I. -I../../src/include -I../../src/include -I/usr/local/include
-DHAVE_CONFIG_H -g -O2 -c arithmetic.c -o arithmetic.o
1998 Dec 18
0
configure problems with fortran underscore
Just after R-0.63.0 came out I reported a problem to the list. I was
unable to get ./configure to complete it's job, because it couldn't find a
working fortran. It stopped after trying to test for underscore in
subroutine names. This was especially perplexing, since I could still
configure the older version (I had 62.2) with no error messages.
I tried suggestions of B.D. Ripley and
1998 Jul 31
0
R-beta: Re-installing libraries in a new version.
Dear R-helpers,
I just upgraded from version 62.1 to 62.2 and now am faced with the
same problem I've run into before when upgrading:
Is there an easy way to take the libraries I have been using in the
older version and pull then into the new version. My organization looks
like this on Solaris 2.5.2:
/opt -- /R
-- /R-0.62.1
--/library
-- subdirectories for lots of
1998 Aug 04
0
aov with Error terms
To R-devel:
If anyone is testing the aov() function and it's relatives which I
posted to the list, thanks for the effort, but I would ask you to hold
off now. Brian Ripley is developing better and more complete versions, so
you should save your effort for looking over his functions.
His preliminary version is located at:
http://www.stats.ox.ac.uk/pub/R/aov.tar.gz
Prof. Ripley says
2000 Jun 19
2
fortran compile problem with R-1.1.0
Hello List,
Knowing I would eventually need to ask for help on the list, I've held
off my thanks and congratulations on the 1.+ releases of R. I am amazed
at the dedication of the R-core team, and do add my applause and thanks.
I've had a compile problem with the latest version which has not
occurred before. I'm compiling under:
platform sparc-sun-solaris2.6
arch sparc
1998 Jul 29
0
aov with Error Strata
This message is in MIME format. The first part should be readable text,
while the remaining parts are likely unreadable without MIME-aware tools.
Send mail to mime@docserver.cac.washington.edu for more info.
--0-488534781-901753860=:6003
Content-Type: TEXT/PLAIN; CHARSET=US-ASCII
Content-ID: <Pine.NEB.4.00.9807291716501.6003@mathfs.math.montana.edu>
Attached is R code for an aov