search for: untidy

Displaying 20 results from an estimated 27 matches for "untidy".

2020 Jun 30
4
R-devel internal errors during check produce?
...e work fine for me. E.g., R> l = list(a=new.env(), b=new.env()) R> unique(l) > [[1]] <environment: 0x55695f2f6d20> > [[2]] <environment: 0x55695f2f6930> > Best -k Ditto here; also your (Jan) 2nd example works fine. So, you must have loaded some (untidy) packages / code which redefine standard base R behavior ? Martin
2008 Jan 04
7
best way to modify spec (the command-line tool)?
...at''s the cleanest way to implement this? Add a -profiling command-line flag to spec itself? Is there a single point of entry and exit for running individual specs that I can put the code around? It''s currently manually hacked onto each example group individually and it seems a bit untidy. -- Giles Bowkett Podcast: http://hollywoodgrit.blogspot.com Blog: http://gilesbowkett.blogspot.com Portfolio: http://www.gilesgoatboy.org Tumblelog: http://giles.tumblr.com
2011 Apr 03
3
kernel density plot
..."blue", axes=F, main="", ylim=c(0,0.00035)) the problem is that in the graph that is drawn 1. the xlab gets hidden with the [N= and the bandwidth=] values 2. when i do par(new=T) this N and bandwidth value appears multiple times..overlapping each time and making the graph look untidy.. Is there any way of making these N and Bandwidth values not appear in the graph? Thanks -- -- [[alternative HTML version deleted]]
2001 Nov 08
2
Error Bars
...a bar chart. I'm using code like this: thing <- c(3,3,3) se <- c(1,1,1) names(thing) <- c("A", "B", "C") barplot(thing, ylim=c(0,4)) arrows(c(1:3), thing-se, c(1:3), thing+se, code=3, angle=90,length=0.1) Using c(1:3) has 2 problems: 1. Obviously it is untidy, but using names(thing) doesn't work, and I can't find out what will work. 2. It draws the lines in the wrong place (i.e. not in the middle of the bars) I'm sure this problem has a well know and obvious solution, but it's not so well known or obvious to me. Thanks in advance. Bob...
2007 Nov 13
6
Facter and arrays
Hi, Is it possible to have an array as the output of a custom fact? And then to pass it into a template in Puppet? I currently have a fact that looks like this: Facter.add("exports") do setcode do case Facter.hostname when (/thishost/i): [ "/local", "/local2" ] end end end & a template like this: <%
2011 Jan 18
2
Barplot and line x-axis positions
...onto a barplot of different data. The y-axes are different for each set of data but the x-axes are the same (1:12, corresponding with 12 months of observations). The problem I'm having is that the centre of the bars and the points on line don't match up, which is making the whole thing look untidy. I'm wondering if there is a way for me to specify the positions of the centre of each bar on the graph. The code I have is as follows: xvals <- barplot(wetMeans[,i], yaxt='n', axisnames=F, xlab='', ylab='', main=names[i], border=F, cex.main=0.7)par(new=T)plot(burnMea...
2010 Jun 09
1
[PATCH] Fix cleanup of guest handle when installing with local files
...export's temporary mount point. +if ($@) { + my $err = $@; + close_guest_handle(); + die($err); +} close_guest_handle(); @@ -397,11 +410,8 @@ if($guestcaps->{virtio}) { exit(0); -# We should always attempt to shut down the guest gracefully +# die() sets $? to 255, which is untidy. END { - close_guest_handle(); - - # die() sets $? to 255, which is untidy. $? = $? == 255 ? 1 : $?; } @@ -410,8 +420,8 @@ END { sub close_guest_handle { - # Perform GuestOS cleanup before closing the handle - $guestos = undef; + # Config may cache the guestfs handle, pr...
2012 Oct 09
8
Service Resources and Selinux
Hi list, I''ve got an issue at the moment, which isn''t really a big problem, but an untidy annoyance really, and I''d just like to understand what the best practice might be when dealing with the issue. As a really quick summary, the issue is that Puppet is starting up the mysqld service for the first time as unconfined_u, and then when MySQL goes and creates a load of its in...
2012 Mar 14
1
Dealing with printf() &c. in third-party library code
...h equivalent Rprintf() calls, using compiler preprocessing directives to ensure the library does not become incompatible with other code. For example, #ifdef RNIFTYREG Rprintf(...); #else printf(...); #endif This will be very time-consuming if there are lots of calls, and also makes the code very untidy and much harder to update when a new version of the upstream library is released. 2. Remove all such calls from the code altogether, or comment them out. The problem here is that doing this safely is hard, because the call could be part of an "if" statement or similar. For example, if (...
2005 Oct 06
8
accessing extra request parameters
hi all, how are other people passing and accessing ''get'' parameters from their apps? what is the best way to do it? ie: www.example.com/controller/action/id/extra/extra2/ ?? or www.example.com/controller/action/id/~extra/extra2/ or what ever.... are there built in methods for passing and accessing extra parameters? thanks for your suggestions -felix
2020 Jun 30
0
R-devel internal errors during check produce?
...(a=new.env(), b=new.env()) > R> unique(l) > > [[1]] <environment: 0x55695f2f6d20> > > > [[2]] <environment: 0x55695f2f6930> > > > Best -k > > Ditto here; also your (Jan) 2nd example works fine. > > So, you must have loaded some (untidy) packages / code which redefine > standard base R behavior ? > > Martin > >
2010 Oct 11
1
[PATCH 1/2] Remove incompletely transferred libvirt volumes
If a user interrupted transfer of data to a libvirt volume, the incomplete data was left in place. This patch causes the volume to be removed. Fixes RHBZ#616728 --- lib/Sys/VirtV2V/Target/LibVirt.pm | 12 ++++++++++++ 1 files changed, 12 insertions(+), 0 deletions(-) diff --git a/lib/Sys/VirtV2V/Target/LibVirt.pm b/lib/Sys/VirtV2V/Target/LibVirt.pm index 029e4e2..943b95a 100644 ---
2005 Jan 27
0
How do I make the MARK target terminate in Iptables?
...n Iptables. Is there a patch or an argument/parameter that enables this behavior? Or exactly which line do I need to modify in the source code? I would massively prefer not to follow each mark rule with a second rule with the same matching criterion that simply terminates - that''s too untidy for what I''m trying to do. Apologies, I''m in a big hurry so need a quick but robust fix. Many, many thanks, -Paul _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
2020 Oct 04
0
how to get a numeric vector?
Always hard to tell if THIS is a homework project. As with most things in R, if you can not find at least a dozen ways to do it, it is not worth doing. The question (way below) was how to take two vectors of length two and make a longer results based on using the ":" operator to generate a range between the first element of each array and then between the second elements and return the
2010 Apr 26
2
[PATCH] Fix virt-v2v exit codes
...e(name, size) diff --git a/v2v/virt-v2v.pl b/v2v/virt-v2v.pl index 15d0d5b..7951303 100755 --- a/v2v/virt-v2v.pl +++ b/v2v/virt-v2v.pl @@ -350,6 +350,9 @@ exit(0); # We should always attempt to shut down the guest gracefully END { close_guest_handle(); + + # die() sets $? to 255, which is untidy. + $? = $? == 255 ? 1 : $?; } ############################################################################### @@ -364,10 +367,14 @@ sub close_guest_handle $g->umount_all(); $g->sync(); + my $retval = $? + # Note that this undef is what actually cause...
2015 Jul 21
3
[Bug 91411] New: TV hdmi output doesn't fit with desktop, minimize button(on windows) are missing, etc[NV50]
...e fonts has an uncomfortable size, really small. Not only that, but also Terminal mode(Ctrl-Alt-F1) shows an uncomfortable size, really small as well. Close button on windows is shown also small, and the rest of buttons are missing. All kind of resolution screen has the same problem. Websites show untidy contents. On the other hand, media player works correctly in full-screen mode. Thanks a lots for your time. David -- You are receiving this mail because: You are the assignee for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.freedeskt...
2020 Oct 04
3
how to get a numeric vector?
Hi, a <- c(1, 4) b <- c(5, 8) a:b [1] 1 2 3 4 5 Warning messages: 1: In a:b : numerical expression has 2 elements: only the first used 2: In a:b : numerical expression has 2 elements: only the first used how to get: c(1:5, 4:8) Thanks.
2004 Jun 10
2
bleah
Not to be a bitch, but I've asked several times about some basic questions or examples to clarify the essentials for configuration. What do some of the parameters mean? Expecially the ones that are mentioned only one in a paragraph and no where else in the documentation or wiki. (ie: login_process_per_use) And there have been a few others as well. that I won't bother to repeat. But
2017 Apr 26
2
Contributing a new sanitizer for pointer casts
...uple of steps work on the individual compilation units, and they can be deferred until link time anyhow. It does mean that each compilation unit's allocation site information has to get dumped somewhere, to be picked up at link time. This is currently in a .i.allocs text file, but that is a bit untidy... I've thought about a DWARF extension (DW_TAG_allocation_site or similar) instead, which would be cleaner. About preloading -- I happen to like this design, modulo the clunky invocation, because it means you can easily turn the checking on or off. For executables, you could simply link the p...
2020 Jun 29
2
R-devel internal errors during check produce?
Thank you both, You are absolutely correct that example should be minimal, so here it is. l = list(a=new.env(), b=new.env()) unique(l) Just for completeness, env_list during check that raises error env_list <- list(baseenv(), as.environment("package:graphics"), as.environment("package:stats"), as.environment("package:utils"),