Displaying 20 results from an estimated 1400 matches similar to: "Greek letters in CairoPDF"
2009 Apr 24
0
Problem with greek "beta" symbol in plot using CairoPDF (Windows)
Dear R-Helpers,
I have a problem with displaying the greek "beta" symbol in PDF files
using Cairo library - it displays as an empty box. The same also happens
for a dash symbol in subscript. Both symbols are displayed correctly if
the plot is produced on screen (outside of CairoPDF).
The syntax that I use for it in plot command is:
2009 Nov 25
1
Kerning issues with CairoPDF
Dear list members
I'm using CairoPDF to generate PDF (because of its font embedding and
support for transparent colours). However, at least on my (Windows)
system, the text it outputs seems to have completely wrong kerning.
Here's an example:
CairoPDF("test.pdf")
plot(rnorm(100),xlab="Ovreset")
dev.off()
The v is (slightly) too far away from the O, it's much
2012 Jan 09
1
CairoPDF and greek letter spacing
I have a small problem with R graphics output. When I use the lattice
package and CairoPDF to generate publication quality graphs I often use
the expression to create an axis title that has microlitres or
micrometers as a unit. I use something like the following
'expression(paste("Length (", mu,"m )"))' as an argument to the xlabel
function. The command works but the mu
2011 Feb 22
2
Plotting a functional time series
Hello,
I'm willing to plot a sequence of densities on a 3d graph, something like
-----------------------------------------------------------------
x <- sapply(1:10, function(i)rnorm(1000))
f <- sapply(1:10, function(i)density(x[,i], from=-5,to=5)$y)
grid <- density(x[,1], from=-5,to=5)$x
win.graph()
persp(grid1, 1:10, f,theta=-50, phi=30, d=2)
2011 Apr 16
1
CairoPDF, Fonts, and Windows 7
Hi All:
I have some basic questions about Cairo graphics engine. I'm trying to use the Cairo package to produce PDF output, mainly because I perceive it to be easy to use with a wide variety of fonts.
But right now, I'm stuck trying to figure out what fonts are available to be used with Cairo, specifically the CairoPDF function. I've been able to successfully produce some test PDFs
2011 Feb 19
1
Building an array from matrix blocks
Hello,
I've googled for a while and couldn't find anything on this topic: say
I have a matrix A and want to build matrices B1, B2,... using blocks
from A (or equivalently an array B with B[,,i] being a block from A),
and that I must sum the B[,,i]'s.
I've come up with this rather non-elegant code:
> n = 6
> p = 3
>
> A <- matrix(1:(n^2), n, n, byrow=TRUE)
>
2011 Jan 27
2
pdf greek letter typos
Hi there,
yet on the topic of greek letters and pdf plotting: when I run the
following code
pdf(file="temp.pdf")
mu=seq(from=-pi, to=pi, length=100)
plot(mu, sin(mu^2),
type="l",
xlab=expression(mu%in%(list(-pi,pi))),
ylab=expression(sin(mu^2)),
main=expression((list(mu,sin(mu^2)))))
dev.off()
I get a "proportional to" symbol in place of a
2013 Jan 23
1
cannot allocate memory block of size 2.7 Gb
Hello R-users
I am getting error messagens when I require some packages or execute some procedures, like these below:
> require(tseries)
Loading required package: tseries
Error in get(Info[i, 1], envir = env) :
cannot allocate memory block of size 2.7 Gb
> require (TSA)
Loading required package: TSA
Loading required package: locfit
Error in get(Info[i, 1], envir = env) :
cannot
2011 Apr 04
1
RGtk2: How to populate an GtkListStore data model?
hello all
I am trying to learn how to use the RGtk2 package...
so, my first problem is: I don't get the right way for populate my
gtkListStore object!
any help is welcome... because I am trying several day to mount the code...
Thanks in advanced
Cleber N. Borges
---------------------------
# my testing code
library(RGtk2)
win <- gtkWindowNew()
datamodel <-
2008 Jun 18
1
Error in bugs.run -- R2WinBUGS
Hi,
I tried to use MethComp library and this library make use of the WinBUGS
by R2WinBuGUS,
but I get the follow error in bugs.run:
*Error in bugs.run(n.burnin, bugs.directory, WINE = WINE, useWINE =
useWINE, : *
Look at the log file and
try again with 'debug=TRUE' to figure out what went wrong within Bugs.
Anyone can help-me, please?
Thanks
Cleber
library( MethComp )
library(
2011 Nov 29
1
Read TXT file with variable separation
Hi!
I have to import some TXT files into R, but the separation between the
columns are made with different blank spaces, but each file use the
same separation. Example:
31 104 5 0 11RUA SAO
SEBASTIAO 25
BAIRRO FILETO
01
2012 Nov 08
1
the results of the SORT function differ from Scilab/Matlab for Complex Numbers
Hello useRs,
The results of the SORT function differ from Scilab/Matlab for Complex
Numbers in my example.
This design is the desirable in R?
Thanks.
Cleber
r <- c(
1.7507+0.1689i, 1.7507-0.1689i, 1.3886+0.0000i, 1.0458+0.0792i,
1.0458-0.0792i,
0.8279+0.1861i, 0.8279-0.1861i, 0.8263+0.3731i, 0.8263-0.3731i,
0.6548+0.0000i
)
> cbind(sort(r, d=T))
[,1]
[1,]
2012 Apr 26
0
Some graphical parameters don't works in plot.table and plot.TukeyHSD.
Hello all,
I would like to relate this behaviour of: plot.table & plot.TukeyHSD.
They don't work with some graphical parameters.
Thanks for your attetion.
Cleber
> ### example:
> plot( table(1:10), cex.axis=0.6)
> plot( table(1:10), las=2)
>
> tukaov <- TukeyHSD( aov(breaks ~ wool + tension, data = warpbreaks) )
>
> plot( tukaov, main='xxx' )
Error
2017 Dec 26
0
Unexpected behaviour of windowsFonts() when Rdevga is edited
Hi folks,
?
Running R in a Windows machine:
?
> sessionInfo()
R version 3.4.2 (2017-09-28)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 8.1 x64 (build 9600)
?
Matrix products: default
?
locale:
[1] LC_COLLATE=Portuguese_Brazil.1252? LC_CTYPE=Portuguese_Brazil.1252? ?
[3] LC_MONETARY=Portuguese_Brazil.1252 LC_NUMERIC=C? ? ? ? ? ? ? ? ? ? ??
[5]
2009 Dec 22
0
Embed Fonts in All EPS files inside a Directory
Hi List, I would like to embed some fonts (AFM format) on 324 eps files
produced by a R loop, I’m able to do so one-by-one with the following
command:
embedFonts('C:/Users/Rodrigo/Documents/UFPR/Micropaleontologia/Potiguar/Cata
logo/Mapas/EPS/Example.eps',
outfile='C:/Users/Rodrigo/Documents/UFPR/Micropaleontologia/Potiguar/Catalog
o/Mapas/EPS/Example2.eps',
2011 Mar 27
1
gtk, RGtk2 and error in callback: delet_event in mai window
Hello All,
I am trying to learn about the GUI in R (with GTK+Glade+RGtk2) and in my
test I don't get sucess in to make
an callback to destroy the application...
When I try to define an function for "delet-event callback", I get the
error message:
(with mouse click in X window)
*Error in function () : *
* unused argument(s) (<pointer: 0x017ca000>, <pointer:
2011 Jul 21
1
Error: bad index in plotmo functions for MARS model (package earth)
Hello all useRs,
I am tring make a simple surface plot ( 2 by 2 terms of a MARS model
(with earth package)
but I get the follow error message:
> plotmo( mars )
Error: bad index (missing column in x?)
I don't no how to workround this... :-(
I thanks in advanced by some help!
Thanks.
Cleber
###############
>
> ### example code:
> library( earth )
> data( gasoline,
2017 Dec 21
1
develop.raw error ( adimpro )
Hello all,
I'm trying to use the adimpro package to read RAW files (image). Make
readins is OK!
> r <- read.raw( '20171218_210956.dng', type='RAW', compress=FALSE )
> summary( r )
> ### cut the many lines...
Filter pattern: GR/BG
> extract.info( r )
[1] "GR/B"
>
To next, develop the raw file using the "develop.raw" function.
But the
2011 Jan 03
7
Saving objects inside a list
Hello there,
any ideas on how to save all the objects on my workspace inside a list
object?
For example, say my workspace is as follows
ls()
[1] "x" "y" "z"
and suppose I want to put these objects inside a list object, say
object.list <- list()
without having to explicitly write down their names as in
object.list$x = x
object.list$y = y
object.list$z = z
Is
2009 Jan 13
1
odfWeave: Error in matrixPaste(...)
Hello all,
I try the follow test with an odf file.
*INPUT: teste.odt*
<teste, results=xml>>=
x <- matrix(rnorm(6), nc=2)
xst <- tableStyles(x, useRowNames = TRUE, header = NULL)
odfTable(x, styles=xst, colnames = NULL, useRowNames = TRUE)
@
and I get this error:
*OUTPUT error:*
Error: chunk 1 (label=teste)
Error in matrixPaste(textStart, textName, textEnd, x, tagEnd, sep =