Displaying 20 results from an estimated 20000 matches similar to: "Pass-through of unevaluated arguments"
2001 Apr 07
2
A programming puzzler
I am trying to replicate part of the function of the
S-Plus terms.inner function. I don't need an entire
model terms object but R expressions or character
strings containing the innermost variable name given
a vector of character strings or expressions. Here
are some example inputs that each should result in the
string or expression "x":
x; x^2; g(x); h(g(x)); h(g(x^3));
2003 Apr 21
3
Dates in read.spss
I am using read.spss in the foreign package to read an SPSS save file. For date variables I get huge values such as 11489990400. Does anyone know how to convert these values to R POSIXct date objects? Thanks in advance -Frank
platform i686-pc-linux-gnu
arch i686
os linux-gnu
system i686, linux-gnu
status
major 1
minor
2002 May 17
1
Strange R CMD check \usage parse error
In running R CMD check I get an error I can't debug. Would someone please let me know if they spot a syntax error in the code below or if there is a workaround for the parse error? Thanks -Frank
Error in parse(file, n, text, prompt) : parse error
Error in codoc(package = "Hmisc") : cannot source usages in documentation object 'plsmo'
Execution halted
* checking for
2001 Jun 07
1
Suggestion for tapply
In S-Plus the ... argument for tapply is before simplify.
In R (1.2.3) ... is after simplify, causing the user to
have to specify simplify every time ... is used even
though the default is usually OK. Unless there was a
benefit to reordering the arguments, it might be a good
idea to reconsider the current function definition.
... is probably used more than simplify
(e.g., tapply(rainfall,
2003 Jun 17
1
Re: R: Problem from Philippe Glaziou
On Mon, 16 Jun 2003 09:56:07 +0200
Patrick Hausmann <p.hausmann at mr-regionalberatung.de> wrote:
> Dear Frank,
>
> I can reproduce the problem from Philippe Glaziou (see attachment).
> Maybe this can help.
> Best,
> Patrick
>
> Am Wollelager 11
> 27749 Delmenhorst
> Tel. 04221 96373-0
> Fax 04221 96373-29
>
> http://www.mr-regionalberatung.de
>
2003 Aug 06
3
Slight problem in sort
In
platform i686-pc-linux-gnu
arch i686
os linux-gnu
system i686, linux-gnu
status
major 1
minor 7.1
year 2003
month 06
day 16
language R
I get
> sort(c(3,1,NA))
[1] 1 3
Shouldn't NAs be retained by default?
Thanks -Frank
---
2002 Sep 15
1
lattice with print(..., more=) and multiple graphics files
Under
platform i586-pc-linux-gnu
arch i586
os linux-gnu
system i586, linux-gnu
status
major 1
minor 5.0
year 2002
month 04
day 29
language R
(haven't updated to 1.5.1 because it's not available on Mandrake 8.1 which is on my
2001 Aug 23
1
Fortran routines from LINPACK in S+ but not R
Dear R Developers,
I should have had the Design library running in R by now but
have kept putting off changing some calls to LINPACK routines
to use those builtin to R. Specifically I call dqrsl1 and dqr.
Would it be an easy task to put those in the next release of
R? If not I'll finally bite the bullet and get back into
reading LINPACK documentation (which I have but haven't
examined
2002 Nov 24
2
R CMD build
Using R CMD INSTALL packagename.tar.gz on
platform i686-pc-linux-gnu
arch i686
os linux-gnu
system i686, linux-gnu
status
major 1
minor 6.1
year 2002
month 11
day 01
language R
I used to get html and latex files recreated only when the source .Rd file changed. Now I am getting html and latex (and text and example) recreated whenever I run R CMD INSTALL when I do
2002 Nov 24
2
R CMD build
Using R CMD INSTALL packagename.tar.gz on
platform i686-pc-linux-gnu
arch i686
os linux-gnu
system i686, linux-gnu
status
major 1
minor 6.1
year 2002
month 11
day 01
language R
I used to get html and latex files recreated only when the source .Rd file changed. Now I am getting html and latex (and text and example) recreated whenever I run R CMD INSTALL when I do
2002 Sep 03
1
Properly initializing a plot
I have many functions for high-level plotting that early on in their code do something like strwidth('string', units='inches') before plotting. I do this before plot() to set the correct margins with par(mai=...), to leave room for wide text on the left or right margins.
If the plotting device is not opened strwidth( ) causes an error that plot.new() needs to be called. I can
2002 Apr 12
5
How to specify search order for require()
In a .First.lib I want to issue two require()s to insure that two other packages are loaded. But I want the package being loaded by .First.lib using library.dynam("mypackage",pkb,lib) to be higher in the search order than the two required packages, because I want to have a couple of functions from the two required packages overridden. What is the best way to do that? Thanks in advance
2002 Dec 04
2
problem with load('http://....') (PR#2344)
Full_Name: Frank Harrell
Version: 1.6.1
OS: RedHat 8.0 Linux
Submission from: (NULL) (128.143.108.90)
I get an error when trying to load a URL that contains a file that was saved
using save(object, compress=TRUE):
> load('http://hesweb1.med.virginia.edu/biostat/s/data/sav/kprats.sav')
Error in gzfile(file, "rb") : unable to open connection
In addition: Warning message:
2002 Dec 20
1
read.xport and lookup.xport in foreign (PR#2385)
Under
platform i686-pc-linux-gnu
arch i686
os linux-gnu
system i686, linux-gnu
status
major 1
minor 6.1
year 2002
month 11
day 01
language R
and using foreign 0.5-8 I am encountering errors when using read.xport. Here's
2001 Jul 28
2
Re: [S] Labels wrong with lrm
Dear Jan,
Thank you very much for your excellent description of the
problem and the self-contained test code. This is a
problem that I've been meaning to either document better
or solve for some time. The root of the problem is with
the builtin S-Plus terms.inner function:
> attr(terms.inner(asthma ~ pol(age,kx) + smok),'variables')
expression(age, kx, smok)
You can see that
2001 Jun 03
1
Difficulty with R CMD INSTALL
I am running Linux Mandrake 7.2 with the following:
platform i586-pc-linux-gnu
arch i586
os linux-gnu
system i586, linux-gnu
status
major 1
minor 2.3
year 2001
month 04
day 26
language R
To build a package I ran R CMD build Hmisc, apparently with success:
* checking for file `Hmisc/DESCRIPTION' ... OK
* preparing `Hmisc':
* cleaning src
* checking
2001 Dec 23
3
R 1.4 on Mandrake Linux 8.1
I installed the new rpm from CRAN for R 1.4 for Mandrake Linux 8.1, after getting blas and libgcc from rpmfind.net. When I do update.packages() the system goes to update grid, lattice, and mgcv. I get compile errors for two of them. Apparently R is looking for gcc 3.0.1 or later but 8.1 uses 2.9x which is required for other Mandrake applications (i.e., I get a dependency error when trying to
2002 Mar 28
3
Vectorizing closest match
If anyone has a very fast vectorized method for doing the following I would appreciate some help. I want to avoid outer() to limit memory problems for very large n.
Let
x = real vector of length n
y = real vector of length n
w = real vector of length m, m typically less than n/2 but can be > n
z = real vector of length m
For w[i], i=1,,,m, find the value of x that is closest to w[i]. In
2001 Apr 05
0
Re: [R] Hmisc and Design libraries
Great news!
Having spent a significant amount of time porting/mantaining some
packages on S4/Splus 5.x and R, I'm interested in your experience
as you port Hmisc and Design; I'd like to know of your progress in
order to help improve available R/Splus portability tools both at the C and
the S language code. These tools include the package SLanguage written
by John Chambers, and
2001 Jul 23
2
A useful GUI?
I saw an ad in the July 2001 Amstat News for a complex sample
survey analysis package called Wesvar. The package has
what appears to be a useful feature called a "Workbook"
by which the user navigates analysis output. This is a
hierarchical tree in which the user may click on a part
of the analysis (table, regression fit, descriptive stats,
etc.) so as to go directly to that output.