search for: succinctly

Displaying 20 results from an estimated 302 matches for "succinctly".

Did you mean: succinct
2006 Mar 31
6
string interpolation - #{} vs. single vs. double quotes
Could someone point me to documentation that provides a succinct and accurate description of the difference between interpolation using #{}, single quotes, and double quotes ? I imagine there''s a set of precedence rules that govern behavior if/when they''re mixed. I''d like to get clear on this. Thanks, Bill -------------- next part -------------- An HTML attachment was
2015 Oct 13
4
RFC: Introducing an LLVM Community Code of Conduct
On 13 October 2015 at 17:16, Kuperstein, Michael M via llvm-dev <llvm-dev at lists.llvm.org> wrote: > The FreeBSD CoC is, IMHO, much better in this respect ( https://www.freebsd.org/internal/code-of-conduct.html ). Nice! This is so succinct and beautiful! It doesn't need an overseeing foundation to take opaque decisions, and focus on what's really important: the code. I
2012 Oct 16
2
List of Levels for all Factor variables
Hi, I want to get a clean succinct list of all levels for all my factor variables. I have a dataframe that's something like #1 below. This is just an example subset of my data and my actual dataset has 70 variables. I know how to narrow down my list of variables to just my factor variables by using #2 below (thanks to Bert Gunter). I can also get list of all levels for all my factor
2011 Nov 10
3
[LLVMdev] Optimization passes
Is there a succinct way I can get the full list of which optimization passes are applied, and in what order, for standard clang -O1, -O2, -O3? -- Larry Gritz lg at larrygritz.com
2010 Apr 14
2
search and replace
I have a dataframe with almost a million rows which has one column with strings. That column has several entries with the words "South", "North", "East" and "West" which I would like to replace with S, N, E, and W, respectively. Obviously, I can use gsub multiple times df $col2 <- gsub("West", "W", df$col2) which will require
2005 Dec 22
2
Documentation for generate controller
I can find the API documentation, but where is the documentation for the standard generators. The wiki has 3rd party generators- but I want to know specifically what generate controller does, and how it differs from generate scaffold, and what other generators there are. Where is this succinctly documented? -- Posted via http://www.ruby-forum.com/.
2007 Jun 04
3
test for nested factors
Is there a conventional way to test for nested factors? I.e., if 'a' and 'b' are lists of same-length factors, does each level specified by 'a' correspond to exactly one level specified by 'b'? The function below seems to suffice, but I'd be happy to know of a more succinct solution, if it already exists. Thanks, Tim. --- "%nested.in%" <-
2009 Aug 10
2
strsplit a matrix
...atrix into 2 as efficiently as possible. It is a character matrix: 1 2 3 1 "2-271" "2-367" "1-79" 2 "2-282" "2-378" "1-90" 3 "2-281" "2-377" "1-89" I want to make 2 matrices from this, as succinctly and efficiently as possible. I've tried such things as sapply(matrix, strsplit, "-") and tried to go from there, but I can't figure it out! So far I do it with a 2D for loop which can't be efficient! firstPartM <- matrix(ncol= dim(zzz)[2], nrow= dim(zzz)[1]) secondPart...
2012 Mar 12
2
Trying to use current R2spec on RHEL.
Is there somewhere a succinct guide to just how much extra crud we need to install on RHEL to make use of EPEL packages? [root at troll-1 noarch]# rpm -ivh R2spec-4.1.0-1.el6.noarch.rpm error: Failed dependencies: fedora-packager is needed by R2spec-4.1.0-1.el6.noarch [root at troll-1 noarch]# wget http://dl.fedoraproject.org/pub/epel/6/x86_64/fedora-packager-0.5.9.4-1.el6.noarch.rpm
2015 Mar 06
2
leap second and Centos
On Tue, Jan 20, 2015 at 3:27 PM, Michael Hennebry <hennebry at web.cs.ndsu.nodak.edu> wrote: > Unix and ntp handle leap seconds a bit differently. > Unix time increases during the leap second and drops back a second after. > Ntp freezes time during the leap second. > OS kernels may do either or neither. Does anyone have a succinct summary of how to prove to management-types that
2007 Feb 11
2
tighten up class?
The following works fine but is there some way to make it more succinct? Thanks, Kent class obsd_etc_static { file { "/etc/mygate": owner => root, group => wheel, mode => 644, backup => main, source => "puppet://example.com/obsd_static/mygate" } file { "/etc/rc.conf": owner => root, group => wheel,
2007 Apr 06
3
questions re. patching bcmxcp.c and choosing variable names
I've patched bcmxcp.c such that it can power cycle the outlet load segments independently on a Powerware PW5125 UPS. I presume that it will work for any XCP protocol UPS with 2 load segments. Should these instant commands be called outlet.1.shutdown.return outlet.2.shutdown.return ? Where do the descriptions displayed by upscmd -l come from? Presently it shows outlet.1.shutdown.return -
2009 Mar 31
5
Using apply to get group means
Hi all, I'm trying to improve my R skills and make my programming more efficient and succinct. I can solve the following question, but wonder if there's a better way to do it: I'm trying to calculate mean by several variables and then put this back into the original data set as a new variable. For example, if I were measuring weight, I might want to have each individual's
2006 Feb 28
2
Elegant way to express residual calculation in R?
Hi All, I am illustrating a simple, two-way ANOVA using the following data and I'm having difficulty in expressing the predicted values succinctly in R. X<- data.frame(read.table(textConnection(" Machine.1 Machine.2 Machine.3 53 61 51 47 55 51 46 52 49 50 58 54 49 54 50"...
2015 Oct 13
4
RFC: Introducing an LLVM Community Code of Conduct
> On Oct 13, 2015, at 10:23 AM, Bill Kelly via llvm-dev <llvm-dev at lists.llvm.org> wrote: > > Renato Golin via llvm-dev wrote: >> On 13 October 2015 at 17:16, Kuperstein, Michael M via llvm-dev >> <llvm-dev at lists.llvm.org> wrote: >>> The FreeBSD CoC is, IMHO, much better in this respect ( https://www.freebsd.org/internal/code-of-conduct.html ).
2006 Jan 10
2
Correct way to test for exact dimensions of matrix or array
Dear R Users, I want to test the dimensions of an incoming vector, matrix or array safely and succinctly. Specifically I want to check if the unknown object has exactly 2 dimensions with a specified number of rows and columns. I thought that the following would work: > obj=matrix(1,nrow=3,ncol=5) > identical( dim( obj) , c(3,5) ) [1] FALSE But it doesn't because c(3,5) is numeric and t...
2009 Oct 18
2
Bug with .First in R 2.10
Under R2.10.0 beta (2009-10-14 r50082) my .First does not run reliably. I reported this last week, but not reproducibly, and it seemed to go away, so I thought it might be installation-related. But it has now recurred reproducibly, at least on my machine. The website ftp://ftp.csiro.au/MarkBravington contains two .RData files each containing (only) a .First. One of them does what it should, and
2017 Oct 14
4
[RFC] Polly Status and Integration
On 10/14/2017 05:28 PM, Daniel Berlin via llvm-dev wrote: > > > On Sat, Oct 14, 2017 at 2:54 PM, Michael Kruse <llvmdev at meinersbur.de > <mailto:llvmdev at meinersbur.de>> wrote: > > 2017-10-14 5:03 GMT+02:00 Daniel Berlin <dberlin at dberlin.org > <mailto:dberlin at dberlin.org>>: > > FWIW: We hit a subset of this issue with
2012 Dec 04
5
[LLVMdev] Proposal: Adding aligned instruction bundle support to MC
...separately as independently as feasible. One of the first things we'd like to start with is support for aligned instruction bundles in MC (assembler) level. This support exists in gas since binutils version 2.23 (http://sourceware.org/binutils/docs/as/Bundle-directives.html#Bundle-directives). Succinctly, the initial proposal is to add the following directives: .bundle_align_mode <num> .bundle_lock .bundle_unlock With the following semantics: When aligned instruction bundle mode ("bundling" in short) is enabled (.bundle_align_mode was encountered with an argument > 0, which is...
2005 Nov 15
3
Reading in a table with unequal columns
Hi, Wasn't sure how to explain this problem succinctly in a title. I am trying to read in a text file that looks like: 0 1000 175 1 2 3 1 1000 58 0 2 9 2 1000 35 0 1 3 10 3 1000 300 0 2 4 5 10 11 18 4 1000 150 3 5 6 5 1000 100 3 4 6 7 18 6 1000 50 4 5 7 8 7 1000 155 5 6 8 19 8 1000 255 6...