search for: mylabel

Displaying 20 results from an estimated 56 matches for "mylabel".

Did you mean: mklabel
2006 Dec 18
1
Applying variable labels across a data frame
Hi All, I'm working on a class example that demonstrates one way to deal with factors and their labels. I create a function called myLabeler and apply it with lapply. It works on the whole data frame when I subscript it as in lapply( myQFvars[ ,myQFnames ], myLabeler ) but does not work if I leave the [] subscripts off. I would appreciate it if anyone could tell me why. The program below works up until the final two statements. Thank...
2010 Jul 23
3
[LLVMdev] warnings in inline assembly with used labels and -Wunused-label
...ug database. Does anyone know if this is a known llvm issue? Is it a warning that I can ignore and does not affect the generated code? Is there a workaround to avoid these warnings (without turning off -Wunused-label)? Here is a small sample code that exhibits the issue: int main() { __asm__ { MyLabel: sub ebx,8 jg MyLabel } return 0; } Compile with llvm-gcc 4.2 on MacOSX 10.6: llvm-gcc-4.2 -arch i386 -Wunused-label -fasm-blocks -o inlineassembly_llvm inlineassembly.c inlineassembly.c: In function ‘main’: inlineassembly.c:7: warning: label ‘LASM$MyLabel’ defined but not used Compile...
2010 Jul 30
1
Unique rows in data frame (with condition)
...have to deal with data frames that contain multiple entries of the same (based on an identifying collumn 'id'). The second collumn is mostly corresponding to the the id collumn which means that double entries can be eliminated with ?unique. a <- unique(data.frame(timestamp=c(3,3,3,5,8), mylabel=c("a","a","a","b","c"))) However sometimes I have dataframes like this: a <- unique(data.frame(timestamp=c(3,3,3,5,8), mylabel=c("a","z","a","b","c"))) which then results in: timest...
2014 Mar 23
2
global append changes since version 5
...r than repeating the "global append" parameters for each individual 'label' entry, in some cases the cmd.c32 module might help too. For the prior example, the configuration could be re-written as: *** DEFAULT mykernel root=/dev/sda2 *** or even better as: *** DEFAULT mylabel LABEL mylabel KERNEL mykernel APPEND root=/dev/sda2 *** which "moves" the "global append" line into the new 'label' entry. This is, of course, a simplified case just to show the problem. There is one case in which the "global append" is *not* ignored in...
2010 Jul 23
0
[LLVMdev] warnings in inline assembly with used labels and -Wunused-label
...s it a warning that > I can ignore and does not affect the generated code? Is there a > workaround to avoid these warnings (without turning off -Wunused- > label)? > > > Here is a small sample code that exhibits the issue: > > int main() > { > __asm__ > { > MyLabel: > sub ebx,8 > jg MyLabel > } > > return 0; > } > > > Compile with llvm-gcc 4.2 on MacOSX 10.6: > > llvm-gcc-4.2 -arch i386 -Wunused-label -fasm-blocks -o > inlineassembly_llvm inlineassembly.c > inlineassembly.c: In function ‘main’: > inlineassem...
2017 Mar 20
2
"isolinux.bin missing or corrupt" when booting USB flash drive in old PC
...ount > > root fs on unkonwn-block(0,0) > > Similar kernel panic when booted on Intel DQ67SW i7-2600S. > > > David > That's because your syslinux.cfg is "wrong", but the behavior just proves that SYSLINUX is indeed booting. # ***syslinux.cfg*** DEFAULT mylabel LABEL mylabel LINUX vmlinuz APPEND initrd=initrd.gz # ****************** So the system is bootable, and the others (those old P4) will be too. >From now on, it is about what additional "append" parameters you want/need or about configuring whatever Debian wants/needs on each system...
2006 Feb 13
1
hackish error handling
...''SoftError''][0][''Message''] redirect_to :back return end else flash[:notice] = verification[''Error''][0][''Message''] redirect_to :back return end mylabel = @fedex.label @label = "#{mylabel.tracking_number}.png" FileUtils.copy_file mylabel.image.path, "/localpath//#{@label}" rescue flash[:notice] = mylabel.message redirect_to :back return end
2010 Jul 14
1
Arrange values on a timeline
...dataframe a contains 5 such timestamps and 5 associated labels. This means, on a continious scale between 1-100, there are 5 markers. E.g. 'abc' marks the timestampls between 10 and 19, 'def' marks the timestamps between 20 and 32, and so on. a <- data.frame(timestamp=c(3,5,8), mylabel=c("abc","def","ghi")) b <- data.frame(timestamp=c(1:10)) I would like to assign these labels as an extra collumn 'label' to the data.frame b which currently only consists of a the timestamp. The output would then look like this: timestamp label...
2007 May 29
0
LoMAC module: cannot get clearance level revoked
...ame ); exit( -1 ); } if ( 0 != mac_to_text( filelabel, &buf ) ) { fprintf( stderr, "printfilelabel(%s): failed to convert label\n", fname ); exit( -1 ); } printf( "\tfilelabel(%s) is %s\n", fname, buf ); free( buf ); mac_free( filelabel ); } void printmylabel() { mac_t mylabel; char *buf; if ( 0 != mac_prepare_process_label( &mylabel ) ) { fprintf( stderr, "printmylabel: failed to prepare label" ); exit( -1 ); } if ( 0 != mac_get_proc( mylabel ) ) { fprintf( stderr, "printmylabel: failed to get label" );...
2013 Jan 03
33
Option LABEL
...ux-btrfs, please delete the option "-L" (for labelling) in "mkfs.btrfs", in some configurations it doesn''t work as expected. My usual way: mkfs.btrfs -d raid0 -m raid1 /dev/sdb /dev/sdc /dev/sdd ... One call for some devices. Wenn I add the option "-L mylabel" then each device gets the same label, and therefore some other programs can''t find the (one) device with the defined label. Especially blkid findfs LABEL=mylabel don''t work. file -s /dev/sdb (etc.) shows the label (and the problem). Other tries:...
2018 Dec 01
3
fixing debian's hd-media image
...LX64.CFG start ### > > UI SYSLINUX/EFI64/vesamenu.c32 > DEFAULT lslabel > PROMPT 1 > TIMEOUT 100 > SAY *** Press enter to boot the default label *** > > LABEL lslabel > COM32 SYSLINUX/EFI64/ls.c32 > > LABEL pwdlabel > COM32 SYSLINUX/EFI64/pwd.c32 > > LABEL mylabel > LINUX /linux > INITRD /initrd.gz > > ### EFI/BOOT/SYSLX64.CFG end ### > > * Save / close any relevant opened files and unmount the image (or the > fs of your testing device). mkdir -p $target/EFI/BOOT $target/EFI/BOOT/SYSLINUX/EFI64 cp /usr/lib/SYSLINUX.EFI/efi64/syslinux....
2013 Feb 12
1
[BUG] options to LABEL on CLI not passed into command line
When using the CLI and calling a LABEL "mylabel", specifying "mylabel options" does not pass "options" through to the kernel's command line. -- -Gene
2018 Nov 30
2
fixing debian's hd-media image
...er, make that "at most 8 English letters" when > troubleshooting. > # > # Additionally, we will avoid naming labels using > # the name of any other files. > # E.g., if our kernel file is named 'linux' > # then no label should be 'linux'. > > DEFAULT mylabel > PROMPT 1 > TIMEOUT 100 > SAY *** Press enter to boot the default label *** > > LABEL mylabel > # Please note it is not "my label", no spaces within the label. > # Please note it is not "linux", as the kernel is already named > 'linux'. > >...
2002 Nov 19
1
Another plot question
...right. Is there a way to space them correctly? Thank you all for being an outstanding user community, AB #~~~~~~~~~~~~~~~~~~~~~ #example to post junk.mat <- matrix(rnorm(12800), 128, 100) xYears <- 0:(nrow(junk.mat)-1) yPeriod <- 1:ncol(junk.mat) temp <- seq(10, ncol(junk.mat), 10) myLabels <- 2^(temp/10) cwtquants <- quantile(junk.mat, probs = c(0, 0.25, 0.5, 0.75, 0.95, 1)) quant2plot <- c(cwtquants[1], cwtquants[2], cwtquants[3], cwtquants[4], cwtquants[5], cwtquants[6]) filled.contour(xYears, yPeriod, junk.mat, levels = qua...
2010 Jul 14
2
Merging columns along time line
...dataframe a contains 5 such timestamps and 5 associated labels. This means, on a continious scale between 1-100, there are 5 markers. E.g. 'abc' marks the timestampls between 10 and 19, 'def' marks the timestamps between 20 and 32, and so on. a <- data.frame(timestamp=c(3,5,8), mylabel=c("abc","def","ghi")) b <- data.frame(timestamp=c(1:10)) I would like to assign these labels as an extra collumn 'label' to the data.frame b which currently only consists of a the timestamp. The output would then look like this: timestamp label...
2009 Jul 09
2
X-axis labels not displayed when changing ylim
...s the labels on the x-axis with a 45 degrees angle: p <- plot(myobject1, type="b", col="red",cex=1, lwd=2, axes=FALSE, ann=FALSE, ylim=c(0,70)) title(main="title", font.main=4) axis(side=1, lab=F) text(axTicks(1), par("usr")[3] - 2, srt=45, adj=1,labels=mylabels,xpd=T, cex=0.8, font=2) axis(side=2, las=1, cex.axis=0.8, font=2) I set up the ylim from 0 to 70 for plotting that object "myobject1" -> works well. However, when i try to use the same script with another set of data "myobject2" (same number of points, same labels, but d...
2009 Mar 04
2
adding value labels on Interaction Plot
Hello - and sorry for what might look like a simple graphics question. I am building an interaction plot for d: d=data.frame(xx=c(3,3,2,2,1,1),yy=c(4,3,4,3,4,3),zz=c(5.1,4.4,3.5,3.3,-1.1,-1.3)) d[[1]]<-as.factor(d[[1]]) d[[2]]<-as.factor(d[[2]]) print(d) interaction.plot(d$xx, d$yy, d$zz, type="b", col=c("red","blue"), legend=F, lty=c(1,2), lwd=2,
2019 Apr 22
1
Bug/limitation: allowoptions (for label), implicit (for automated)
Hello, At the boot prompt ALLOWOPTIONS 0 is only applied to implicit kernels and not to labels. For configuration which want to allow selection, but prevent customization of the kernel command line, this behaviour is bad. Also the IMPLICIT 0 is applied to both the boot prompt and configuration setting (like DEFAULT); but one could argue that only the command supplied at the prompt make sense to
2017 Oct 04
1
Help with PXE "Out of Memory" error?
On Wed, Oct 4, 2017 at 11:10 AM, Ady Ady via Syslinux <syslinux at zytor.com> wrote: > FWIW, the _need_ to use linux.c32 is becoming more common (in the sense > that other loading methods are not always capable of loading > newer/current kernels+initrams+additional_files, considering their > sizes). Unfortunately, only a minority of users seem to be aware of > Syslinux's
2018 Dec 02
0
fixing debian's hd-media image
...screen but also when the boot prompt is awaiting > > some initial input. > > I #disabled the timeout so that it wouldn't keep cluttering the screen > when I was trying to take notes. > > at the boot: prompt, hit tab, enter the 3 ... > > boot: > lslabel pwdlabel mylabel > boot: lslabel > [dir] [dir] SYSLINUX LDLINUX.E64 > [dir] . BOOTX64.EFI SYSLX64.CFG > boot: pwdlabel > /EFI/BOOT/ > boot: mylabel > (linux boots) These are _not_ bad news. The two c32 modules that don't need additional module librari...