Displaying 20 results from an estimated 3119 matches for "detaching".
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]
2007 Apr 10
15
Poor man''s backup by attaching/detaching mirror drives on a _striped_ pool?
Hi,
one quick&dirty way of backing up a pool that is a mirror of two devices is to
zpool attach a third one, wait for the resilvering to finish, then zpool detach
it again.
The third device then can be used as a poor man''s simple backup.
Has anybody tried it yet with a striped mirror? What if the pool is
composed out of two mirrors? Can I attach devices to both mirrors, let them
2007 Sep 07
2
Automatic detachment of dependent packages
Dear All,
When one loads certain packages, some other dependent packages are
loaded as well. Is there some way of detaching them automatically when
one detaches the first package loaded? For instance,
> library(sqldf)
Loading required package: RSQLite
Loading required package: DBI
Loading required package: gsubfn
Loading required package: proto
but
> detach(package:sqldf)
>
> search()
[1] ".GlobalEn...
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 Feb 10
2
Detach devices using Libvirt+Xen
Hi!
We're struggling to get device detaching to work reliably using Xen. We can reliably use the same code to manage devices using Libvirt+KVM without any problems. We've tested this on Xen with both CD-ROM and USB devices without success. See below for detailed descriptions.
Thankful for any help!
Regards,
Daniel Espling
---
For CD-R...
2005 Jun 10
1
Exiting R and package detachment?
...alogue to on.exit() one could then define
onSessionExit <- function(fcn, ...) {
setHook("onSessionExit", fcn, ...);
}
Just curious, the above quote makes me wonder what is the rational for
the behavior? Was it made on purpose or is it simply just easier for R
to finish without detaching/unloading packages first? In what
situations to you have "clean-up" code for a package that is only called
when detach("package:<pkg>") is used? One situation I can imaging is
when a bundle of packages are loaded and when you detach the package
that all other package...
2011 Aug 20
1
Detaching LVM volume from Windows guest
Hello,
I have some difficulties regarding to above title. Windows as guest OS
is running on KVM(Ubuntu natty).
After attaching LVM volume to guest OS and did "safely remove device" in
guest windows, detaching volume was failed.
> root at localhost:/opt/win# virsh detach-disk testwin vdc
> error: Failed to detach disk
> errpr: operation failed: detaching virtio-disk2 device failed: Device
'virtio-disk2' not found
But kvm(qemu?) seems like detaching device successfully.
> root at loc...
2007 May 16
0
attach/detach asymmetry
...rally as a file name. Surprise number 3.
This is all documented behaviour (actually, I cant find any
documentation on the 'file:' prefixing), but am I the only person who
finds it inelegant? Or even downright ugly that the help page for
detach() gives this example code for attaching and detaching by name?
attach_and_detach <- function(db, pos=2)
{
name <- deparse(substitute(db))
attach(db, pos=pos, name=name)
print(search()[pos])
eval(substitute(detach(n), list(n=name)))
}
- and that doesn't work for attached data files because o...
2017 Sep 04
1
[virtual interface] detach interface during boot succeed with no changes
Hi guys,
when I detach an interface from vm during boot (vm boot not finished), it
always fail. I'm not sure if there is an existing bug. I have
confirmed with someone that for disk, there is similar behavior, if
this is also acceptable?
# virsh destroy rhel7.2; virsh start rhel7.2 ;sleep 2; virsh
detach-interface rhel7.2 network 52:54:00:98:c4:a0; sleep 2; virsh
dumpxml rhel7.2 |grep
2001 Nov 21
3
--no-detach option?
How about adding a --no-detach option (to be used in combination with
--daemon) to rsync so it can be run under Dan Bernstein's daemontools'
supervise? If there's interest I'll provide a patch.
--
Jos Backus _/ _/_/_/ Santa Clara, CA
_/ _/ _/
_/ _/_/_/
_/ _/ _/ _/
2006 Mar 16
2
Surv object in data.frame and Design package
...before loading
Design. If I include the Surv object with the I() function it seems to
work, but then there appeare the problems discussed in the posting from
yesterday "Surv object in data.frame".
The problem is solvable, but I was surprised of the unexpected
difficulties, especially that detaching Design did not solve the problem.
Is it wrong to expect that R works after detaching a package as before
loading it?
Comments?
Thanks
Heinz T?chler
## example
starttime <- c(0, 0, 1.5, 0, 2.5)
stoptime <- c(1, 1.5, 2, 2.5, 3)
event <- c(1, 0, 1, 0, 0)
ie.status <- c(0, 0, 1, 0...
2009 Jun 17
2
nut: megatec_usb shows error "ser_send_pace: Device detached" on periodically checks
Hi Alexey,
Please post the output of 'lsusb' and
'megatec_usb -a sven_625 -u nut -DDDDD'.
On Monday 15 June 2009 14:32:16 you wrote:
> Package: nut
> Version: 2.4.1-3
> Severity: normal
>
> I have a SVEN Pro+ 625 ups that uses megatec_usb driver.
> In ups.conf I describe it like:
> [sven_625]
> driver = megatec_usb
> port = auto
> desc =
1997 Aug 12
0
R-alpha: attach( <data.frame> , pos = 1) -- does not work. detach(., save=..)
[R-0.50-a3]
It seems intuitive that
attach( .., pos = 1)
is harder
than other attach()es.
But still...
If it ever will work, it is even more important to have
detach( .... , save = "VAR.name")
~~~~~~~ --------
to be working.
The documentation says that detach(.) returns invisibly.
Therefore, we don't NEED the above 'save = ' argument to detach,
since we can
2008 Dec 17
11
zpool detach on non-mirrored drive
...t to leave old drives in there to consume power as they''ve already been replaced by larger ones. However, ZFS doesn''t currently let me detach a non-mirrored device. Is this planned for the future at all? I would imagine something like this:
zpool detach --non-mirrored dev ...
detaching non-mirrored dev... wait for data to be copied
or even
zpool detach --non-mirrored dev ...
detaching non-mirrored dev... there''s not sufficient space to be able to remove dev
etc.
I hope my explanation is clear in that obviously the data would have to be copied, possibly to the new...
2018 Mar 04
1
tiering
Hi,
Have a glusterfs 3.10.10 (tried 3.12.6 as well) volume on Ubuntu 16.04 with a 3 ssd tier where one ssd is bad.
Status of volume: labgreenbin
Gluster process TCP Port RDMA Port Online Pid
------------------------------------------------------------------------------
Hot Bricks:
Brick labgfs81:/gfs/p1-tier/mount 49156 0 Y 4217
Brick
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:
2012 Aug 20
5
automatically detaching PCI host devices from guest for SRIOV usage.
...;/>
</source>
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
</hostdev>
)
The question is anyone else facing similar problem and
if so what solution was used?
Secondly , is there anyway to automate the detaching of the
VFs from the guest when the guest is put in the shutdown
sequence ? (or for that matter destroyed).
Regards,
Rajesh Kumar Mallah
Tel. 91-11-46710500 (Ext:303)
Cell +919811255597
Website: http://www.tradeindia.com/
\|/ \|/ \|/ stop printing \|/ \|/ \|/
| | | start planting |...
2016 Apr 23
1
Java memory error when reading a small xlsx file
Hi,
I tried to read a (small) xlsx file by "readWorksheetFromFile" function
of "XLConnect" package and "read.xlsx" function in "xlsx" package, but I
got this error message:
Error: OutOfMemoryError (Java): Java heap space
I tried to follow the solution on the web
2006 Oct 17
1
Belkin F6C900-UNV
...nut 2.0.3.
`newhidups -DD -a myups` gives the error of:
Checking device (050D/0900) (001/002)
- VendorID: 050d
- ProductID: 0900
- Manufacturer: unknown
- Product: unknown
- Serial Number: unknown
- Bus: 001
Trying to match device
Device matches
failed to claim USB device, trying 2 more time(s)...
detaching kernel driver from USB device...
failed to detach kernel driver from USB device...
trying again to claim USB device...
failed to claim USB device, trying 1 more time(s)...
detaching kernel driver from USB device...
failed to detach kernel driver from USB device...
trying again to claim USB device.....
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