Displaying 20 results from an estimated 10000 matches similar to: "ps or pdf"
2007 Oct 04
3
pdf() device uses fonts to represent points - data alteration?
Hello all,
I discovered that the pdf device uses fonts to represent "points"
symbols (as in plot(...,type="p",...) ). Namely it uses ZapfDingbats
with symbol U+25cf. This can lead to problems when the font is not
available, or available in another version (such as points being
replaced by other symbols, or worst: slightly displaced).
Furthermore, it also causes
2010 Nov 04
2
Problems with points in plots when importing from pdf to an SVG editor
Dear R-users
When trying to import graphics from an pdf-file to a Vector graphics editor
(I use Inkscape, but i've confirmed the same problem on adobe products), all
points in the graphics turn out as "q"s.
This example displays the beaviour:
pdf(file="points are weird.pdf")
plot(1:5)
dev.off()
When importing the file to inkscape, I get five neatly arranged little
2010 Dec 30
4
pdf() Export Problem: Circles Interpreted as Fonts from ggplot2 Graphics
Good Evening:
I am putting together a large report with plots created in R, V 2.12.0. Most of
the plots are created using ggplot2 V0.8.9. I use R's pdf() command to export
the plot to a pdf file. I am exporting the plots and attempting to edit the
title text in?Inkscape?primarily because ggplot2 does not support superscript or
subscript formatting in the title text. For the report I am
2012 Aug 13
3
merge counts from table()
Hi everyone,
Is there an easy way to combine the counts from table()?
Let's say that I have:
x<-1:4
y<-2:5
I want to replicate:
table(c(x,y))
using only table(x) and table(y) as input.
The reason is that it's cumbersome to carry all the values around when all I care about are the counts. The actual situation has about a billion counts over ~150 categories.
I know there's
2004 Aug 08
1
[fdo] Inkscape BOF @ Siggraph LOS ANGELES - MON, AUG 9, 4-5 PM
*PLEASE FORWARD*
Inkscape: An Open Source Vector Graphics (SVG) Editor Overview
Birds of a Feather Meeting in Co-operation with Siggraph 04 at the Los
Angeles Convention Center
http://www.siggraph.org/s2004/conference/birds/index.php?pageID=conference
Monday, 9 August
4 - 5 pm
Holiday Inn City Center
Santa Monica Room
Jon Phillips + Jon Cruz
###
Inkscape: Draw Freely.
2015 Nov 05
2
PDFs and SVGs containing rasterGrobs don't display correctly in some other software
I've just been trying to post-process some R-created heatmaps using
Inkscape, but I can't get them to display correctly in that software.
To reproduce:
library(grid)
r <- as.raster(matrix(runif(25), 5, 5))
pdf("test.pdf")
grid.newpage()
grid.raster(r, interpolate = FALSE)
dev.off()
This figure should be a five by five block of grey squares. This is
what I see in the R GUI
2019 Jun 19
3
point size in svg
Hello, All:
????? I'm unable to control the font size in plots to svg.? Consider
the following:
svg('cex-svg.svg')
cex. <- 5
plot(1:2, cex.axis=cex.)
text(1:2, 1:2, c('as', 'DF'),
????????? cex=cex.)
dev.off()
????? When I open this in Gimp 2.10.4, the font size is tiny.? I also
tried:
svg('cex-svg.svg', width=15, height=15, pointsize=24)
cex.
2006 Nov 09
1
R crashing on linux
Hi everyone,
I've had R crashing on rather repeatedly and I'd like to know if there's
anything to be done with it.
This is with R 2.3.0. That computer does not have R 2.4 installed on it.
This is a Linux FC4 on 64bit processor.
How to reproduce it:
1- ssh to server with X forwarding.
2- start R in a screen.
3- violently kill ssh on the client machine (in my case this is achieved
by
2007 Oct 04
2
print Text on device
hi BioC,
I need to plot a vector of characters on a pdf device, not as a legend, but
as in image by itself.
I tried text but it is only related to locate text in a plot.
what do you suggest?
> sessionInfo()
R version 2.6.0 (2007-10-03)
x86_64-unknown-linux-gnu
locale:
2010 Sep 08
1
saving heatmaps in graphical format that can be edited in graphic editor tool
I generated a heatmap in R using the following commands:
> mydata <- read.csv(file="Data.csv", header=TRUE, sep=",")
> mydata <- mydata[rowSums(mydata[,-1]^2) >0, ]
> rownames(mydata)=mydata$Name
> mydata <- mydata[,2:253]
> mydatamatrix <- data.matrix(mydata)
> mydatascale <- t(scale(t(mydatamatrix)))
> hr <-
2007 Oct 18
5
vector graphics/ ungroup and edit in CorelDraw
System:
Linux kernel 2.6.15 Ubuntu dapper
R version 2.5.1
ESS 5.2.11 on Emacs 21.4.1
-------------------------
Colleagues
Having read the posts on producing perfect graphs in R, or using
inkscape to edit R graphics output, I have a related question.
Lately I am publishing in a journal that is very picky about their
graphics formats. It is more efficient for me to get the final picky
details
2007 Aug 03
2
RSPython won't load in R 2.6.0 under Linux
I can compile RSPython without difficulty, been when I try to load it, I
get the error messages below. Also below are some cryptic warnings I get
on R boot (in case these are pertinent) and my sessionInfo().
Any help is appreciated. Thanks, Mark
Warning messages:
1: In .updateMethodsInTable(fdef, where, attach) :
Couldn't find methods table for "conditional", package
2008 Jan 23
3
How do I get a character and a symbol in a legend
In the following snippet
plot(1:10,1:10,type="n")
points(1:5,1:5,pch="+")
points(6:10,6:10,pch=20)
legend(5,5, c("A","B"), pch=c("+",20))
I want to get a legend with a "+" and a solid circle (pch=20).
However, what I get in the legend is "+" and "2". How can I get a "+"
and a solid circle?
thanks, Steve
2007 Nov 28
1
Can't make affylmGUI work
Hi,
Can anyone help me of the affylmGUI package, I can't get it work and
searched for google but can't find any proper solutions.
I get the error information each time when I load my cells files, which
are shown in the following links.
-------------
http://clarezoe.googlepages.com/1.png
http://clarezoe.googlepages.com/2.png
http://clarezoe.googlepages.com/3.png
-------------
Errors also
2007 Sep 20
1
packages MANOR, qvalue, and tkWidgets fail install on Fedora 7 with latest R-beta build
Had some packages fail install so I updated to today's R-beta release.
On updating packages the following packages still fail. sessionInfo
follows. Mark
Warning messages:
1: In install.packages(update[instlib == l, "Package"], l, contriburl =
contriburl, :
installation of package 'MANOR' had non-zero exit status
2: In install.packages(update[instlib == l,
2007 Aug 09
1
tcltk error on Linux
I am having trouble getting tcltk package to load on openSuse 10.2
running R-devel. I have specifically put my /usr/share/tcl directory in
my PATH, but R doesn't seem to see it. I also have installed tk on my
system. Any ideas on what the problem is?
Also, note that I have some warning messages on starting up R, not sure
what they mean or if they are pertinent.
Thanks, Mark
Warning
2008 May 19
1
RSQLite and undefined symbol:sqlite3_bind_in
Hi All,
I tried to install AnnotationDBI
like so:
source("http://bioconductor.org/biocLite.R")
biocLite("AnnotationDbi")
and got this error:
....
Loading required package: RSQLite
Error in dyn.load(file, ...) :
unable to load shared library '/RHEL3/local/lib64/R/library/
RSQLite/libs/RSQLite.so':
/RHEL3/local/lib64/R/library/RSQLite/libs/RSQLite.so: undefined
2008 Feb 25
3
How to include the documentation of a function in a Sweave document?
Dear R-help,
I would like to include the documentation of an R function in an
*.rnw document processed by Sweave. Because I'm sharing my *.rnw
files with colleagues under Linux and Windows (I'm on Mac OS X),
I would like a pure R solution.
The naive approach doesn't work, because Sweaving this *.rnw
file:
-------- tmp.rnw --------
\documentclass{article}
\begin{document}
2006 Jan 14
7
Application Design
Hi Railsers,
How do you design your applications? Do you start coding HTML? Start
with the controllers/models? Start in a program like
photoshop/gimp/illustrator/inkscape?
I start in inkscape, it''s a SVG editor. I sketch all the views of my
application, and then I create the views that belong to one controller
in RHTML. After that, I do the models/controller, and move on to the
2008 May 26
2
R 2.7.0: pdf() > pdf.options versus formals
Hi,
I have a tiny question about the graphics change in R 2.7.0.
If I write a script ? la:
options(device="pdf")
formals(pdf)[c("file","onefile","width","height")] <- list("~/Rplot
%03d.pdf", FALSE, 8, 8)
plot(3)
plot(4)
both plots will be written into ONE pdf file. (not two as expected)
This worked fine under 2.6.x
In R 2.7.0 I