Displaying 20 results from an estimated 800 matches similar to: "PL/R calls fail"
2006 Apr 07
1
Compiling PL/R against R.dll in Win32/MinGW
Hello list,
I've been trying to get the PostgreSQL PL/R library to compile on
windows (http://www.joeconway.com/plr/). The author of this library
says the problem is likely because the distributed R.dll isn't compiled
as a shared dll. Is this the case? If so, is there any way to compile
it such that it is shared? If that's not the case, than maybe someone
on this list has a better
2003 Aug 24
1
declarations in non-exported headers and embedding R
Hello,
I've been using R embedded in PL/R (R procedural language handler for
PostgreSQL, http://www.joeconway.com/plr/) very successfully for several
months now. A sincere "thank you" goes to the R development team for
such a great product.
I have a question I'm hoping someone here can help me with. In order to
get the required functionality out of PL/R, I've had to
2009 Sep 30
1
R/PL : cannot build PL/R
Dear all,
i am trying to get PL / R running on Mac OS X. PostgreSQL is already
running and connects just smoothly to R via DBI / RPostgreSQL .
Despite finding a couple of posts of people with the same problem
(i.e. error message) i could not get it done for me.
I use Mac OS 10.5.7 and PostgreSQL 8.3.7 as well as R 2.9.2
I put the untared plr to my /Library/Frameworks/R.framework/Resources/
2005 Jun 12
2
linking R to goto blas
Dear all,
I am currently trying to link R 2.1.0 to the GOTO BLAS 0.99.3 library on
a box running Fedora Core 3 , basically following the steps indicated in
the R-Admin document:
1: I downloaded the current libgoto.xxx.so from
http://www.cs.utexas.edu/users/kgoto/libraries/libgoto_prescott-32-r0.99-3.so.gz,
a version suitable for our XEON machine (Nocona core), unpacked it to
/usr/lib and created
2010 Jun 08
2
type conversion with apply or not
Folks, i thought it should be straightforward but after a few hours poking around, I decided it's best to post my question on this list.
I have a data frame consisting of a (large) number of date columns, which are read in from a csv file as character string. I want to convert them to Date type. Following is an example, where the first column is of integer type, while the rest are type
2003 Apr 28
1
Red Hat 9 regex symbol conflict
Hello,
I've been struggling with a problem for the past several weeks, trying
to get PL/R (R procedural language handler for PostgreSQL,
http://www.joeconway.com/plr/) to work on Red Hat 9. In brief, R dumps
core during the embedded library initialization, while in Rf_regcomp(),
working on on Rprofile. Below I've included the important parts of a
backtrace:
Program received signal
2012 Nov 13
2
How to visualize relation between two sets of rel. frequencies?
I am looking at a data set containing two variables (x,y), each of which
represents relative frequencies (rounded):
data.frame(x = c(0.1,0.6,0.2,0.1), y = c(0.5,0.2,0.2,0.1))
x y
1 0.1 0.5
2 0.6 0.2
3 0.2 0.2
4 0.1 0.1
each of the rows reflects a "relation" between x and y, for example in
row 4: 10% of the observations in x account for 10% of the observations
in y.
I
2004 Jan 08
3
Strange parametrization in polr
In Venables \& Ripley 3rd edition (p. 231) the proportional odds model
is described as:
logit(p<=k) = zeta_k + eta
but polr apparently thinks there is a minus in front of eta,
as is apprent below.
Is this a bug og a feature I have overlooked?
Here is the naked code for reproduction, below the results.
------------------------------------------------------------------------
---
version
2005 Apr 19
2
pl/R and MacOS X using R binary
I'm sorry if this is too off-topic--feel free to ignore. I am
interested in using pl/R, an amazing "plugin" for the postgresql
database. As is typical of these types of applications, pl/R needs to
link against a shared library. However, it appears that the MacOS R
binary does not build a static (.so) shared library. Is there an
accepted, general way (read, a way that works)
2005 Apr 19
2
pl/R and MacOS X using R binary
I'm sorry if this is too off-topic--feel free to ignore. I am
interested in using pl/R, an amazing "plugin" for the postgresql
database. As is typical of these types of applications, pl/R needs to
link against a shared library. However, it appears that the MacOS R
binary does not build a static (.so) shared library. Is there an
accepted, general way (read, a way that works)
2011 Mar 01
1
How to understand output from R's polr function (ordered logistic regression)?
I am new to R, ordered logistic regression, and polr.
The "Examples" section at the bottom of the help page for
polr<http://stat.ethz.ch/R-manual/R-patched/library/MASS/html/polr.html>(that
fits a logistic or probit regression model to an ordered factor
response) shows
options(contrasts = c("contr.treatment", "contr.poly"))
house.plr <- polr(Sat ~ Infl +
2007 Nov 10
1
polr() error message wrt optim() and vmmin
Hi,
I'm getting an error message using polr():
Error in optim(start, fmin, gmin, method = "BFGS", hessian = Hess, ...) :
initial value in 'vmmin' is not finite
The outcome variable is ordinal and factored, and the independant variable
is continuous. I've checked the source code for both polr() and optim()
and can't find any variable called
2009 Feb 27
1
R_CHAR + 21 (memory.c:2573) in crash report...
I'm not sure if this is the best subject line, and I apologize in
advanced for the cross-posting, but I've been trying to get past a piece
of code for two days now, and seem to have narrowed where a show
stopping crash is occurring...
I keep getting:
psql:../sql/schedpak.sql:257: server closed the connection unexpectedly
This probably means the server terminated abnormally
before or
2007 Jun 04
2
How to obtain coefficient standard error from the result of polr?
Hi - I am using polr. I can get a result from polr fit by calling
result.plr <- polr(formula, data=mydata, method="probit");
However, from the 'result.plr', how can I access standard error of the estimated coefficients as well as the t statistics for each one of them?
What I would like to do ultimately is to see which coefficients are not significant and try to refit the
2005 Jun 10
1
problem with polr ?
I want to fit a multinomial model with logit link.
For example let this matrix to be analyzed:
male female aborted factor
10 12 1 1.2
14 14 4 1.3
15 12 3 1.4
(this is an example, not the true data which are far more complex...)
I suppose the correct function to analyze these data is polr from MASS library.
The data have been
2012 Apr 24
1
nobs.glm
Hi all,
The nobs method of (MASS:::polr class) takes into account of weight,
but nobs method of glm does not. I wonder what is the rationale of
such design behind nobs.glm. Thanks in advance. Best Regards.
> library(MASS)
> house.plr <- polr(Sat ~ Infl + Type + Cont, weights = Freq, data = housing)
> house.logit <- glm(I(Sat=='High') ~ Infl + Type + Cont, binomial,weights
2013 Oct 18
1
No P.values in polr summary
Hi everyone,
If I compute a "Ordered Logistic or Probit Regression" with the polr
function from MASS package. the summary give me : coefficients, Standard
error and Tvalue.. but not directly the p.value.
I can compute "manualy" the Pvalue, but Is there a way to directly obtain
the pa.value, and I wonder why the p.valeu is not directly calculated, is
there a reason?
exemple
2003 May 05
3
polr in MASS
Hi, I am trying to test the proportional-odds model using the "polr" function in the MASS library with the dataset of "housing" contained in the MASS book ("Sat" (factor: low, medium, high) is the dependent variable, "Infl" (low, medium, high), "Type" (tower, apartment, atrium, terrace) and "Cont" (low, high) are the predictor variables
2006 Apr 29
2
nuby migration question -- data migration, MySQL => postgresql
How do I best migrate the data? For small databases I can text-edit the dump file from
MySQL. The postgresql compatibility switch doesn''t help on mysqldump. Any ideas. Can
MySQL export CSV that postgresql can import ?
W Fred
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2007 Feb 20
0
R: Re: summary polr
Hi all,
The problem is that when you try to use the function summary of a polr object in a function, it does not work.
The problem is not related to the formula or the structure of data involved.
It is probably related to the use of the function "vcov" in the code of summary for polr, and the iterative procedure to estimate the Hessian.
Anyway, here there is an example extracted from