Displaying 20 results from an estimated 10000 matches similar to: "R-beta: How do I dyn.load in R for Windows95?"
1997 Jul 24
1
R-beta: dyn.load: incompatability between R and S
I have C routines in a collection of files
"/homef/jonm/postdocs/GLMM_project/Cprogs/nn/misc.o"
"/homef/jonm/postdocs/GLMM_project/Cprogs/nn/random.o"
"/homef/jonm/postdocs/GLMM_project/Cprogs/nn/ars.o"
... etc , where the third file includes functions which call
functions in the second.
In S, the function
> gload
function()
{
2018 Mar 01
1
Repeated use of dyn.load().
Good question Rolf.
Rui, thanks for pointing out dyn.unload.
When I started using Rcpp a couple of years ago I got burned by stale .so
enough times that I adopted a policy of recompile-then-start new R session.
My workflow does not include Rolf's "brazillion" repeats, so the overhead
of this approach has not been too painful.
The documentation for dyn.unload (via ?dyn.unload)
1998 Oct 01
2
R-beta: dyn.load() on a Linux Red Hat 3.0.3 system
I'm trying to install R on a Red Hat 3.0.3 system, but cannot seem to
get dyn.load() to fuction.
The configure script says:
checking for dlopen in -ldl... no
And compiling fails at
../lib/libunix.a
Any suggestions? What should I do to be able to use dyn.load()? I
cannot upgrade the system to a higher version of Red Hat, but I will
probably get away with installing some new
2002 Jun 28
3
rw1051 binary dist missing dyn.load documentation (PR#1719)
The binary package (version of 6/17) of rw1051 for Windows is missing
html documentation for dyn.load() The file is present in
$R_HOME/library/base/html, but has zero bytes. dyn.load help IS
accessible through the windows help system.
platform i386-pc-mingw32
arch i386
os mingw32
system i386, mingw32
status
major 1
minor 5.1
year 2002
month 06
day 17
language R
2001 Jan 05
1
dyn.load the same code more than once?
Hi. I'm still working on figuring out why some C code that interfaced
nicely with R-1.1.1 is causing segmentation faults in R-1.2.0. Brian
Ripley advised me that R-1.2.0 can be more sensitive to array overruns
than was R-1.1.1, so I'm looking for overruns. But in the course of
running R with a debugger I've come across something else.
Without thinking about it much, I put the
2010 May 21
1
dyn.load() strange behavior
Hello,
I am observing the following strange behavior when I try to
load a shared library using dyn.load() under Linux...
The library foo.so refers to a symbol in another package bar
(with shared library bar.so), I get:
dyn.load('foo.so') # error message because I forgot to load bar
library(bar) # so I fix it
dyn.load('foo.so') # works this time and everything is fine
But, if
1998 Oct 10
0
R-beta: dyn.load update
Hi Guido,
As you may have seen from my other message, I am now running Win95 B but
am still getting the dyn.load failure already reported. So far as I can
see, the problem is in the DLL files, not the R.exe.
I have two versions, your version built with the cross-compiler, and one
built with Mingw32 version 1.02 (1.1 has an additional problem). Your
cross build version works fine. My locally
2000 Apr 26
2
Cross compiling a package for Windows on Linux
I would like to compile for Windows a rather simple R package that
contains some C code. It does not contain any Fortran code.
I tried the cross-compilation route using the pre-built set of tools
from http://www.devolution.com/~slouken/SDL/Xmingw32/, as described in
$R_SRC/src/gnuwin32/INSTALL
Using the sources in r-devel from the rsync site I am able to build
libR.a in src/gnuwin32 but I
2018 Mar 01
0
Repeated use of dyn.load().
Hello,
In such cases, with C code, I call dyn.unload before loading the
modified shared lib again.
I don't know if this changed recently, but it used to be needed or else
R wouldn't load the new lib. When I call dyn.unload followed by dyn.load
I never had problems.
(Or the other way around, call dyn.unload before modifying the C code.)
Hope this helps,
Rui Barradas
On 3/1/2018 8:52
2003 May 16
1
Reloading a shared library with dyn.load
Hi,
I'm using dyn.load to load a shared library (compiled from C
code) into R. If I dyn.unload it and then dyn.load it again, I
get an hourglass icon in Rgui (R 1.7.0, Win 2000), and it
just sits there forever. I can't press Escape to stop the
current computation, but I can close Rgui without resorting to
using the Task Manager.
Is it a problem with my use of R_alloc? Do I need
1998 Nov 28
2
dyn.load and/or add new package (Windows 98)
Hi,
I have been trying to dyn.load a library (rq.obj), which will allow me to run
a quantile regression function, but so far unsuccessfully.
I have tried under windows 98 and R 6.24:
1) dyn.load("d:\\...\\rq.obj")
2) dyn.load("d:\...\rq.obj")
3) 1 and 2 accounting for case sensitivity.
4) dyn.load("d:/.../rq.obj")
5) Place the files in the directory where from I
2007 Feb 09
2
dyn.load problem under linux
Dear HelpeRs,
I am trying to use an thirdy-part library under Linux (the library is
developed
both for Windows and for Linux).
I have tried different solutions (with the library developer) but we are
not able to
solve the problem. So I try to ask for your help in order to escape from
the full stop
where we are at the moment.
The problem looks to depend on the dyn.load function (technical
2007 Dec 23
2
Problem with dyn.load'ed code
Hi,
I am having trouble with some code that I am dyn.loading. I am
writing an interface to ARPACK. I compile my interface (dssimp.cc), and
link it against the ARPACK library (libarpack_SUN4.a):
g++ -shared -static -fPIC dssimp.cc -o dssimp.so -larpack_SUN4 -lg2c -lm
I can dyn.load the code and it appears OK. However, when I call my
function, the call to the function in the ARPACK library
2002 Apr 16
1
Problem with dyn.load()
I tried to dynamically load a c++ function. Everything seems to be OK
when dyn.load() is executed but then I get this error
Error in .C("integral", sumInMean, sumInVar, boundError,
numberSampleClasses, :
C/Fortran function name not in load table
The code of the function is something like this:
#include <cmath>
extern "C" {
#include
2023 Feb 01
2
dyn.load(now = FALSE) not actually lazy?
On Linux, if I have a .so file that has a dependency on another .so, and I
`dyn.load(now=FALSE)` the first one, R seems to try to resolve the symbols
immediately, causing the load to fail.
For example, I have `libtorch` installed on my HPC. Note that it links to
various libs such as `libcudart.so` and `libmkl_intel_lp64.so.2` which
aren't currently in my library path:
? ~ ldd
2000 Jun 19
2
dyn.load error:
Hi,
I have some S functions plus Fortran routines that I want to use in R.
They work in S, but when I try to use "dyn.load" to link fortran codes in
R , I get the following error.
thanks, reza
(I am using R-1.0.1 on windows NT, The name of fortran file (compiled
Ratfor) is deldirld.o and it's in the D:\Reza\476\tv.gonsrc.R\ directory)
>dyn.load("deldirld.o")
Error in
2005 Apr 27
1
dyn.load(), DLL, Fortran, TLNise software
Dear all,
I would like to call TLNise ("Two-Level Normal indipendent sampling estimation")
software within R.
This software estimates a hierarchical model and it can be download from
Philip Everson's website at
"http://www.swarthmore.edu/NatSci/peverso1/TLNise/tlnise.htm".
The TLNise software consists of:
1) a Fortran source code (tlnisemv1.f) and
2) a Splus code
2009 Sep 17
1
dyn.load search path?
Sorry if this is somewhere in the fine manuals but I've been unable to locate
it.
Does dyn.load use a search path or does it just look in the current
directory for non-fully-qualified filenames? If there is a search path, what
is it?
Thanks for your help
--
View this message in context: http://www.nabble.com/dyn.load-search-path--tp25492214p25492214.html
Sent from the R help mailing list
2005 Jul 06
1
dyn.load in linux: missing libraries?
Hi,
I've just about got myself transferred from windowsXP to Linux (Mepis
3.3.1-1). I've got R 2.1.1, emacs, and ess running from the debian
repositories. Of course, there is a hitch. I have a bit of C code in one
of my personal functions. I have, apparently without problem, been able
to compile it using R CMD SHLIB, but when I try to dyn.load it I get the
following error:
>
2013 Apr 24
1
dyn.load inside a package in R >= 3.0
Hello,
I am trying to port a package that was built for R 2.15 over to R 3.0. This package has an Initialize method that uses dyn.load to load a dll that was built separately, and then uses .C() to make calls on the functions in that dll. This worked fine in 2.15, however, I see that now for 3.0 .C() will only search in the namespace of your current package. This seems to make it impossible to use