Displaying 20 results from an estimated 5000 matches similar to: "namespace magic"
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
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
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
2006 Mar 14
1
Fwd: makeconf issue on R-devel 2006-03-12 r37524
I sent the message below to r-sig-mac yesterday, but having no reply
I decided to explore a bit myself and found that editing:
/Library/Frameworks/R.framework/Versions/2.3/Resources/share/make/
shlib.mk
yzzy: diff shlib.mk shlib.mk~
3c3
< include $(R_HOME)/etc/Makeconf
---
> include $(R_HOME)/etc${R_ARCH}/Makeconf
restored the functionality of R CMD INSTALL.
Is this a known issue?
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
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
2008 Apr 18
0
Fw: efficiently replacing values in a matrix
----- Forwarded Message ----
From: Nnamdi <nnamdii at yahoo.com>
To: roger koenker <rkoenker at uiuc.edu>
Sent: Friday, April 18, 2008 1:08:58 PM
Subject: Re: [R] efficiently replacing values in a matrix
I tried the sparse matrix implementation, still there are issues:
a <- matrix(nrow=10000,ncol=10000)
> a.csr <- as.matrix.csr(a)
Error in if (nnz == 0) { : missing value
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:
2003 Sep 01
0
Quantile Regression Packages
I'd like to mention that there is a new quantile regression package
"nprq" on CRAN for additive nonparametric quantile regression estimation.
Models are structured similarly to the gss package of Gu and the mgcv
package of Wood. Formulae like
y ~ qss(z1) + qss(z2) + X
are interpreted as a partially linear model in the covariates of X,
with nonparametric components defined as
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
2007 Feb 22
1
tournaments to dendrograms
Does anyone have (good) experience converting tables of tournament
results into dendrogram-like graphics? Tables, for example, like this:
read.table(url("http://www.econ.uiuc.edu/~roger/research/ncaa/NCAA.d"))
Any pointers appreciated. RK
url: www.econ.uiuc.edu/~roger Roger Koenker
email rkoenker at uiuc.edu Department of Economics
vox: 217-333-4558
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
2004 Nov 26
1
Namespaces, coercion and setAs
I'm trying to resolve a small problem that has arisen from introducing a
NAMESPACE for the package SparseM. Prior to the namespace I had
a class "matrix.diag.csr" that consisted of diagonal sparse matrices.
It
was defined to have the same attributes as the matrix.csr class and
setAs
was used to define how to coerce integers and vectors into this form:
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
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:
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 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
2005 Dec 29
2
'sessionInfo()' instead of 'version'
In a private response to Tony Plate's suggestion to replace version()
output with sessionInfo() in R-help requests,
> roger koenker wrote:
>> Thanks for this, it would seem useful to have version numbers for
>> the packages too?
and Tony replied,
>
> Sounds sensible to me! If I were you I'd send a message to R-devel
> suggesting this. AFAIK, some changes to
2015 Mar 26
0
vignette checking woes
> On Mar 26, 2015, at 8:50 AM, Martyn Plummer <plummerM at iarc.fr> wrote:
>
> On Wed, 2015-03-25 at 15:12 -0500, Roger Koenker wrote:
>> Thierry,
>>
>> I have this:
>>
>> if (require(MatrixModels) && require(Matrix)) {
>> X <- model.Matrix(Terms, m, contrasts, sparse = TRUE)
>
> You have this in the current release, which
2004 Sep 22
2
ordered probit and cauchit
What is the current state of the R-art for ordered probit models, and
more
esoterically is there any available R strategy for ordered cauchit
models,
i.e. ordered multinomial alternatives with a cauchy link function. MCMC
is an option, obviously, but for a univariate latent variable model
this seems
to be overkill... standard mle methods should be preferable. (??)
Googling reveals that spss