search for: dyn

Displaying 20 results from an estimated 1534 matches for "dyn".

Did you mean: dan
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 r...
2006 May 15
3
Dyn or Dynlm and out of sample forecasts
All: How do I obtain one step ahead out-of-sample forecasts from a model using "dyn" or "dynlm" ? Thanks! Best, John [[alternative HTML version deleted]]
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 docume...
2005 Jun 08
0
New CRAN package dyn
dyn is an R package that facilitates the use of regression using time series data with lags and diffs (known as dynamic regression). It is a lightweight package that has no facilities of its own but leverages off the various time series and regression functions in R to make it easier to use them toget...
2005 Jun 08
0
New CRAN package dyn
dyn is an R package that facilitates the use of regression using time series data with lags and diffs (known as dynamic regression). It is a lightweight package that has no facilities of its own but leverages off the various time series and regression functions in R to make it easier to use them toget...
2006 Jul 11
0
Assistance with dll's to use with dyn.load
...ybe one of you would know ... What I want to do: I have two fortran files MC.f and ESCA.f. In MC.f there is a call to a routine called lpost. This routine (lpost) is defined (among other things) in ESCA.f. Under linux, I can do the following: R CMD SHLIB MC.f and R CMD SHLIB ESCA.f followed by dyn.load("ESCA.so",local=FALSE) dyn.load("MC.so") (see point LINUX for some more) Under windows, trying to Rcmd SHLIB MC.f will either: also compile ESCA.f and then run dlltools with ESCA.o yielding one MC.dll (if ESCA.f is in the same directory as MC.f) or fail since the symb...
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 cod...
2010 May 20
7
[pv_ops] e1000e: "Detected Tx Unit Hang"
Hello, my server has massive problems with my NIC. I got: "Detected Tx Unit Hang". At the moment I use 2.6.31 from Jeremy, does anyone know if it''s fixed in 2.6.32 or newer tree? Regards, Stefan Kuhne _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
2005 May 01
0
dll symbol loading: possible bug
Dear R-devel, I think the following describes a bug in R. It seems to be associated with dyn.load() and/or something that happens at start-up. I have not filed a bug report yet (because I doubt my ability to rule out other explanations) but would happily do so if requested. Observation: If two dlls are loaded as a result of dyn.load() calls in .Rprofile, subsequent calls to dyn.load()...
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...
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:/...
2018 Mar 01
2
Repeated use of dyn.load().
I am working with a function "foo" that explicitly dynamically loads a shared object library or "DLL", doing something like dyn.load("bar.so"). This is a debugging exercise so I make changes to the underlying Fortran code (yes, I acknowledge that I am a dinosaur) remake the DLL "bar.so" and then run foo again. This...
1997 Jul 24
1
R-beta: dyn.load: incompatability between R and S
...ocs/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() { dyn.load("/homef/jonm/postdocs/GLMM_project/Cprogs/nn/misc.o") dyn.load("/homef/jonm/postdocs/GLMM_project/Cprogs/nn/random.o") dyn.load("/homef/jonm/postdocs/GLMM_project/Cprogs/nn/ars.o") .... works fine. However, in R although the first two statements execute OK,...
2000 Sep 06
2
reusing external functions across libs
Hi, I am searching for a way to solve the following problem: I want to use an external function, defined in a dyn.load()ed shared object, in another dyn.load()ed shared object. Currently I have to take the sources (Fortran) from one libraries src/ directory and copy them into the src/ dir of the other library, resulting in two copies of this function. This is bad for maintanance and maybe also for runtime beh...
2007 Feb 09
2
dyn.load problem 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 details are below). Thanks a lot for your work (it is an invaluable resource). Best, domenico The library is called POP.R. I installed it but I have the following error when I try to load it: ------------------------------------------------------------------------------...
2001 Feb 20
0
dyn.load() and dyn.unload() under Windows
...src/gnuwin32 -lR The file weaklink.def made by mingw32 looks like this: ; dlltool --export-all-symbols --output-def weaklink.def weaklink.o EXPORTS sann @ 1 ; combn2 @ 2 ; In the file D:\Rw1021\library\weaklink\R\weaklink, I have this function: .First.lib <- function(lib, pkg) { library.dynam("weaklink", pkg, lib) require(MASS) } In weaklink.c, there are two functions declared, as __declspec (dllexport) SEXP sann(SEXP input); __declspec (dllexport) SEXP combn2(SEXP input); Shouldn't BOTH exported symbols exported be loaded into R? Well, here is what I get: > lib...
1998 May 14
1
R-beta: How do I dyn.load in R for Windows95?
...nment, with no prior experience of S or S-Plus either. I want to run some functions written for S-plus and residing in a file "cat.s". The fuctions also call some Fortran routines residing in a compiled fortran file "cat.obj" In S-Plus as I understand it I am supposed to first dyn.load("cat.obj") then source("cat.s") in order to run the added functions. When I am trying this in R it seems that the R dyn.load expects a directory name (according to the html help-page) whereas S-Plus expects a file name. A dyn.load("cat.obj") referencing the fi...
2006 Nov 15
4
dyn.load (PR#9364)
Full_Name: Jonathan Tuke Version: 2.4.0 OS: Mac OS X 10.4.8 Submission from: (NULL) (203.173.46.189) I am writing C code to implement in R. I am using R CMD SHLIB and then dyn.load("file.so"). The function I then call with .C("function"). Since I installed the latest R version, I have found that if I alter my C code and recompile, then use dyn.load("file.so"), the function in R is not updated but remains as the previous code. I have tried dy...
2009 Jul 23
3
how to predict dynamic model in R
I have a dynamic time series model like this: dyn$lm( y ~ lag(y,-1) + x + lag(x,-1)+lag(x,-2) ) I need to do an out of sample forecast with this model. Is there any way I can do this with R? It would be greatly appreciated if some one can give me an example. Thanks. Harry [[alternative HTML version deleted...
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: ?...