Displaying 20 results from an estimated 400 matches similar to: "(no subject)"
2007 May 19
2
What's wrong with my code ?
I try to code the ULS factor analysis descrbied in
ftp://ftp.spss.com/pub/spss/statistics/spss/algorithms/ factor.pdf
# see PP5-6
factanal.fit.uls <- function(cmat, factors, start=NULL, lower = 0.005,
control = NULL, ...)
{
FAfn <- function(Psi, S, q)
{
Sstar <- S - diag(Psi)
E <- eigen(Sstar, symmetric = TRUE, only.values = TRUE)
e <- E$values[-(1:q)]
e <-
2005 Jun 26
0
Factor correlations in factanal
Dear R-devel list members,
Ben Fairbank draw it to my attention that factanal() (in the stats package)
doesn't report factor correlations for oblique rotations. Looking at the
source, I see that factanal also doesn't save the factor-transformation
(rotation) matrix from which these correlations can be computed. I've
modified the source, attached below, so that the transformation
2007 Jul 13
2
nearest correlation to polychoric
Dear all,
Has someone implemented in R (or any other language)
Knol DL, ten Berge JMF. Least-squares approximation of an improper correlation matrix by a proper one. Psychometrika, 1989, 54, 53-61.
or any other similar algorithm?
Best regards
Jens Oehlschl?gel
Background:
I want to factanal() matrices of polychoric correlations which have negative eigenvalue. I coded
Highham 2002
2004 Mar 30
5
optim-Bug (PR#6720)
Full_Name: Dr. Hans A. Kestler
Version: 1.8.1.
OS: Linux, Win, Mac OSX
Submission from: (NULL) (134.60.73.116)
The code below produces after a different number of iterations i the following
error:
Error in optim(par = rep(0.5, length(edges)), loglik, method = "L-BFGS-B", :
non-finite value supplied by optim
This was reproducible on different machines (Mac G4 OSX, AMD Opteron
2017 Dec 22
2
ot: how to block persistent same invalid account, different IPs
I've installed fail2ban, it seems to be working as it identified my failed
test logins, BUT, my question is:
what can I do when I see same invalid name trying to login to dovecot,
different IP each time, how can I say block each IP as used by this name ?
or it that a bad idea ?
I can see two persistent attempts as so:
I don't have such user 'ignacio' or 'julian'
# grep
2017 Dec 22
0
ot: how to block persistent same invalid account, different IPs
On 22/12/17 11:41, Voytek Eymont wrote:
> I've installed fail2ban, it seems to be working as it identified my failed
> test logins, BUT, my question is:
>
> what can I do when I see same invalid name trying to login to dovecot,
> different IP each time, how can I say block each IP as used by this name ?
> or it that a bad idea ?
>
> I can see two persistent attempts as
2008 Sep 09
1
Addendum to wishlist bug report #10931 (factanal) (PR#12754)
--=-hiYzUeWcRJ/+kx41aPIZ
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 8bit
Hi,
on March 10 I filed a wishlist bug report asking for the inclusion of
some changes to factanal() and the associated print method. The changes
were originally proposed by John Fox in 2005; they make print.factanal()
display factor correlations if factanal() is called with rotation =
2014 Sep 07
1
lbfgsb from C/C++
Hi,
I would like to call R's lbfgsb function from my C/C++ code by including
R_ext/Applic.h and linking against libR.
Currently, I am allocating memory for x (and the other input arrays for
lbfgsb) in my C/C++ code via malloc/new. However, this gives a segmentation
fault when executing the program.
I tried to allocate x via PROTECT(x = NEW_NUMERIC(n)); x_p =
NUMERIC_POINTER(x);.
This compiles
2012 Oct 28
0
lbfgsb from C
Hi,
I wanted to use R's lbfgsb method for minimization from C. Unfortunately,
my toy examples always crashes (segmentation fault). What's wrong with it?
double eval(int n, double* par, void *ex) {
double result = 0;
for (int i=0; i<n; ++i) {
result += par[i]*par[i];
}
printf("result=%.2f\n", result);
return result;
}
void grad(int n, double *par, double *gr,
2006 Jul 19
2
get rid of error in Factor Analysis
B??dnie zakodowany tekst zosta? usuni?ty...
Plik: nie znany
Url: https://stat.ethz.ch/pipermail/r-help/attachments/20060719/3a883e4f/attachment.pl
2008 Mar 07
1
parameters for lbfgsb (function for optimization)
Can anyone help me with lbfgsb (function for optimization)?
It takes the following parameters:
void lbfgsb (int n, int lmm, double *x, double *lower,
double *upper, int *nbd, double *Fmin, optimfn fn,
optimgr gr, int *fail, void *ex, double factr,
double pgtol, int *fncount, int *grcount,
int maxit, char *msg, int trace, int nREPORT);
What do I put for parameter ex (11th parameter)? I looked at
2020 May 04
0
Error in message printed by lbfgsb
Hi
I have a FORTRAN version of the L-BFGS-B algorithm and I was comparing it
to the code in the lbfgsb.c file available at R-4.0.0.tar.gz
Everithing looks the same, except for those two lines that must be printed
by the prn3lb function in case of an error (lines 3559 and 3561 in
lbfgsb.c):
case -5: Rprintf("l(%d) > u(%d). No feasible solution", k, k); break;
case -7:
2002 Jan 17
2
Solaris 2.6 Compile (PR#1268)
Full_Name: Geordon Marchak
Version: R-1.3.1
OS: Solaris 2.6
Submission from: (NULL) (199.67.239.91)
Got the following error when compiling on Solaris 2.6 with the standard GNU
gcc package (from the Sun site). BTW - linux compiles no problem (and fast
too :-)
# make
`Makedeps' is up to date.
gcc -I. -I../../src/include -I../../src/include -I/usr/local/include
-DHAVE_CONFIG_H -g -O2 -c
2002 May 06
2
compiling on Solaris 7 (PR#1520)
Full_Name: Chris Pelton
Version: R-1.5.0
OS: Solaris &
Submission from: (NULL) (169.237.121.210)
I am unable to compile R-1.5.0, and am getting the following errors with make. I
searched through
the buglist and didn't see anything similar, although I wouldn't doubt if I was
just
using the wrong version of something.
gcc version 3.0.3
gcc -I. -I../../src/include
2016 Oct 10
0
optim(…?=, =?utf-8?Q?method=‘L-BFGS-B’) stops with an error message while violating the lower bound
>>>>> Spencer Graves <spencer.graves at prodsyse.com>
>>>>> on Sat, 8 Oct 2016 18:03:43 -0500 writes:
[.............]
> 2. It would be interesting to know if the
> current algorithm behind optim and optimx with
> method='L-BFGS-B' incorporates Morales and Nocedal (2011)
> 'Remark on ?Algorithm 778:
2000 Aug 15
1
Defective pointer to tech report (PR#634)
Full_Name: Rod Montgomery
Version: 1.1.0
OS: Windows-95
Submission from: (NULL) (38.26.56.3)
File R-1.1.0/src/appl/lbfgsb.c --
Comment in code says two papers describing underlying math are in
ftp://ece.nwu.edu/pub/lbfgs/lbfgs_bcm/
but that directory seems not to exist.
(Actually, the comment does not give a URL - it just says
to look in that directory on that FTP server.)
Paper [1] does
2000 Feb 03
2
How to include TeX formulae in R plots?
Hi, all
Does anybody know if it is possible to include TeX-style formulae
in R plots? The aim is to export such plots to LaTeX documents
using the postscript() device.
Many thanks in advance,
Alberto Munoz
---------------------------------------------------------------------
Alberto Munoz Phone: +34-91- 624 95 79
Dpto. de Estadistica y Econometria Fax: +34-91- 624
2002 Jan 28
1
Symbol referencing errors...
This is the error I get when trying to install R-1.3.1 on my Solaris 2.6
box. Any assistance would be greatly appreciated.
g77 -g -O2 -c xxxpr.f -o xxxpr.o
gcc -o R.bin CConverters.o Rdynload.o RNG.o apply.o arithmetic.o
array.o at
trib.o bind.o builtin.o character.o coerce.o colors.o complex.o
connections.o
context.o cov.o cum.o dcf.o datetime.o debug.o devPS.o devPicTeX.o
deparse.o d
2020 May 04
1
error in message printed by L-BFGS-B
Hi
I have a FORTRAN version of the L-BFGS-B algorithm and I was comparing it
to the code in the lbfgsb.c file available at R-4.0.0.tar.gz
Everithing looks the same, except for those two lines that must be printed
by the prn3lb function in case of an error (lines 3559 and 3561 in
lbfgsb.c):
case -5: Rprintf("l(%d) > u(%d). No feasible solution", k, k); break;
case -7:
2008 Jan 19
1
R_alloc segfaults
I want to write a little stand-alone C program that calls R_alloc, but
I get a segmentation fault:
int main(int argc, char** argv){
double* d = (double *)R_alloc(2, sizeof(double)); // <- segmentation fault!
return 0;
}
gdb reveals that sizeof(double) evaluated to 0:
> R_alloc (nelem=2, eltsize=0) at memory.c:1649
so it results in the segfault later.
This is how I compile my