Displaying 20 results from an estimated 1000 matches similar to: "plotting to Postscript and margins"
2011 Jun 09
1
Error: missing values where TRUE/FALSE needed
I'm writing a function and keep getting the following error message.
myfunc <- function(lst) {
lst <- list(roots = c("car insurance", "auto insurance"),
roots2 = c("insurance"), prefix = c("cheap", "budget"),
prefix2 = c("low cost"), suffix = c("quote", "quotes"),
suffix2 = c("rate",
2011 Jun 09
2
Problem with a if statement inside a function
I have a really long functions, and at the end of the function, I am using a
if statement
to tag certain keywords based on whether they have certain values contained
in them.
However, the if statement doesn't seem to work.
When I had split up the commands into various functions, it worked fine, but
I'm not sure
what going on now that it's combined into a single function.
myfunc
2011 Jun 09
1
Trying to make code more efficient
I have a repetative task in R and i'm trying to find a more efficient way to
perform
the following task.
lst <- list(roots = c("car insurance", "auto insurance"),
roots2 = c("insurance"), prefix = c("cheap", "budget"),
prefix2 = c("low cost"), suffix = c("quote", "quotes"),
2007 Jul 15
1
How to disable wine postScript driver?
Hi all,
i'm trying to print from a windows command to a dot matrix printer (Epson
Actionprinter 2000) and i cant use the printer in text mode, only in graphic
mode.
I have ubuntu 7.04 feisty Desktop edition with wine 0.9.33 (from ubuntu rep)
I have working the LPT1, tested from cmd.exe with this command:
dir > lpt1
Now, the app works in windows wth a generic text only printer from the
2001 Dec 10
1
Postscript resolution
Hi all
I have some plots that I wish to write out to postcript files. I open
the postscript device as suggested [postscript(file="foo.eps",...)], run
my plotting commands, and close the device as suggested [dev.off()].
However, when I open the eps files in a postscript viewer such as the
gimp, the resolution of the postscript images is *really* bad, very
"blocky" and
2008 May 30
1
Aggregation and the meaning of class
Dear R-ers,
My aggregation saga continues.
Using the following sequence, I can calculate any statistic for row
groups and merge the result back to all associated rows ...
> WM = by( D60, D60[ "KeyProfA"], FUN=function(x) weighted.mean( x$IAC, x$Wt))
> D60$IAC.WM = as.numeric( WM[ D60$KeyProfA])
> class( WM)
[1] "by"
Questions ...
1) Is this a reasonable way
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
2005 Mar 09
3
function in order to plot the same graph to postscript and pdf
Hi,
I've written a function in order to plot the same graph in a postcript and in
a pdf file. Unfortunately, the second graph is always empty, i.e.:
plot.both <- function{myplot, filename}{
pdf(file=paste(filename, ".pdf", sep=""))
myplot
dev.off()
postscript(file=paste(filename, ".eps", sep=""))
myplot
dev.off()
}
yields in a
2005 Dec 14
2
Printing Postscript - Very Weird Problem.
Hey folks,
okay, here's the situation - I have a Centos 4.2 system with cups printing
installed printing via postcript (with appropriate PPD file) to a HP
LaserJet 1320N printer (via jetdirect socket 9100).
Everything seems to work right - except for an unusual 'font'??? problem.
Many letters seem to be just slightly garbled. At first I thought this
was a mechanical problem at
2005 Jan 10
3
Mixing portrait/landscape in a postscript file
Dear list,
I'm stuck with a little graphical problem. I'm generating several
lattice plots which are printed in a single postcript device opened by
> trellis.device(postscript, theme=canonical.theme("postscript",
color=F), file="an_phase2_graph.ps", paper="a4", pointsize = 10,
onefile=TRUE, horizontal=TRUE)
Everything works fine,but some of these
2012 Jun 09
0
bad mmio size, MMIO emulation failed, and other issues
I''ve been trying to pass through a GPU to a domU, so far with a lot of
trouble but finally a success. PCI passthrough works, I''ve had the usb
hubs work successfully. Today I tried to pass through my ATI card to
an ubuntu hvm domU with no gfx_passthru and got this:
[...]
(XEN) memory_map:add: dom14 gfn=f3040 mfn=f7c40 nr=4
(XEN) memory_map:remove: dom14 gfn=f3040 mfn=f7c40 nr=4
2008 Sep 19
2
hvm domain xen unstable crashing on CVTPS2PI instruction
I was trying to install Ubuntu 7.10 on an HVM domain, when when the
install kept hanging at a particular point.
xm dmesg shows the following :
(XEN) realmode.c:132:d28 Failed to emulate insn.
(XEN) realmode.c:174:d28 Real-mode emulation failed @ 0000:00007f34: 0f 2c 06 08 6b 04
(XEN) domain_crash called from realmode.c:175
(XEN) Domain 28 (vcpu#0) crashed on cpu#0:
(XEN) ----[ Xen-3.4-unstable
2010 May 30
0
How to interpret a result based on wmtsa
Dear R family
I have a question as to how to get an answer I want to derive with the
outcome from R-package, "wmtsa".
My concern is that I want to decide equivalent degrees of freedom
(EDOF) based on the following outcome.
library(wmtsa)
W <- wavMODWT(X, wavelet="s8")
z1 <- wavEDOF(W)
print(z1)
#Intentionally, I do not assign n.levels and specify SDF.
The following is
2010 Oct 28
2
How to enable Arial font for postcript/pdf figure on Windows?
Hi,
I need to generate some figure using the Arial font as a requirement for
PLoS.
Following their guidelines, I have converted the windows font files
arial.tff files to .afm using tff2afm (exec file from MikTeX), but when I
try to generate a postcript file, the postcript device does not recognize
the .afm files.
The code I use to test the new font is the following:
2020 Mar 31
2
[ARM] Register pressure with -mthumb forces register reload before each call
Hi,
Compiling attached test-case, which is reduced version of of
uECC_shared_secret from tinycrypt library [1], with
--target=arm-linux-gnueabi -march=armv6-m -Oz -S
results in reloading of register holding function's address before
every call to blx:
ldr r3, .LCPI0_0
blx r3
mov r0, r6
mov r1, r5
mov r2, r4
ldr r3,
2010 May 31
1
Suddenly "HDLC Bad FCS (8)" errors on ISDN-PRI, changed nothing
Hi fellow asterisk users,
I am running Asterisk 1.4.29 with an Digium TE121 card (wcte12xp kernel
module) an approx. 100 snom320. The whole installation is running
without issues since 5 months.
Without having changed anything on the asterisk server for at least 2
months, i noticed "clicking sounds" at external calls over the PRI.
Asterisk constantly throws the following messages:
...
2009 Mar 09
5
Help
Hello Everyone,
I am trying to excess the inbuit .Fortran and .C codes of R. Can any one
help me in that. For example in kmeans clustering the algorithms are written
in .Fortran I want to access them and see the .Fortran syntax of the codes.
Can any one help me how can I do that?
Thanx,
Nitin Kumar
On Thu, Nov 27, 2008 at 12:00 PM, <r-help-request@r-project.org> wrote:
> Send R-help
2020 Apr 15
4
[ARM] Register pressure with -mthumb forces register reload before each call
Hi,
I have attached WIP patch for adding foldMemoryOperand to Thumb1InstrInfo.
For the following case:
void f(int x, int y, int z)
{
void bar(int, int, int);
bar(x, y, z);
bar(x, z, y);
bar(y, x, z);
bar(y, y, x);
}
it calls foldMemoryOperand twice, and thus converts two calls from blx to bl.
callMI->dump() shows the function name "bar" correctly, however in
generated
2006 Feb 09
2
Javaruntime RPM Issue
Hi All,
downloaded and installed the latest jre,
[root at localhost java]# rpm -iv jre-1_5_0_06-linux-i586.rpm
Preparing packages for installation...
jre-1.5.0_06-fcs
[root at localhost java]# ls
javarpm jre-1_5_0_06-linux-i586.rpm jre-1_5_0_06-linux-i586-rpm.bin
[root at localhost java]#
[root at localhost java]# whereis jre-1.5.0_06-fcs
jre-1.5:
[root at localhost java]# which
2006 Apr 13
1
JavaRunTime Install Error
Hi All,
I installed the following from here,
http://java.com/en/download/manual.jsp
and followed here,
http://java.com/en/download/help/5000010500.xml#rpm
what am I doing wrong? Also, how does one find where the rpm installed
to? whereis or locate or find or is there a rpm option? Cheers
Mark Sargent.
[coolprogrammer at localhost local]$ sudo /bin/rpm -iv
jre-1_5_0_06-linux-i586.rpm