Displaying 20 results from an estimated 9000 matches similar to: "as.generic"
2000 Nov 21
2
large object disorientation
This is an inquiry for all those who have been working on external
data base applications. I sent an inquiry (below) to snews about
this sort of thing a couple of years ago and eventually decided that
I would wait to see what external database developments occurred and
then revisit the problem. I hope that foundations are now better.
Suppose for the sake of concreteness you have a large
2002 Mar 24
2
readline?
We've recently "upgraded" a server to solaris 8, and in reinstalling R
I've encountered a problem in getting it to recognize the readline library.
I have installed readline in what I believe to be the "usual" place:
/usr/local/lib with include files in /usr/local/include/readline.
But ./configure produces:
ragnar.econ.uiuc.edu# grep readline hout
checking for
2001 Mar 12
2
pause
I've been playing with a quincunx animation in R 1.2.2 and would like to have
finer control over the speed of the animation. I know that I can
use system("sleep 1") on unix systems at least, but it would be nice
to have something like pause(.01). Any suggestions?
url: http://www.econ.uiuc.edu Roger Koenker
email roger at ysidro.econ.uiuc.edu Department of Economics
vox:
2001 Dec 13
1
Code for Hodrick-Prescott Filter: Special Case of smooth. spline?
I've had a play with this and, due to my own short-comings, remain none the
wiser.
In particular, I'm not sure what value of 'spar' is consistent with the
magic lambda=1/1600 for quarterly data.
I initially interpreted spar as lambda and tried setting spar=1/1600. This
results in almost no smoothing while spar=1600 causes an error. The
smooth.spline function seems to want
2002 Aug 28
1
fix(fix)
About 2 percent of the time I use fix() to edit a function that is
sitting in .RData I get the response:
> fix(qss)
Error in edit(name, file, editor) : problem with running editor vi
when I try to close the editing session. I used to think that these
were always cases where there was some syntactical error with the
edited file, but this is not the case. I realize that one surefire
way to
2000 Dec 19
1
translation from the old-S
In ancient times, circa 1980, S data directories were called swork and sdata
not .Data, and "New-S" as described in the already medieval "Blue Book"
discusses a function DBCONVERT that converted swork data into .Data data.
It is embarrassing to admit it, but I still have data archives from a BTL
machine called alice in the swork format and would like to convert a dataset
to
2002 Jun 13
2
R make on macosx
I am trying to make R-1.5.0 from source on a new G4 system with the apple
developer tools and X11 installed and with ATLAS. Running ./configure
appears to end normally, but running make yields:
gcc -no-cpp-precomp -I. -I../../src/include -I../../src/include -I/usr/local/include -DHAVE_CONFIG_H -g -O2 -c Rdynload.c -o Rdynload.o
Rdynload.c: In function `R_FindSymbol':
Rdynload.c:942:
2002 Apr 05
1
rbind(NULL,NULL)
In the time honored spirit of wishing to do nothing well, could I suggest
that the Splus (versions 5 and 6) response to:
> rbind(NULL,NULL)
NULL
is preferable to the R response:
> rbind(NULL,NULL)
Error in rbind(NULL, NULL) : attempt to set an attribute on NULL
This is on:
platform sparc-sun-solaris2.8
arch sparc
os solaris2.8
system sparc, solaris2.8
status
major 1
2002 Oct 08
1
image axes
I'm plotting matrices with image() and would like the axes to reflect
the conventional view that the upper left corner of the plot is (1,1).
But image seems to think that the lower left corner is (1,1). Can
someone suggest a way of persuading it to think otherwise. In effect,
I just want the y axis to run from from 1 to n downwards, not upwards.
I thought that something like axes=FALSE in
2009 Nov 04
1
s4 generic issue
I'm hoping that someone with deeper insight into S4 than I,
that is to say virtually everyone reading this list, could help
resolve the following problem in SparseM. We have
setGeneric("backsolve",
function(r, x, k = NULL, upper.tri = NULL, transpose = NULL,
twice = TRUE, ...)
standardGeneric("backsolve"),
useAsDefault= function(r, x,
2001 May 26
1
boxplots
Was there ever a convenient method provided to add boxplots to the current
plot at specified x values? There was a question by Martin Maechler some
time ago here, but I could seem to find any satisfactory resolution of it.
I see that there is an add=T option to boxplot and bxp, but I don't see
how to set the x-values.
url: http://www.econ.uiuc.edu Roger Koenker
email roger at
1999 Aug 23
1
s_copy
I'm trying to port some routines from S to R. The code includes some
fortran stuff that calls lapack. In the past in similar situations, but
without any lapack calls, I've had success using simply, as in the
V&R R-complements,
R SHLIB -o rq.so *.f
then in R
dyn.load("rq.so")
But now when the code is called from R, R crashes and I get a message
2002 Jun 02
0
quantreg 3.09
A new version of the quantile regression package (quantreg 3.09) is now
available on CRAN. The new features include:
1. a new fitting method "fnc" for rq() which allow the call to specify
linear inequality constraints on the coefficients.
2. an anova() function for rq objects that implements several F-like tests
for quantile regression models at a given quantile, and other F-like
2006 Oct 05
1
solaris 64 build?
We have a solaris/sparc machine that has been running an old version
of R-devel: Version 2.2.0 Under development (unstable) (2005-06-04
r34577)
which was built as m64 from sources. Attempting to upgrade to 2.4.0
the configure step
goes ok, but I'm getting early on from make:
> gcc -m64 -L/opt/sfw/lib/sparcv9 -L/usr/lib/sparcv9
> -L/usr/openwin/lib/sparcv9 -L/usr/local/lib -o
2005 Jun 06
2
make install on solaris 10
We have recently upgraded to Solaris 10 on a couple of sparc machines
with the usual
mildly mysterious consequences for library locations, etc, etc. I've
managed to configure
R 2.1.0 for a 64 bit version with:
R is now configured for sparc-sun-solaris2.10
Source directory: .
Installation directory: /usr/local
C compiler: gcc -m64 -g -O2
C++
2003 Jul 15
1
friday lunch
Greetings,
I'm organizing summer econometrics lunch meetings to discuss thesis
work. The first meeting will be this friday July 18 12-1pm in the
conference room on the third floor of Wohlers. The first talk will
be by Lingjie Ma
Control Variate Estimation of Structural Quantile Regression Models
url: www.econ.uiuc.edu/~roger/my.html Roger Koenker
email rkoenker@uiuc.edu Department of
2014 Jul 11
1
Namespaces and S4 Generics
I've installed R-devel
R Under development (unstable) (2014-07-09 r66111)
Platform: x86_64-apple-darwin13.1.0 (64-bit)
and am trying to resolve some problems that I am seeing with my
SparseM package. In prior versions I explicitly had:
setGeneric("image", function(x, ...) standardGeneric("image"))
and then used setMethod to define a method for the class matrix.csr
but
2004 Nov 18
1
Method dispatch S3/S4 through optimize()
I have been running into difficulties with dispatching on an S4 class
defined in the SparseM package, when the method calls are inside a
function passed as the f= argument to optimize() in functions in the spdep
package. The S4 methods are typically defined as:
setMethod("det","matrix.csr", function(x, ...) det(chol(x))^2)
that is within setMethod() rather than by name before
2007 Nov 15
1
faqs
An extremely modest proposal:
It would be nice if packages could have a FAQ and if
faq(package.name)
would produce this faq. And if, by default
faq()
FAQ()
would produce the admirable R faq... Apologies in advance
if there is already a mechanism like this, but help.search()
didn't reveal anything.
url: www.econ.uiuc.edu/~roger Roger Koenker
email rkoenker at
2008 Feb 23
1
print.logLik
I have a vector of logLik values that I'd like to return and it would
be nice
if the the print method didn't run them together. Could I make a plea
for
using sep = " ", rather than sep = "" in print.logLik?
url: www.econ.uiuc.edu/~roger Roger Koenker
email rkoenker at uiuc.edu Department of Economics
vox: 217-333-4558