Displaying 20 results from an estimated 10000 matches similar to: "How to detach binary objects/libraries?"
2009 Feb 19
1
How to unload a dll loaded via library.dynam()?
Hello. To save the hassle of quitting and restarting R every time I rebuild the package I'm working on (for the purposes of this question called "roots") I would like to write a script cleanly remove the package from my R session and then load it again. Of course detach("package:roots") works for the native R objects in the package. However, the compiled C library remains
2009 Feb 19
1
How to unload a dll loaded via library.dynam()?
Hello. To save the hassle of quitting and restarting R every time I rebuild the package I'm working on (for the purposes of this question called "roots") I would like to write a script cleanly remove the package from my R session and then load it again. Of course detach("package:roots") works for the native R objects in the package. However, the compiled C library remains
2009 Jul 16
1
detach and install package
Hi R-users,
I would like to detach and installed the fBasics package but it gives me this message:
> detach("package:fBasics",unload=TRUE)
Error in detach("package:fBasics", unload = TRUE) : invalid name
> install.packages(repos=NULL,pkgs="c:\\Tinn-R\\fBasics_2100.77.zip")
package 'fBasics' successfully unpacked and MD5 sums checked
Warning:
2012 Oct 10
1
Change transport type on volume from tcp to rdma
Hello
I have two peers setup and working with x2 bricks each. They have been
working via tcp for the last 4-5 months.
I just got two Infiniband cards and put the on the peers. I want to
change the transport type to rdma instead of tcp but I don't see an easy
way to do this.
Can you please help me with proper instructions.
Best Regards
Ivan Dimitrov
2004 Mar 22
5
detach()
I got bitten recently by the following behaviour of detach();
> save(file="Junk")
> attach("Junk")
> search()
[1] ".GlobalEnv" "file:Junk" "package:methods" "package:ctest"
[5] "package:mva" "package:modreg" "package:nls" "package:ts"
[9]
2013 Feb 02
1
best practice for packages using mclapply to avoid tcltk
Dear R-devel friends:
I'm back to bother you again about the conflict between mclapply and
tcltk. I've been
monitoring several packages that want to use mclapply to parallelize
computations and
need to figure out what should be done.
It appears tcltk cannot be safely unloaded, so the best we can do is
check for the presence of tcltk and stop if it is found before
mclapply() is used.
I
2006 Jul 07
6
parametric proportional hazard regression
Dear all,
I am trying to find a suitable R-function for
parametric proportional hazard regressions. The
package survival contains the coxph() function which
performs a Cox regression which leaves the base hazard
unspecified, i.e. it is a semi-parametric method. The
package Design contains the function pphsm() which is
good for parametric proportional hazard regressions
when the underlying base
2006 Feb 08
2
Using .onUnload() to unload compiled code
If one wants to unload compiled code for a package containing a namespace, my understanding is that .onUnload() should be used, with a call to library.dynam.unload(). This is used in e.g., the stats and methods packages, but it appears to me that the compiled code is not being unloaded when the package is detached(). Am I misunderstanding something?
Best,
Jim
> search()
[1]
2009 Aug 13
1
segfault when unloading a shared library
Hi All,
I'm still actively researching this problem (reading R-ext manual),
but I hoped that I might be able to get some additional insight from
the list given that I'm fairly new at writing R extension code.
Problem: I have some fairly simple code (.Call interface) that makes
a call to another shared library, which, in turn, calls routines in an
HDF5 shared library. The good news
2000 Sep 05
2
how to detach a library?
Dear R-users,
What command do I need to use to detach a library?
(without restart the R session).
Thanks,
Agus
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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:
2006 Aug 25
5
Quickie : unload library
Dear list,
I know it must be obvious and I did my homework. (In fact I've
RSiteSearched with keyword "remove AND library" but got timed
out.(why?)....)
How do I unload a library? I don't mean getting ride of it permanently
but just to unload it for the time being.
A related problem : I have some libraries loaded at startup in .First()
which I have in .Rprofile. Now, I exited R
2018 Nov 09
4
collectd leaks SIGCHLD == SIG_IGN into plugins
Peter Dimitrov and myself were debugging a very peculiar bug when
libguestfs is run as a plugin from collectd:
https://www.redhat.com/archives/libguestfs/2018-November/thread.html#00023
The long story short is that collectd leaks SIGCHLD == SIG_IGN setting
into plugins:
https://www.redhat.com/archives/libguestfs/2018-November/msg00095.html
This means that any plugin that does the usual
2009 Dec 11
4
rsync hangs during transfer
I am running the following rsync command to synchronize directories
between two servers:
rsync -axvz --delete-after -e ssh /SRCDIR/ blabla at DEST:/DESTDIR
The transfer starts and after a short while it appears to hang after
some files have been transferred. The process establishes connection on
both sides so I did an strace from the remote machine (using the
rsync-debug script as described in
2003 Apr 01
1
Load and unload libraries
Hi all,
I'm having some problems in loading libraries. I wonder if anyone can
help me with this.
I have created two libraries with the same name at different locations.
I want to use both of them, one at a time.
So I do:
library(mylib,lib.loc1)
(....)
detach('package:mylib')
library(mylib,lib.loc2)
The problem is that, after this, the used library is still the one first
loaded.
2018 Nov 08
2
Re: guestfs_launch() fails when C application is started as a systemd service
Here are strace outputs per process.
strace_output.22076 is the plugin's pid. (A little before forking)
strace_output.22077 runs qemu-img
strace_output.22078 is a mystery to me
strace_output.22079 is rm -rf to the overlay image and its temporary dir.
Best Regards,
Peter
On Wed, Nov 7, 2018 at 4:38 PM Richard W.M. Jones <rjones@redhat.com> wrote:
> On Wed, Nov 07, 2018 at
2006 Jul 26
2
Install R-patched_2006-07-13 on i386-pc-solaris2.10 with Sun Studio 11
Dear R-developers:
I'm trying to build a 64-bit R-patched_2006-07-24 on SunFire V40z with
on Solaris OS 10 64-bit kernel and using Sun Studio 11 compilers.
Everything runs OK until it gets to building package tools (all.R) where
it fails. Bellow is how I tried it (I can provide any other additional
info if needed). Any help please?
Thank you very much
Latchezar Dimitrov
Wake Forest Univ.
2018 Apr 30
1
Unable to detach disk using 'virsh detach-disk'
I'm unable to detach a disk from a Windows guest using the 'virsh
detach-disk' command.
Even though 'domblklist' shows the disk attached, and on the FIRST
iteration, it says the command "completed successfully," 'domblklist
will still show the disk attached and subsequent 'detach-disk' commands
fail with 'no disk found whose source path or target
2012 Jul 24
1
Finding dynamic shared libraries loaded with a package
Is there a way to query a package to see what dynamic shared libraries are
loaded with it?
The reason I ask is because during development, I want to unload libraries
so that they can be reloaded without restarting R. I want to make it
automatic so that you can just pass in the name of the package, and it will
unload all the relevant shared libraries.
Typically, the name of the shared library is
2007 Jul 03
2
reinforce library to re-load
Hi,
I am wondering if there is a parameter in library() so that it can
reinforce package to be reloaded. It helps when you test your modified
package by yourself. Otherwise, my way is to re-start Rgui.
(by reading ?library, I understand this option is not implemented)
"...Both functions check and update the list of currently loaded
packages and do not reload a package which is already
2007 Jul 03
2
reinforce library to re-load
Hi,
I am wondering if there is a parameter in library() so that it can
reinforce package to be reloaded. It helps when you test your modified
package by yourself. Otherwise, my way is to re-start Rgui.
(by reading ?library, I understand this option is not implemented)
"...Both functions check and update the list of currently loaded
packages and do not reload a package which is already