Displaying 20 results from an estimated 2000 matches similar to: "Redundant text in help page for eigen"
2015 Feb 01
0
error code 1 from Lapack routine 'dsyevr'
On 31/01/2015 14:15, eigen wrote:
> Hi,
>
> I got an error message in my program saying
>
> "Error in eigen(gene_intersection.kernel) :
> error code 1 from Lapack routine 'dsyevr'
> Execution halted".
>
> As you see, I was trying to compute the eigenvalues of a matrix but got this
> error. Is there anyone who knows what this error means and how I
2015 Jan 31
2
error code 1 from Lapack routine 'dsyevr'
Hi,
I got an error message in my program saying
"Error in eigen(gene_intersection.kernel) :
error code 1 from Lapack routine 'dsyevr'
Execution halted".
As you see, I was trying to compute the eigenvalues of a matrix but got this
error. Is there anyone who knows what this error means and how I can fix it?
Theoretically the eigenvalues should be nonnegative, if it helps.
2008 Jun 18
2
highest eigenvalues of a matrix
DeaR list,
I happily use eigen() to compute the eigenvalues and eigenvectors of
a fairly large matrix (200x200, say), but it seems over-killed as its
rank is limited to typically 2 or 3. I sort of remember being taught
that numerical techniques can find iteratively decreasing eigenvalues
and corresponding orthogonal eigenvectors, which would provide a nice
alternative (once I have the
2009 Apr 24
1
the puzzle of eigenvector and eigenvalue
Dear all
I am so glad the R can provide the efficient calculate about
eigenvector and eigenvalue.
However, i have some puzzle about the procedure of eigen.
Fristly, what kind of procedue does the R utilize such that the eigen
are obtained?
For example, A=matrix(c(1,2,4,3),2,2)
we can define the eigenvalue lamda, such as
det | 1-lamda 4 | =0
| 2 3-lamda |
then
2003 Apr 18
1
Problem with eigen() and LAPACK
Hi all,
when testing the new improvements in the new 1.7.0-version I stumbled
over the following:
>eigen(matrix(c(0,.3,2,.9),2,2))
Error in eigen(matrix(c(0,.3,2,.9),2,2)) :
LAPACK routine DGEEV gave error code -13
>eigen(matrix(c(0,.3,2,.9),2,2),EISPACK=TRUE)
$values
[1] 1.3458236 -0.4458236
$vectors
[,1] [,2]
[1,] -1.1436890 -0.9760443
[2,] -0.7696018
2009 Mar 25
2
Listing of LAPACK error codes
Professor Ripley commented on LAPACK error codes:
https://stat.ethz.ch/pipermail/r-help/2007-March/127702.html and says
"Internal LAPACK errors are usually problems with arithmetic accuracy,
and as such are compiler- and CPU-specific."
Is there a listing for the error codes from Lapack routine 'dsyevr'?
Especially I am interested about the meaning and handling of error codes 1
2006 Oct 18
1
Calculation of Eigen values.
Dear all R users,
Can anyone tell me to calculate Eigen value of any real symmetric matrix
which algorithm R uses? Is it Jacobi method ? If not is it possible to get
explicit algorithm for calculating it?
Thanks and regards,
Arun
[[alternative HTML version deleted]]
2017 May 10
3
registering Fortran routines in R packages
Thanks for your email.
I try to change the name in lowercase but it conflicts with a C implementation also named halton. So I rename the C function halton2() and sobol2() while the Fortran function are HALTON() and SOBOL() (I also try lower case in the Fortran code). Unfortunately, it does not help since I get
init.c:97:25: error: use of undeclared identifier 'halton_'; did you mean
2004 Nov 05
1
fast partial spectral decompositions.
hello,
i want to compute the top k eigenvalues+eigenvectors of a (large)
real symmetric matrix. since it doesn't look like any top-level R
function does this, i'll call LAPACK from a C shlib and then
use .Call. the only LAPACK function i see to do this in
R_ext/Lapack.h is dsyevx. however, i know that in LAPACK dsyevr
can also return a partial eigendecomposition. why is dsyevr not
2004 Nov 05
1
fast partial spectral decompositions.
hello,
i want to compute the top k eigenvalues+eigenvectors of a (large)
real symmetric matrix. since it doesn't look like any top-level R
function does this, i'll call LAPACK from a C shlib and then
use .Call. the only LAPACK function i see to do this in
R_ext/Lapack.h is dsyevx. however, i know that in LAPACK dsyevr
can also return a partial eigendecomposition. why is dsyevr not
2015 Feb 02
0
error code 1 from Lapack routine 'dsyevr'
You can start diagnosing the problem by capturing the matrix that caused
eigen() to stop. You can do this in a variety of ways; here is one
trace(eigen, quote(lastEigenX <<- x))
After setting the trace, make your offending function call and after the
error the global variable 'lastEigenX' will contain the bad matrix. Take
the trace off of eigen
untrace(eigen)
If all goes
2007 Mar 16
1
error code 5 from Lapack routine 'dsyevr'
While using the rmvnorm function, I get the error:
Error in eigen(sigma, sym = TRUE) : error code 5 from Lapack routine
'dsyevr'
The same thing happens when I try the eigen() function on my covariance
matrix. The matrix is a symmetric 111x111 matrix. Well, it is almost
symmetric; there are slight deviations from symmetry (the largest is
3e-18). I have this in an MCMC loop, and it
2017 Sep 16
2
require help
You can just use the same code that I provided before but now use your
dataset. Like this
df <- read.csv(file="data2.csv",header=TRUE)
dates <- as.Date(paste(df$year,"-01-01",sep=""))
myXts <- xts(df,order.by=dates)
head(myXts)
#The last command "head(myXts)" shows you the first few rows of the xts
object
year cnsm incm wlth
2012 Nov 22
1
Data Extraction - benchmark()
Hi Berend,
I see you are one of the contributors to the rbecnhmark package.
I am sorry that I am bothering you again. I have tried to run your code (slightly tweaked) involving the benchmark function, and I am getting the following error message. What am I doing wrong?
Error in benchmark(d1 <- s1(df), d2 <- s2(df), d3 <- s3(df), d4 <- s4(df), :
could not find function
2015 Feb 02
1
error code 1 from Lapack routine 'dsyevr'
On 2 February 2015 at 10:07, William Dunlap <wdunlap at tibco.com> wrote:
<snip>
>
> If all goes well then
> eigen(lastEigenX)
> will cause the same error and you or someone on this list can see what
> is odd about that matrix (e.g., by looking at its singular values).
Preferably *not* this list as this doesn't really seem to be about
developing R or with/for
2017 Sep 16
0
require help
oky.. thank you very much to all of you
On Sat, Sep 16, 2017 at 2:06 PM, Eric Berger <ericjberger at gmail.com> wrote:
> You can just use the same code that I provided before but now use your
> dataset. Like this
>
> df <- read.csv(file="data2.csv",header=TRUE)
> dates <- as.Date(paste(df$year,"-01-01",sep=""))
> myXts <-
2019 Sep 12
1
Calling a LAPACK subroutine from R
Followup:
I have checked my package nleqslv which uses dgemv only from Fortran, on Kubuntu 18.04 with the development version of R.
No errors or problems.
Berend
> On 12 Sep 2019, at 08:57, Berend Hasselman <bhh at xs4all.nl> wrote:
>
>
> I have tried what I proposed in a virtual Kubuntu 18.04 which uses gfortran 7.4.
> I used the latest development version of R.
>
2017 Sep 24
2
gsDesign Pocock & OBF boundary
Sorry for messed up text. Here it goes again:
I am learning to use the gsDesign package.
I have a question about Pocock and OBF boundary. As far as I can understand, these 2 boundaries require equal spacing between interim analyses (maybe this is not correct?). But looks like I can still use gsDesign to run an analysis based on unequal spacing:?
>
2015 Feb 02
5
error code 1 from Lapack routine 'dsyevr'
Thank you for your reply. Do you have any idea of how to get rid of the
errors? I tried Null function to calculate eigenvectors and nearPD to get
approximate positive definite matrix first but they also had errors.
--
View this message in context: http://r.789695.n4.nabble.com/error-code-1-from-Lapack-routine-dsyevr-tp4702571p4702639.html
Sent from the R devel mailing list archive at
2017 May 10
1
registering Fortran routines in R packages
Have you tried using tools:::package_native_routine_registration_skeleton()? If you don't like its output, you can easily edit its results and still avoid most pitfalls.
Cheers, Jari Oksanen
________________________________________
From: R-devel <r-devel-bounces at r-project.org> on behalf of Berend Hasselman <bhh at xs4all.nl>
Sent: 10 May 2017 09:48
To: Christophe Dutang
Cc: