Displaying 20 results from an estimated 10000 matches similar to: "R-beta: dyn.load() on a Linux Red Hat 3.0.3 system"
1998 Oct 16
1
Compiling on a Red Hat 5.1 system
I'm feeling kinda stupid right now, but I'm actually having problems
compiling R-0.62.3 on a Red Hat 5.1 Linux system.
I'd be happy if someone could point out for me where to look to fix the
problem. I've included the output from the compiling below. Thanks for
any help.
Fredrik
make -f Makefile.2nd all
make[1]: Entering directory `/home/fredrigl/R-0.62.3'
Building R
cd
1999 Apr 26
3
Invoking shell commands from within R
In S-Plus, one can invoke a shell command by prepending it with a "!",
e.g.:
> !ls
Is something similar available in R? Is it possible to execute shell
commands from within R?
Fredrik
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info",
1997 Jul 09
1
R-beta: Problem with `rpois'
There is a problem with `rpois'. It does seem to take care about the
order of the arguments. This is an example:
> rpois(n=1,lambda=2)
[1] 3
> rpois(lambda=2,n=1)
[1] 2 0
It obviously uses the first argument as the number of samples to be
drawn, which is wrong.
I used Version 0.49 Beta (April 23, 1997).
Fredrik
1997 Jul 09
1
R-beta: Problem with `rpois'
There is a problem with `rpois'. It does seem to take care about the
order of the arguments. This is an example:
> rpois(n=1,lambda=2)
[1] 3
> rpois(lambda=2,n=1)
[1] 2 0
It obviously uses the first argument as the number of samples to be
drawn, which is wrong.
I used Version 0.49 Beta (April 23, 1997).
Fredrik
1998 May 14
1
R-beta: How do I dyn.load in R for Windows95?
I am currently running R under Windows95.
I am entirely new to R in any environment, 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
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()
{
1997 Apr 24
1
R-beta: Inf
I read in the FAQ that `Inf'-values are not supported in R. I find
this kinda awkward, as I use `Inf' quite often in S-Plus, and hence
need to rewrite my programs to fit them into R.
Is R planned to support `Inf' in the near future?
Fredrik
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
r-help mailing list -- Read
1997 Apr 14
1
R-beta: arima
Has anybody ported the `arima'-package to R? I'm specially interested
in the `arima.mle'-thingy.
Fredrik
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To:
2005 Mar 23
1
R on red hat 2.1 problem while trying to generate image
Running R 1.9.1 under red hat 2.1 version
When I try to generate an image, we get an error as in the following
plot(rnorm(100))
Error in PS(file, old$paper, old$family, old$encoding, old$bg, old$fg, :
unable to start device PostScript
In addition: Warning message:
cannot open `postscript' file argument `Rplots.ps'
If anyone can throw some light or any pointers into why we are
1997 Nov 17
0
R-beta: Shared libraries on AIX
I've installed R on AIX. For starters, this did not work out of the
box. I got the following error message:
cd graphics; make
gcc -g -I../include -c gdevice.c
In file included from /usr/include/sys/lockf.h:41,
from /local/gnu/lib/gcc-lib/rs6000-ibm-aix4.1.3.0/2.7.2.1/include/unistd.h:354,
from /usr/include/fcntl.h:156,
from
1997 May 29
2
R-beta: WISH: For dyn.load()ing, I'd like is.loaded(.) , symbol.C, symbol.For
In S(plus), I can write functions using code fragments like
if(!is.loaded(symbol.C("my_C_fun")))
dyn.load("......../my_C_fun.o")
r <- .C("my_C_fun",
x = x,
n = n,
...
)
which I would like to have in R, too.
The S-plus help page on this subject says :
S+>> Code Availability
S+>>
S+>> DESCRIPTION:
S+>> is.loaded
2003 May 14
1
ROracle problem with Oracle9i on Red Hat 8.0
Hi,
I have a problem executing "library(ROracle)" in R:
OS/Software:
Redhat 8.0, all available patches applied
Oracle 9i v9.2.0.1.0
R v1.7.0
ROracle v0.5-0
DBI v0.1-5
The compilation and installation of ROracle went fine. However when I try to
load ROracle I get the following:
>> library(ROracle)
>Error in dyn.load(x, as.logical(local), as.logical(now)) :
> unable
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
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
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
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 is all *without* quitting and
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)
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
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
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