similar to: unicode&pdf font problem RESOLVED

Displaying 20 results from an estimated 100 matches similar to: "unicode&pdf font problem RESOLVED"

2011 Jan 13
1
unicode&pdf font problem
Dear List, I would like to print a plot into pdf. The problem is that the character \U0171 is replaced by a simple 'u' (i.e. without accents) in the pdf file. Example: # this works fine plot(1,type="n") text(1,1,"print \U0171") # this fails pdf("trial.pdf") plot(1,type="n") text(1,1,"print \U0171") dev.off() I found an earlier post at
2013 Feb 18
2
mtext unicode failure
Readers, How to solve this unicode input error please? > postscript("~/tmp/test.eps",width=100/25.4,height=100/25.4,horizontal=FALSE,onefile=TRUE,paper="special") > testx<-seq(1:5) > testy<-seq(1:5) > plot(testy~testx) > mtext('text (O?)\n more text',side=3,line=1) Warning messages: 1: In mtext("text (O?)\n more text", side = 3, line =
2012 Jun 06
2
non ascill characters in plots. no alternative but plotmath?
A student entered some data with text characters like epsilon and alpha. On her Windows system, the Greek letters did not display properly in a plot. There were some ordinary ASCII instead. I asked her to send me the code so I could test. For me, the plot looks ok on the screen. Format1 <- c(320,500,700,1000,500,320,700,500,320) Format2 <- c(800,1000,1150,1400,1500,1650,1800,2300,2500)
2011 Jan 01
3
Plot symbols: How to plot (and save) a graphic symbols originating from a table
Dear all, Please, I have a doubt regarding symbol plotting with data originating from a table. Please, see below: I have a tab delimited file called table1.txt with 4 columns: ypos animal var1 var2 5 cat gina <= lady gina \u2264 lady 7 dog bill >= tony bill \u2265 tony 9 fish dude <= bro dude \u2264 bro #I then load in the data to R: table1<-read.table("table1.txt",
2010 Mar 20
1
Printing Unicode characters in a PDF document
Colleagues, OS: OS X R: 2.10.1 I want a mu (?) to appear in text that is created using a PDF device. However, the ? does not appear as intended; instead, it is replaced by two dots. A minimal example is: > pdf("mu.pdf") > plot(1,1, type="n") > text(1,1, "\u3BC") > dev.off() The "text" command yields the following warning messages: >
2010 Dec 05
1
"less than or equal to" glyph
If i insert \u2264 inside the text, like this lsd_label <- "LSD (P \u2264 0.05) = " the result is "LSD (P = 0.05) = " instead "LSD (P ? 0.05) = " how can i solve this problem? Thanks. -- View this message in context: http://r.789695.n4.nabble.com/less-than-or-equal-to-glyph-tp3073557p3073557.html Sent from the R help mailing list archive at Nabble.com.
2013 Sep 26
1
Less than equal to symbol in ggplot2 legend text
Hello, I am trying to add a less than equal to symbol in a ggplot2 legend text. See sample code below. I have tried using the expression function and \u2264. I also tried adding labels to legend.text under theme. Neither of these 3 options work. Please help, Mahesh ++++++++++++++ Extra.column=ifelse(data[,covariate]>cutpoint,1,0) Grp1 <- "\u2264 1.5" Grp2 <-
2023 Jan 16
1
Printing special characters
>>>>> Rui Barradas >>>>> on Mon, 16 Jan 2023 08:46:43 +0000 writes: > ?s 08:31 de 16/01/2023, Jeff Newmiller escreveu: >> Use the Cairo PDF device? >> >> On January 16, 2023 12:18:48 AM PST, Dennis Fisher >> <fisher at plessthan.com> wrote: >>> R 4.2.2 OS X >>> >>>
2006 Sep 04
1
Unable to save a plot containing Chinese (two-byte) Characters (PR#9201)
Full_Name: Pavel Stranak Version: 2.3.1 OS: Mac OS X Submission from: (NULL) (195.113.20.81) Whenever I draw a plot containing Chinese character, it draws fine on screen, but never saves to a file. It does not matter, whether I first draw it on screen and than save or draw straight to pdf. It is also all the same, whether the characters are in label or in the plot itself (via "pch=..."
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
2007 Jun 27
1
make check for 2.5.1 RC fails on mbcsToSbcs in graphics
configure and make run OK, but make check failed for R version 2.5.1 RC (2007-06-26 r42068) on graphics with error: > ## The following two examples use latin1 characters: these may not > ## appear correctly (or be omitted entirely). > plot(1:10, 1:10, main = "text(...) examples\n~~~~~~~~~~~~~~", + sub = "R is GNU ?, but not ? ...") Error in title(...) :
2011 Jan 02
1
Please, need help with a plot
Please, I wonder if someone knows how to add the less than or equal to symbol in the plot generated by the code below: var1<-c('age <= 3','age <= 7','age <= 10','age <= 11','age <= 20','age <= 25','age <= 30','age <= 45','age <= 50','age < 55','age >= 55')
2012 Aug 09
1
Using unicode symbol has unexpected results in levels of factor object
Dear all, When I use a unicode symbol in the labels for a factor object, the corresponding level does not display as expected. However, using levels() on the factor returns the desired output. I noticed the discrepancy when the legend labels from a call to ggplot() did not display the desired symbol, but an explicitly built legend using the same labels did. Example (I am trying to get the less
2011 Oct 26
1
set different font family for strings in mtext or text?
Hi there, Is it possible to set different font family for strings in mtext or text? For example, on windows platform with windows() device: plot(1:10, type = "n") text(5,5, "Chinese (English)") #Chinese for Chinese characters it will give the correct Chinese and English characters with two different font family, i.e., English character in default sans family, and Chinese
2006 Sep 04
0
(PR#9201) Unable to save a plot containing Chinese (two-byte)
This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --27464147-689190176-1157401193=:15799 Content-Type: TEXT/PLAIN; CHARSET=ISO-8859-1 Content-Transfer-Encoding: 8BIT Content-ID: <Pine.LNX.4.64.0609042121261.15799 at gannet.stats.ox.ac.uk> On Mon, 4 Sep 2006, Pavel Stranak wrote: > On
2010 Aug 18
1
Fwd: \ell symbol (log-likelihood)
I sent this privately to ivo welch yesterday, and he thinks it might be useful to someone else as well. Since I'm on a Mac the screen device is quartz(): > quartz() > plot( c(0,1), c(0,1) ); > text( 0.5, 0.5, "\u2113" ) # and then File/Save As/ -- David. Begin forwarded message: > From: David Winsemius <dwinsemius at comcast.net> > Date: August 17,
2008 Jul 01
1
Autoconf / Windows package building problem for device package
Dear list, Tadashi Kadowaki has developed a pdf device package that allows to add hyperlinks and popups to (currently) text, mtext and rect calls. The package passes R CMD check (minor warnings) and compiles on MacOS X and GNU/Linux, but we do not succeed in building the package for Windows. The current version of the package can be checked out as svn checkout
2011 Jul 29
4
finding a faster way to run lm on rows of predictor matrix
Hi, everyone. I need to run lm with the same response vector but with varying predictor vectors. (i.e. 1 response vector on each individual 6,000 predictor vectors) After looking through the R archive, I found roughly 3 methods that has been suggested. Unfortunately, I need to run this task multiple times(~ 5,000 times) and would like to find a faster way than the existing methods. All three
2023 Jan 16
1
Printing special characters
?s 08:31 de 16/01/2023, Jeff Newmiller escreveu: > Use the Cairo PDF device? > > On January 16, 2023 12:18:48 AM PST, Dennis Fisher <fisher at plessthan.com> wrote: >> R 4.2.2 >> OS X >> >> Colleagues >> >> A file that I have read includes strings like this: >> "EVENT ? 30 sec" >> When I include the string in a graphic
2004 Apr 28
1
wine using -windows-System- font
I have noticed my WINE isn't using mentioned font already for a quiet long time. After having read http://www.winehq.org/site/docs/wine-user/config-fonts-main on this I found paragraph "5.10.1.1. How To Convert Windows Fonts". After I completed first 4 steps I stuck problem with 5th step: 5, Edit the ~/.wine/config file to remove aliases for the fonts you've just installed.