search for: pf2

Displaying 20 results from an estimated 25 matches for "pf2".

Did you mean: pf
2010 Aug 15
1
parent.frame(1) of a S4 method is not a calling environment.
...ric("foo", def=function(a, ...){standardGeneric("foo")}) [1] "foo" > > setMethod("foo", signature("A"), + def=function(a, ...){ + cat("--pf1--\n") + ls(parent.frame(1)) + ## cat("--pf2--") + ## ls(parent.frame(2)) + }) [1] "foo" > > tf <- function(){ + b <- 4 + foo(new("A")) #ok + } > > tf() #ok --pf1-- [1] "b" The above works like predicted. Now, a small change. The "b" argument which is...
2011 Sep 03
2
ROCR package question for evaluating two regression models
...e")pred2 = predict(model2, test.data, type = "response") I have used ROCR package to compare them:pr1 = prediction(pred1,test.y)pf1 = performance(pr1, measure = "prec", x.measure = "rec")  plot(pf1) which cutoff this plot is based on? pr2 = prediction(pred2,test.y)pf2 = performance(pr2, measure = "prec", x.measure = "rec")pf2_roc  = performance(pr2,measure="err")plot(pf2) First of all, I would like to use cutoff = 0.5 and plot the ROC, precision-recall curves based on that cutoff value. In other words, how to define a cut off value...
2007 May 27
2
Question about "evalq"
The help page of eval says: The 'evalq' form is equivalent to 'eval(quote(expr), ...)'. But the following is not equivalent. Can anyone give me some explaination? Thanks very much. > f1 <- function(x,digits=5) lapply(x, f2) > f2 <- function(x) eval(quote(print(x+1,digits=digits)),list(x=x),parent.frame(2)) > f1(list(x1=1)) [1] 2 $x1 [1] 2 > > f1 <-
2009 Oct 02
1
[LLVMdev] alias analysis and functions
...the expected result: a pointer that clearly may point to a function is reported as NoAlias. I use -anders-aa -aa-eval -print-no-aliases -print-may-aliases -print-must-aliases Here is a test case: ///////////////try_calls_aliases.c #include <stdio.h> typedef int (*PF)(); PF pf01=0; PF pf2=0; int pointed_to_function0() { printf("pointed_to_function0\n"); return 1; } int pointed_to_function1() { pf01 = pointed_to_function1; printf("pointed_to_function1\n"); return 1; } void ptr_function_caller(PF pf) { printf("ptr_function_caller\n"); pf(...
2010 Aug 04
4
Passing the name of a variable to a function
Dear colleagues, I have a problem which has bitten me occasionally. I often need to prepare graphs for many variables in a data set, but seldom for all. or for any large number of sequential or sequentially named variables. Often I need several graphs for different subsets of the dataset for a given variable. I run into similar problems with other needs besides graphing. What I would like to
2012 Jul 09
3
Predicted values for zero-inflated Poisson
Hi all- I fit a zero-inflated Poisson model to model bycatch rates using an offset term for effort. I need to apply the fitted model to a datasets of varying levels of effort to predict the associated levels of bycatch. I am seeking assistance as to the correct way to code this. Thanks in advance! Laura [[alternative HTML version deleted]]
2014 Jun 24
0
isohybrid has 2 variants
...s just a speculation. Maybe somebody should peek into Fedora Live CD: # mount -o loop Fedora-Live-Desktop-x86_64-20-1.iso /mnt/iso # mount -o loop /mnt/iso/isolinux/efiboot.img /mnt/fat $ find /mnt/fat/efi/boot /mnt/fat/efi/boot /mnt/fat/efi/boot/fonts /mnt/fat/efi/boot/fonts/unicode.pf2 /mnt/fat/efi/boot/grub.cfg /mnt/fat/efi/boot/bootx64.efi /mnt/fat/efi/boot/grubx64.efi Hrmpf. Obviously not SYSLINUX equipment in there. Anybody can shed light on that issue ? Have a nice day :) Thomas
2013 Sep 29
2
Bug#603391: Workaround PyGrub issue
..._env saved_entry fi } function load_video { insmod vbe insmod vga insmod video_bochs insmod video_cirrus } insmod part_msdos insmod ext2 set root='(/dev/xvda,msdos1)' search --no-floppy --fs-uuid --set=root f395d5a0-4612-4872-806c-33cd37c152f0 if loadfont /usr/share/grub/unicode.pf2 ; then set gfxmode=640x480 load_video insmod gfxterm insmod part_msdos insmod ext2 set root='(/dev/xvda,msdos1)' search --no-floppy --fs-uuid --set=root f395d5a0-4612-4872-806c-33cd37c152f0 set locale_dir=($root)/boot/grub/locale set lang=en_US insmod gettext fi terminal...
2001 Feb 08
5
kernel freeze after cbq startup
Hello, I want to ask what am I doing wrong. A few seconds after running this script my gateway freezes. I use the 2.4.1 kernel compiled on RH 7.0 system using the kgcc (egcs-1.1.2) compiler. I have two ethernet cards. The Internet interface eth1 is connected to the ISP, who shapes out traffic to 128Kbit. I would like to give the high priority to the e-mail and ssh traffic and to shape others
2019 Apr 25
0
UEFI and PXE
...take HTTP URLs just fine, so that's much faster. Here's what the output of my grub2.pl CGI looks like (I use gfxterm so I can load a larger font that I set up locally in the TFTP root - you should be able to just skip that line): ******************** terminal_input console loadfont /12x26.pf2 insmod gfxterm set gfxmode=auto terminal_output gfxterm set timeout=-1 set timeout=-1 menuentry 'Install Fedora release 29 x86_64' { set root=(http,pxesrv.cmadams.net) linuxefi /pub/fedora/linux/releases/29/Server/x86_64/os/images/pxeboot/vmlinuz inst.root=http://pxesrv.cm...
2010 Jul 13
9
Xen 4 Ubuntu Lucid panics
I have tried 4 time unsuccessfully to install Xen 4 on Ubuntu Lucid (10.4) 64 bit version using the tutorial at http://bderzhavets.wordpress.com/2010/04/24/set-up-ubuntu-10-04-server-pv-domu-at-xen-4-0-dom0-pvops-2-6-32-10-kernel-dom0-on-top-of-ubuntu-10-04-server/ on a Lenovo thinkcentre workstation. When I boot I get a kernel panic. If I boot the Linux kernel that I compiled using the
2013 Sep 22
0
UEFI boot - no console will be available to OS
...search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 0b8cebb6-e937-402c-b9e1-16d4e422b590 else search --no-floppy --fs-uuid --set=root 0b8cebb6-e937-402c-b9e1-16d4e422b590 fi font="/usr/share/grub/unicode.pf2" fi if loadfont $font ; then set gfxmode=auto load_video insmod gfxterm fi terminal_input console terminal_output gfxterm set timeout=5 ### END /etc/grub.d/00_header ### ### BEGIN /etc/grub.d/09_xen ### menuentry ''Xen 4.2.2 / Arch GNU/Linux, with Linux linux'' --class...
2013 Oct 10
1
[PATCH] pygrub: Support (/dev/xvda) style disk specifications
...+ +function load_video { + insmod vbe + insmod vga + insmod video_bochs + insmod video_cirrus +} + +insmod part_msdos +insmod ext2 +set root=''(/dev/xvda,msdos1)'' +search --no-floppy --fs-uuid --set=root f395d5a0-4612-4872-806c-33cd37c152f0 +if loadfont /usr/share/grub/unicode.pf2 ; then + set gfxmode=640x480 + load_video + insmod gfxterm + insmod part_msdos + insmod ext2 + set root=''(/dev/xvda,msdos1)'' + search --no-floppy --fs-uuid --set=root f395d5a0-4612-4872-806c-33cd37c152f0 + set locale_dir=($root)/boot/grub/locale + set lang=en_US + insmod...
2019 Apr 01
1
udev rename NIC failed
....1.57069 api 1.5 nvm 3.33 0x80000f09 255.65535.255 kernel: [ 23.193232] i40e 0000:1a:00.2: MAC address: 28:41:c6:fb:c3:a4 kernel: [ 23.207420] i40e 0000:1a:00.2: MSI-X vector limit reached, attempting to redistribute vectors kernel: [ 23.217474] i40e 0000:1a:00.2: Added LAN device PF2 bus=0x1a dev=0x00 func=0x02 kernel: [ 23.219339] i40e 0000:1a:00.2: Features: PF-id[2] VFs: 32 VSIs: 34 QP: 56 RSS FD_ATR FD_SB NTUPLE CloudF DCB VxLAN NVGRE PTP VEPA kernel: [ 23.237958] i40e 0000:1a:00.3: fw 3.1.57069 api 1.5 nvm 3.33 0x80000f09 255.65535.255 kernel: [ 23.242039...
2019 Mar 12
1
CentOS 7 Installation Problems
...t once again hung. I rebooted on my GParted DVD and removed all the partitions on all 6 drives. Then rebooted using the CentOS 6 DVD and did the complete install including the RAID-10 devices. Why could I install completely CentOS 6 but not CentOS 7? Note:?? When booting I saw a selection for PF2 so I could setup UEFI. Also PF11 allows me to make a ??????? choice to boot from SATA3 standard MBR or UEFI boot. What am I doing wrong? -- Eugene Poole Woodstock, Georgia
2015 Oct 22
4
EFI netboot to kickstart install
Hello All Up until now we have been using standard PXE boot to do kick start installs of centos boxes. With recent machines however they come by default as EFI boot. We can set them to legacy but I would like to solve this before this option goes away. Just wondering if anyone has any experience setting up a net boot server that can be used to kickstart EFI machines? Thanks Grant
2019 Apr 24
3
UEFI and PXE
We have a working PXE setup. I've tried to adapt it to UEFI as per RHEL6 manual, but the client won't boot. Strangely, tcpdump shows that the client tries to download all files via tftp from the dhcp server rather than the tftp server (they are different). next-server is pointing to the tftp server. Any clues?
2011 Oct 09
3
GRUB2 configuration for Xen 4 on Ubuntu Linux 10.04
Hello, I have installed the Xen 4.1.1 and a working kernel 2.6.32.43 which supports Xen on a Ubuntu Linux 10.04 LTS. However, I have never successfully booted the Hypervisor and Dom0. The screen is always black after some kernel messages rapidly go by. I think that I may pass the wrong parameters to the kernel or Hypervisor with GRUB2. Can any one share his/her working grub.cfg for GRUB2 with
2013 Oct 01
0
Bug#603391: Bug#603391: Workaround PyGrub issue
...y + fi +} + +function load_video { + insmod vbe + insmod vga + insmod video_bochs + insmod video_cirrus +} + +insmod part_msdos +insmod ext2 +set root='(/dev/xvda,msdos1)' +search --no-floppy --fs-uuid --set=root f395d5a0-4612-4872-806c-33cd37c152f0 +if loadfont /usr/share/grub/unicode.pf2 ; then + set gfxmode=640x480 + load_video + insmod gfxterm + insmod part_msdos + insmod ext2 + set root='(/dev/xvda,msdos1)' + search --no-floppy --fs-uuid --set=root f395d5a0-4612-4872-806c-33cd37c152f0 + set locale_dir=($root)/boot/grub/locale + set lang=en_US + insmod gettext +...
2014 Jun 24
7
isohybrid has 2 variants
> Hi, > > Ady: > > _ Wiki should use more user-friendly language and "less deep" > > technical information. > > I tried to stay at the surface of isohybrid. > (Didier already asked for more depth about expert options.) My interpretation of Didier's questions is less depth and more user-friendly practical commands for end-users. Our points of view