similar to: postscript output sideways

Displaying 20 results from an estimated 1000 matches similar to: "postscript output sideways"

2001 Oct 30
2
extracting object names as strings
Hi, I'm looking for a function which returns the name of the argument object as a string: >vect <- 1:3 >function(vect) "vect" I've looked at 'name', 'names', 'objects', none seem to do exactly what I want. ls/objects comes close, but I can't figure out how to force it to give me only one object name. daver
2001 Sep 28
3
evaluating the contents of a string
Hi, suppose I do: b <- matrix(1:9,3,3) bname <- "b" now dim(b) returns [1] 3 3 and dim(bname) returns NULL is there a function to pass bname to such that dim returns the dimensions of b? like dim(somefunc(bname)) returns [1] 3 3 does 'somefunc' exist? daver +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |David Richmond It
2005 Jun 16
1
Sweave and sideways
Hi there, I'm rying to 'turn' an Schunk in an .Rnw file(Xemacs-21.4.13, ESS-5.2.8, R-2.1, miktex-2.4.1705). Has anyone got the isorot package to work with Sweave? JC example test.Rnw: \documentclass[a4paper]{article} \usepackage{Sweave} \usepackage{isorot} \rotdriver{dvips} \clockwise \title{Sweave Example 1} \author{apologies to Friedrich Leisch } \begin{document} \maketitle
2014 Aug 20
1
[RFC PATCH 09/11] PCI/MSI: refactor PCI MSI driver
> -----Original Message----- > From: linux-pci-owner at vger.kernel.org [mailto:linux-pci-owner at vger.kernel.org] > On Behalf Of Yijing Wang > Sent: Saturday, July 26, 2014 8:39 AM > To: linux-kernel at vger.kernel.org > Cc: Xinwei Hu; Wuyun; Bjorn Helgaas; linux-pci at vger.kernel.org; > Paul.Mundt at huawei.com; James E.J. Bottomley; Marc Zyngier; linux-arm- > kernel at
2014 Aug 20
1
[RFC PATCH 09/11] PCI/MSI: refactor PCI MSI driver
> -----Original Message----- > From: linux-pci-owner at vger.kernel.org [mailto:linux-pci-owner at vger.kernel.org] > On Behalf Of Yijing Wang > Sent: Saturday, July 26, 2014 8:39 AM > To: linux-kernel at vger.kernel.org > Cc: Xinwei Hu; Wuyun; Bjorn Helgaas; linux-pci at vger.kernel.org; > Paul.Mundt at huawei.com; James E.J. Bottomley; Marc Zyngier; linux-arm- > kernel at
2001 Oct 09
3
find indices of nonzero elements
Hi, Is there a function func(x) where x is an array such that it returns a list of the indices of all non-zero elements of the array? for example: a: 1 0 0 0 0 1 0 1 0 func(a) returns two vectors r and c: r c 1 1 2 3 3 2 daver +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |David Richmond It works on a | + Dept. of Sociology complex scientific
2001 Nov 29
3
pause/get input
Hi, Is there a simple command to pause a script until the user hits return? Alternatively, is there a command which prompts the user for some input and assigns the input into a variable? dave +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |David Richmond It works on a | + Dept. of Sociology complex scientific + |Saint Mary's College
2002 Mar 20
7
how does while work
i am having some problems with a program that i am writing and i think that knowing how the while command works will help me to figure out where i am going wrong *when do you get kicked out of a while loop?* (i.e., in the following example what would the final value of 'a' be?) i thought it would be 99 but running it in R i get 101 (and 101 for x too!) while (x <100) { for (i in
2001 Sep 29
1
how much memory does one need...
to allocate 7.8 MB to a vector? (on R running on MacOS 8.6 with a 100MB partition) I get this error from a function which is trying to create a 1000x1000 matrix: Error: cannot allocate vector of size 7812 Kb the error occurs here: dist <- as.single((t(pos)-pos)/n) where pos is a matrix of integers, and n is the size of the first dimension. It appears to first create a double with
2001 Sep 14
3
stuff I used to do in Matlab
Hi, I'm new to R, and trying to map stuff I knew how to do in Matlab to R. For instances, in matlab, sum(x) gave the column sums of matrix(/vector) x. In R it just gives the sum of all the elements, regardless of their form (vector or matrix). Is there a simple way to return a vector of column sums for a matrix? Also, in Matlab binary operators exist for concatenating a matrix onto the end or
2001 Oct 14
1
recursive functions and global variables
Hi, I am trying to write a recursive routine which passes some variables through the function calls but also refers to some global variables. I need the global variables because they are very big (n by n matrices where n is <= 1000) and I don't have the huge amount of memory needed to spawn dozens of copies of these matrices. The problem seems to be that while variables in the root
2001 Dec 14
0
polylog
Hi, Does R do the "PolyLog" function, also know as Jonquiere's function: Li-n(z) = sum over k= 1 to inf. of (z^k)/(k^n) ? dave +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |David Richmond It works on a | + Dept. of Sociology complex scientific + |Saint Mary's College principle, known as | + Notre Dame, IN
2004 Feb 20
1
unexpected postscript output with par(mfg)
Hi, a colleague of mine encountered some unexpected behavior regarding the postscript output from R. It's difficult for me to tell whether or not this is an R problem or a ghostview/gv/interpreter problem. Just to note, I think it's exactly the same situation reported here: http://finzi.psych.upenn.edu/R/Rhelp02/archive/25436.html The following code produces a working plot (no
2011 Jan 01
1
problem with postscript command
please, when i use the command postscript, the symbol "<="(less than or equal to) is replaced by "..." (ellipsis) how can I fix that? postscript("plot1.ps", width = 22, height = 11.5,pointsize=24,paper="special",bg="transparent") plot(NULL,xlim=c(1,10),ylim=c(1,10)) text(5,5,"\u2264") dev.off() I'm using
2014 Jul 26
0
[RFC PATCH 09/11] PCI/MSI: refactor PCI MSI driver
Use struct msi_ops to hook PCI MSI operations, and use struct msi_irqs to refactor PCI MSI drvier. Signed-off-by: Yijing Wang <wangyijing at huawei.com> --- drivers/pci/msi.c | 351 ++++++++++++++++++++++++++++++--------------------- include/linux/msi.h | 14 +- include/linux/pci.h | 11 +- 3 files changed, 222 insertions(+), 154 deletions(-) diff --git a/drivers/pci/msi.c
2006 Nov 02
1
rotated figures within Sweave?
I can't recall (or find an example of) how to rotate figures in Sweave: <<fig=TRUE, echo=false, width=9, landscape=TRUE>>= ??? <<fig=TRUE, echo=false, width=9, rotate=true>>= ??? <<fig=TRUE, echo=false, width=9, sideways=TRUE>>= ??? <<fig=TRUE, echo=false, width=9, par=(something)>>= ??? Does anyone know how to do this?
2006 Oct 14
4
Quicktime component icon
Hola; This is kind of a silly question to be asking a dev list, I know, but my googling found nothing. I was wondering where the base template for the quicktime component icon could be found (the sideways lego-brick thing)? I'd like to iconify a component of my own, and am having a devil of a time tracking that down. Any help would be appreciated... thanks. -- Chris R. ====== Not to be
2011 Feb 02
1
set digits in xtable by row
Hello R-listers, I am using xtable to create some LaTeX tables for me to Sweave into my document. I am now trying to set the number of digits that will be reported in several _rows_ in my table. The 'digits' option in xtable() sets the number of digits to display for specified columns. Am I missing another obvious option to do the same thing for rows? A quick RSiteSearch didn't turn
2003 Jul 23
4
.ps files in R
I have recently "printed" in R to a postscript file. I'm working on a SSH without an X terminal. It was fairly automatic: > plot(x,y) > dev.off() And then the default creates a file called Rplots.ps which I can ftp to my laptop and open in Ghostscript. I can see the file, and nothing looks odd. However, when I import it into LaTeX, it refuses to configure right side up.
2009 Apr 21
1
line wrap in R console under windows
I would like the R console to wrap lines at 80 cols. It does not do so, even though I have used the Rgui Configuration Editor to set the Console cols at 80 and the Pager cols at 80. Please tell me how to set it up so I have word wrap. Just to be clear: in older/other R versions, console input is wrapped at 80 cols and so you have something that looks like > blah blah blah blah blah blah blah