search for: poetry

Displaying 20 results from an estimated 393 matches for "poetry".

2002 Oct 31
1
New home for S Poetry
Many readers on this list probably don't know that S Poetry had an old home. S Poetry is a book in pdf about programming in the S language. It was written mainly with S-PLUS 3.x in mind when R was still an infant relative to what it is now. Some parts of the book are still quite accurate for R. In other places R is rather different from what is in the b...
2019 Jun 27
5
[RFC] ASM Goto With Output Constraints
...own, which means they will > need to use Clang in some fashion, either as a complete replacement for or > in addition to GCC. > > Current state > > Clang's implementation of asm goto converts this code: > > int vogon(unsigned a, unsigned b) { > asm goto("poetry %0, %1" : : "r"(a), "r"(b) : : error); > return a + b; > > error: > return -1; > } > > into the following LLVM IR: > > define i32 @vogon(i32 %a, i32 %b) { > entry: > callbr void asm sideeffect "poetry $0, $1", "r,r,X&quo...
2006 Nov 07
1
S-poetry as book
Hi, Is there a printed version of S-poetry which can purchased or would I have to print out and bind it myself? Regards, Benjamin -- Benjamin Otto Universitaetsklinikum Eppendorf Hamburg Institut fuer Klinische Chemie Martinistrasse 52 20246 Hamburg [[alternative HTML version deleted]]
1998 Nov 14
2
S-Poetry in R
Kjetil Halvorsen mentioned a book call "S-Poetry in R". I checked with amazon.com and Barnes and Noble but they don't have it listed. Can somebody please give me the complete reference and where it can be obtained. Suggestion: Might it be possible to put a list of the most important and new literature about R, S, and S+ which has a dir...
2009 Jan 06
1
C dll compilation + S Poetry example
Dear all; Working with the following code extracted from the document S Poetry by Patrick Burns (from CRAN), I haven't been able to load the resulting dll into R. The code is basically the calculation of the quadratic form x'Qx: static double quad_form(double *Q, double *x, long n) { long i, j, ij; double ans = 0.0; for(i=0; i < n; i++) { for(j=0, ij = i *...
2012 Oct 30
4
horizontal space/indent and HTML/PDF
What is the best method to introduce horizontal space in text in a Pandoc document? Preferably something that would work for both HTML and PDF output? I need this for some poetry that has indented lines, ala the 2nd and 3rd lines: hickory dickory dock the most ran up the clock the clock struck one the mouse ran down c -- Chris Lott <chris at chrislott.org>
2019 Jun 27
1
[RFC] ASM Goto With Output Constraints
...need to use Clang in some fashion, either as a complete replacement for or >> in addition to GCC. >> >> Current state >> >> Clang's implementation of asm goto converts this code: >> >> int vogon(unsigned a, unsigned b) { >> asm goto("poetry %0, %1" : : "r"(a), "r"(b) : : error); >> return a + b; >> >> error: >> return -1; >> } >> >> into the following LLVM IR: >> >> define i32 @vogon(i32 %a, i32 %b) { >> entry: >> callbr void asm sideeffec...
2008 Jul 11
1
Subsetting an array by a vector of dimensions
Hi Is it possible to subset an n-dimensional array by a vector of n dimensions? E.g. assume I have > x <- array(1:24, dim=2:4) > x[1,1,2] [1] 7 > dims <- c(1,1,2) I would like a function that I can supply x and dims as parameters to, and have it return 7. Also, I would like to do something like: > x[1,1,] [1] 1 7 13 19 > dims2<- c(1,1,NA) And have a function of x and
2019 Jun 27
2
[cfe-dev] [RFC] ASM Goto With Output Constraints
...esent examples where preserving the values on the branches is be a requirement? (I feel like I've seen some before, but it'd be good to be reminded). E.g., imagine code like this: << entry: br i1 %cmp, label %true, label %false true: %0 = callbr { i32, i32 } asm sideeffect "poetry $0, $1", "={r8},={r9},X" (i8* blockaddress(@vogon, %error)) to label %asm.fallthrough [label %error] false: %1 = callbr { i32, i32 } asm sideeffect "poetry2 $0, $1", "={r10},={r11},X" (i8* blockaddress(@vogon, %error)) to label %asm.fallthrough [label %error] e...
2019 Jun 27
3
[cfe-dev] [RFC] ASM Goto With Output Constraints
...shion, either as a complete replacement >>> for or in addition to GCC. >>> >>> Current state >>> >>> Clang's implementation of asm goto converts this code: >>> >>> int vogon(unsigned a, unsigned b) { >>> asm goto("poetry %0, %1" : : "r"(a), "r"(b) : : error); >>> return a + b; >>> >>> error: >>> return -1; >>> } >>> >>> into the following LLVM IR: >>> >>> define i32 @vogon(i32 %a, i32 %b) { >>> ent...
2009 Aug 25
10
One nic multiple ip''s
I have one nic and 5 static ip''s. i use debian lenny. How configure dom0 and domU, gets own ip address. -- View this message in context: http://www.nabble.com/One-nic-multiple-ip%27s-tp25141074p25141074.html Sent from the Xen - User mailing list archive at Nabble.com. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com
2007 Apr 24
2
negative number to positive number
Hello all, I know this is a pretty easy question but I can't find it in S poetry or R help. How can I make a negative number positive. Such as -5 to be +5 I tried +(-5), but that didn't work. So no, I don't mean taking a -5^2 just to get a positive number. This is in a function so it's not just -5 it's x. :) Thanks, Paul -- Research Technician Mass Spectro...
2008 Jul 13
2
multiple names to assign
...y of thinking about this is that people using 'assign' get what they deserve. The other is that it is used seldom enough that adding a warning isn't going to slow things down appreciably. Patrick Burns patrick at burns-stat.com +44 (0)20 8525 0696 http://www.burns-stat.com (home of S Poetry and "A Guide for the Unwilling S User")
2006 May 16
1
variable row names
Hy all, I wish to use a variable as rownames for a set of datas. By example : > nom<-"toto" > prenom<-"tutu" > res<-c(1,2) > res<-t(res) > res [,1] [,2] [1,] 1 2 > colnames(res)<-c(nom,prenom) > res toto tutu [1,] 1 2 > nom [1] "toto" > I wish to call the rowname by the
2006 May 29
2
Analog to matlab repmat function
Hello, I'm trying to switch from Matlab to R-project, and having some difficulties. I make a use of multidimensional matrices. For example, I need to extract mean from one of the dimensions: % we have matrix data of size: 130 x 11 x 350 x 2 data = data - repmat(mean(data,3),[130 1 1 1]); In R project I managed to do that in a very pervarsive way: # mean(data,3) in R base <-
2005 Oct 07
2
Assign references
Folks, I've run into trouble while writing functions that I hope will create and modify a dataframe or two. To that end I've written a toy function that simply sets a couple of variables (well, tries but fails). Searching the archives, Thomas Lumley recently explained the <<- operator, showing that it was necessary for x and y to exist prior to the function call, but I haven't
2005 Jan 03
3
spreadsheet addiction
...nts R as a suitable alternative to spreadsheets. Also there are several specific problems with Excel that are highlighted, including the status of statistical functionality in Excel. Patrick Burns Burns Statistics patrick at burns-stat.com +44 (0)20 8525 0696 http://www.burns-stat.com (home of S Poetry and "A Guide for the Unwilling S User")
2003 Apr 01
2
R function calling: efficiency of different alternatives
...compiled C++ code. I think I recall reading something about differences in efficiency between those three approaches, but I can't find the information (I've searched the email archives, Venables & Ripley's "S programming" and MASS, the R manuals, and Burn's "S Poetry"). Are there any real performance differences? (I'd personally prefer b) since these functions will hopefully become a contributed package, and FA is not supposed to be used directly by an end user. I am aware of scoping differences between the three approaches, but that is not my m...
2011 Feb 12
3
accessing a file outside VM
Hi all, I am using xen on centos 5.5 (host OS). I have also booted a virtual machine via xen (and the guest os i ve invoked is also centos ). Now i want to access a file (a tar file) which is outside the vm (in physical machine).. Can i use my usb inside the running vm ?? I am unable to download the file from net.. Please help me by providing some suggestions on how to do this. Thanks in
2006 Jan 27
3
draft of Comment on UCLA tech report
.... I have a draft of a comment on that report, which you can get from http://www.burns-stat.com/pages/Flotsam/uclaRcomment_draft1.pdf I'm interested in comments: corrections, additions, deletions. Patrick Burns patrick at burns-stat.com +44 (0)20 8525 0696 http://www.burns-stat.com (home of S Poetry and "A Guide for the Unwilling S User")