search for: rlapack

Displaying 20 results from an estimated 46 matches for "rlapack".

Did you mean: lapack
2009 May 12
0
[Fwd: Re: Problem at instaling robustbase (Rlapack)]
...Message 1----- > Dear Martin, > I'm trying to install packages robustbase and mvoutlier on ubuntu 8.04 > but get the following problem: > gcc -std=gnu99 -shared -o robustbase.so R-rng4ftn.o init.o lmrob.o mc.o qn_sn.o rf-common.o rffastmcd.o rfltsreg.o wgt_himed.o -L/usr/lib/R/lib -lRlapack -lblas -L/usr/lib/gcc/i486-linux-gnu/4.2 -lgfortran -lm -L/usr/lib/gcc/i486-linux-gnu/4.2 -lgfortran -lm -L/usr/lib/R/lib -lR > /usr/bin/ld: cannot find -lRlapack > collect2: ld returned 1 exit status > > Nevertheless, I do have Rlapack: > ~$ R CMD config LAPACK_LIBS > -L/usr/lib...
2003 May 01
1
ldAIX4 does not generate Rlapack.exp (PR#2893)
..._Name: Richard L. Grubb Version: 1.7.0 OS: AIX 4.3.3 Submission from: (NULL) (130.76.96.17) src/modules/lapack/Makefile executes the tools/ldAIX4 script and supplies, as arguments to ldAIX4, several object file names with filename extensions of .lo. The ldAIX4 script did not generate the file etc/Rlapack.exp until I changed ldAIX4 as follows: Original context: # Check for object or archive files ofiles="" for arg; do case $arg in *.o) ofiles="$ofiles $arg";; esac case $arg in *.a) ofiles="$ofiles $arg";; esac done Changed context: # Check for object or archiv...
2009 May 12
0
[Fwd: Re: Problem at instaling robustbase (Rlapack) (2)]
Martin, Although I did remove the ln libRlapack.so -> ./lapack.so and sudo apt-get install r-cran-robustbase went fine (as does if the installation is done through Synaptic), once I start R I get: > require(robustbase) Loading required package: robustbase Error in dyn.load(file, DLLpath = DLLpath, ...) : unable to load shared library...
2007 Apr 11
1
Calling LAPACK functions directly from R
I am interested in tapping into LAPACK functionality directly from R. Using R-2.4.1 for Windows, I was able to do so ala: dyn.load("bin/Rlapack.dll") is.loaded("dstebz") # returns TRUE N <- 100 NW <- 4 n.tapers <- 5 tpW <- (2 * pi * NW)/N otNmo <- 1:N D <- as.double(cos(tpW) * ((N - 1 - 2 * (0:(N - 1)))/2)^2) E <- as.double((otNmo * (N - otNmo))/2) z <- .Fortran("dstebz", "I",...
2007 Jun 14
1
LAPACK Headers
...esv from within my C code, but I do get warning when compiling the package saying: ***.c: In function '***': ***.c:37: warning: implicit declaration of function 'La_dgesv' ***.c:37: warning: assignment makes pointer from integer without a cast I tried using: #include <Rmodules/Rlapack.h> but it won't compile the package at all with that included, complaining that ***.h:5:30: error: Rmodules/Rlapack.h: No such file or directory Can someone explain to me how I should include the headers to this AWESOME wrapper code to the LAPACK libraries? Am I not following the proper...
2019 Sep 12
2
Fw: Calling a LAPACK subroutine from R
...X1 <- diag(2,2) > x1 <- rep(2,2) > # X1;x1 > z <- solve(X1,x1) > </code> another way is to use directly dyn.load(): lapack.path <- paste0(file.path(R.home(), ifelse(.Platform$OS.type == "windows", ???????? file.path("bin", .Platform$r_arch, "Rlapack"), file.path("lib", "libRlapack"))), ???????? .Platform$dynlib.ext) dyn.load(lapack.path) followed by your code. Best, Serguei. > > followed by the rest of your script. > You will get a warning (I do) that "passing a character vector to .Fortran is not...
2018 Mar 26
1
R Lapack – why a subset?
...nes? From my own experience (https://bugs.r-project.org/bugzilla/show_bug.cgi?id=16482 <https://bugs.r-project.org/bugzilla/show_bug.cgi?id=16482>) this is a painful process. And while users may not call these complex routines directly, R is often used as a front-end for libraries that do, so Rlapack-related linking errors are arising more and more. Is the cost really so high as to preclude adding the remaining Lapack routines to Rlapack? Best, Keith > On Mar 26, 2018, at 10:24 AM, Peter Dalgaard via R-devel <r-devel at r-project.org> wrote: > > I'm not too happy with th...
2005 Feb 21
1
Problems Building R on AIX 5.2.0.0
...ns of the R manuals configure: WARNING: I could not determine a browser configure: WARNING: I could not determine a PDF viewer $ make <snip> gcc -Wl,-bM:SRE -Wl,-H512 -Wl,-T512 -Wl,-bnoentry -Wl,-bexpall -Wl,-bI:. ./../../etc/R.exp -L/usr/local/lib -o lapack.so -Wl,-bI:../../../etc/Rlapack.exp Lapack.lo rgeev.lo rsyev.lo -L../../../lib -lRlapack -L/usr/local/lib -L/usr/ local/lib/gcc-lib/powerpc-ibm-aix5.2.0.0/3.3.2 -L/usr/local/lib/gcc-lib/powerpc- ibm-aix5.2.0.0/3.3.2/../../.. -lfrtbegin -lg2c -lm -lgcc_s /usr/local/lib/gcc- lib/powerpc-ibm-aix5.2.0.0/3.3.2/libgcc.a -lg -ldl -lt...
2009 Mar 21
2
How to change Rlapack by lapack (for rpy2 installation)?
...omeone tells me exactly what to modify). I have R 2.8.1 on 2 machines running ubuntu 8.04 (packages R-base and R-base-dev, among others, installed using Synaptic) and while the installation of rpy2 went fine on machine1, failed on machine2 with: python setup.py install /usr/bin/ld: cannot find -lRlapack collect2: ld returned 1 exit status error: command 'gcc' failed with exit status 1 I think that the reason is that while on machine1 I get: R CMD config LAPACK_LIBS -llapack on machine2 I get R CMD config LAPACK_LIBS -L/usr/lib/R/lib -lRlapack Could someone tell me (or point me to a rele...
2009 May 12
2
ubuntu problem with 'r-cran-robustbase' [FWD Agustin Lobo]
...bustbase' and its setup or (missing?) dependencies. I can confirm Agustin's problem, working on Ubuntu 8.04.2 (8.04 is a "LTS" = long time support version). apt-get install r-cran-robustbase works fine, but when trying to load the package, there's a DLL - dependency on libRlapack.so which is not fulfilled (and not fulfillable: There's *no* libRlapack.so). For me, $ /usr/bin/R CMD config LAPACK_LIBS -llapack and lapack.so is found inside /usr/lib/R/modules/ and liblapack.so from the 'lapack3' Debian/Ubuntu package is simply in /usr/lib/libpack.so Cou...
2010 Nov 14
3
LAPACK libraries improperly linked
...gebra routines 3 - static version ii liblapack3gf 3.2.1-8 library of linear algebra routines 3 - shared version [ 44 ] <wow> (ron) --------I did see a message indicating "Also do 'ldd /usr/lib/R/bin/exec/R' and make sure you do _not_ have a depends on Rlapack.so. ....": [ 47 ] <wow> (ron) ldd /usr/lib/R/bin/exec/R linux-gate.so.1 => (0x00533000) libR.so => /usr/lib/libR.so (0x0073e000) libc.so.6 => /lib/libc.so.6 (0x00110000) libf77blas.so.3gf => /usr/lib/libf77blas.so.3gf (0x00ed4000) libatlas.so.3gf =...
2010 Nov 13
1
LAPACK lib problem, lme4, lastest R, Linux
...tatic version ii liblapack3gf 3.2.1-8 library of linear algebra routines 3 - shared version [ 44 ] <wow> (ron) --------I did see a message indicating "Also do 'ldd /usr/lib/R/bin/exec/R' and make sure you do _not_ have a depends on Rlapack.so. ....": [ 47 ] <wow> (ron) ldd /usr/lib/R/bin/exec/R linux-gate.so.1 => (0x00533000) libR.so => /usr/lib/libR.so (0x0073e000) libc.so.6 => /lib/libc.so.6 (0x00110000) libf77blas.so.3gf => /usr/lib/libf77blas.so.3gf (0x00ed4000) libatlas.so.3gf => /usr/lib/libatl...
2005 Feb 25
1
Problems Building R on AIX 5.2.0.0 (Update)
...e R manuals configure: WARNING: I could not determine a browser configure: WARNING: I could not determine a PDF viewer $ make <snip> gcc -Wl,-bM:SRE -Wl,-H512 -Wl,-T512 -Wl,-bnoentry -Wl,-bexpall -Wl,- bI: . ./../../etc/R.exp -L/usr/local/lib -o lapack.so -Wl,-bI:../../../etc/Rlapack.exp Lapack.lo rgeev.lo rsyev.lo -L../../../lib -lRlapack -L/usr/local/lib -L/usr/ local/lib/gcc-lib/ powerpc-ibm-aix5.2.0.0/3.3.2 -L/usr/local/lib/gcc-lib/powe rpc- ibm-aix5.2.0.0/3.3.2/../../.. -lfrtbegin -lg2c -lm -lgcc_s /usr/local/lib/gcclib /powerpc-ibm-aix5.2.0.0/3.3.2/libgcc.a -lg -ldl -l...
2004 Nov 08
3
Comments on the R-2.0.0 release (PR#7351)
...ystem, there is as yet no working Fortran compiler, and f2c fails to build there, so R cannot be expected to run. On the IBM AIX system, I get this failure: gcc -Wl,-bM:SRE -Wl,-H512 -Wl,-T512 -Wl,-bnoentry -Wl,-bexpall \ -Wl,-bI:../../../etc/R.exp -Wl,-L/usr/local/lib \ -Wl,-bE:../../../etc/Rlapack.exp -o libRlapack.so dlamc.lo \ dlapack0.lo dlapack1.lo dlapack2.lo dlapack3.lo cmplx.lo \ cmplxblas.lo \ -L/usr/local/lib/gcc-lib/powerpc-ibm-aix4.2.1.0/2.95.3 \ -L/usr/local/powerpc-ibm-aix4.2.1.0/lib -L/usr/local/lib -lg2c \ -lm \ /usr/local/lib/gcc-lib/powerpc-ibm-aix4.2.1.0/2.95.3/...
2004 Mar 26
1
Using R's LAPACK & Related files in Visual C++
I am a relative newcomer to both the R and C/C++ software worlds -- I'm taking a C Programming class currently. I noticed the other day that the C:\Program Files\R1_8_1\src\include\R_ext directory on my WinXP box has the header files BLAS.h Lapack.h Linpack.h RLapack.h I am interested in (perhaps) using one or more of these header files in a straight C program I'm working on in Visual C++ .NET. (I need matrix inversion, svd, generalized inverse, Cholesky decomposition, and a few other matrix features for a class project and this is the first time I'v...
2014 Jun 30
1
Building R on Windows: mkdir of Rtools creates directories with read-only permissions [WEIRD]
..../bin > cp Rfe.exe ../../../bin/Rscript.exe > make[1]: `COPYRIGHTS' is up to date. > make --no-print-directory -C ../modules -f Makefile.win \ > CFLAGS='-O3 -Wall -pedantic -mtune=core2' FFLAGS='-O3 -mtune=core2' > gcc -std=gnu99 -shared -s -o ../../../bin/i386/Rlapack.dll dlamch.o > dlapack.o cmplx.o init_win.o Rlapackrc.o -L../../../bin/i386 -lR > -lRblas -lgfortran > cp lapack.dll ../../../modules/i386/lapack.dll > > and there is (obviously) read permissions on those files: > > C:\R\src\gnuwin32>file ..\..\bin\i386\*.dll > ..\..\bi...
2007 Mar 29
1
Using functions in LAPACK in a C program
Hi, I wonder where I can find an example of using a function in LAPACK library in a user's own C code. I wrote a C program which will be compiled and linked to produce a DLL file and then loaded into R. I hope to use a function from LAPACK library, for example, dgesdd, in the program. Following R manual, I call the function by F77_CALL(dgesdd) in the program. The program can be compiled
2019 Dec 27
0
Providing R binaries compiled against a multithreaded BLAS like Intel MKL by default?
...https://mran.microsoft.com/download, which comes with the outdated R version 3.5.3 but also with the Intel MKL multithreaded BLAS libraries 2. Install the latest version of R from https://cran.r-project.org/bin/windows/base/, i.e. currently R 3.6.2 3. copy files libiomp5md.dll, Rblas.dll and Rlapack.dll from C:\Program Files\Microsoft\R Open\R-3.5.3\bin\x64 to C:\Program Files\R\R-3.6.2\bin\x64 (you can back up your existing default non-hyperthreaded Rblas.dll and Rlapack.dll files first if you like) 4. copy Microsoft R Open libraries/packages MicrosoftR, RevoIOQ, RevoMods, RevoUtils, RevoU...
2014 Jan 09
0
Building R on Windows: mkdir of Rtools creates directories with read-only permissions [WEIRD]
...in/R.exe mkdir -p ../../../bin cp Rfe.exe ../../../bin/Rscript.exe make[1]: `COPYRIGHTS' is up to date. make --no-print-directory -C ../modules -f Makefile.win \ CFLAGS='-O3 -Wall -pedantic -mtune=core2' FFLAGS='-O3 -mtune=core2' gcc -std=gnu99 -shared -s -o ../../../bin/i386/Rlapack.dll dlamch.o dlapack.o cmplx.o init_win.o Rlapackrc.o -L../../../bin/i386 -lR -lRblas -lgfortran cp lapack.dll ../../../modules/i386/lapack.dll and there is (obviously) read permissions on those files: C:\R\src\gnuwin32>file ..\..\bin\i386\*.dll ..\..\bin\i386\R.dll: PE32 executable fo...
2005 Mar 01
1
Problems Building Ron AIX 5.2.0.0 (Solved)
...wer > > > > > > $ make > > > > > > <snip> > > > > gcc -Wl,-bM:SRE -Wl,-H512 -Wl,-T512 -Wl,-bnoentry > -Wl,-bexpall -Wl,- bI: > > . > > > > ./../../etc/R.exp -L/usr/local/lib -o > > lapack.so -Wl,-bI:../../../etc/Rlapack.exp > > Lapack.lo rgeev.lo > > > > rsyev.lo -L../../../lib -lRlapack -L/usr/local/lib -L/usr/ > local/lib/gcc-lib/ > > powerpc-ibm-aix5.2.0.0/3.3.2 -L/usr/local/lib/gcc-lib/powe rpc- > > ibm-aix5.2.0.0/3.3.2/../../.. -lfrtbegin -lg2c -lm -lgcc_s > /usr/local/lib/...