Displaying 20 results from an estimated 9000 matches similar to: "Plotting Chinese characters"
2011 Feb 09
0
[R-SIG-Mac] Plotting Chinese characters
Alberto,
you simply need a font that has those characters. For example on 10.6 this works:
plot.new(); plot.window(0:1,0:1); text(0.5,0.5,"??",cex=10,family="Hei")
You may want to check your system for fonts that you can use (those that have chinese characters when you click on them in Font Book). There are a lot of fonts that work like STSong, STFangsong, LiSong Pro,
2008 Dec 31
1
Chinese characters encoding problem with XML
XML is a good tool reading data from web within R. But I wonder how could get the encoding correctly.
library(XML)
url <- 'http://www.szitic.com/docc/jz-lmzq.html'
xml <- htmlTreeParse(url, useInternal=TRUE)
q <- "//tbody/tr/td"
dat <- unlist(xpathApply(xml, q, xmlValue))
df <- as.data.frame(t(matrix(dat, 4)))
dt<-as.character(df[15,1])
The first column of df
2007 Nov 14
1
wine-0.9.49 in Kubuntu Gutsy Couldn't Display Chinese Characters Properly
Please see the attached screenshot. Notice that I could make notepad
show the contents of a file in Chinese after changing the default font
in notepad. I could see the Chinese filename in the window decoration
title. But in the "open" dialog," I couldn't read the Chinese filename
(each Chinese character was shown as '<')
In fact, I fact similar problem (Chinese
2018 Mar 08
2
[Bug report] Chinese characters are not handled correctly in Rterm for Windows
Hello everyone,
I am new to R and I have experienced some bugs when using Rterm on Windows.
Chinese characters in the console output are discarded by Rterm, and trying
to type them into the console will crash the Rterm application.
---ENVIRONMENT---
Platform = x86_64-w64-mingw32
OS = Windows 10 Pro 1709 chs
R version = 3.4.3
Active code page = 936 (Simplified Chinese)
---STEPS TO
2017 Oct 12
2
can't print ggplot with Chinese characters to pdf files
I install the Chinese font "Kaiti TC" on my mac, but I can't print the
figures to pdf file by "marrangeGrob" command, which is in the package
"gridExtra". Error message after I type "ggsave(......)" (last line of the
program):
"Saving 7.47 x 5.15 in image
Error in grid.Call.graphics(L_text, as.graphicsAnnot(x$label), x$x, x$y, :
invalid font
2006 Mar 24
6
Chinese characters in the title
Dear experts,
In my application,
Chinese characters work great in the body of the page. However, in the title, they appear as boxes instead of something like " ???????? ".
I also noticed CNET having the same issue:
http://www.cnetnews.com.cn/news/net/story/0,3800050307,39438403,00.htm
So my question to experts here is that is it possible to show Chinese
2019 Sep 13
2
Printing chinese characters (UTF-8) on R 3.5.2 -windows 10
But if I type
> "?"
the output is
[1] "?"
so seemingly it can be represented. Or, am I wrong?
Best
Iago
________________________________
De: Tomas Kalibera <tomas.kalibera at gmail.com>
Enviat el: divendres, 13 de setembre de 2019 11:24
Per a: IAGO GIN? V?ZQUEZ <i.gine at pssjd.org>; r-devel at r-project.org <r-devel at r-project.org>
Tema: Re: [Rd]
2005 Jun 06
2
simplified Chinese and traditional Chinese translation for R manuals
Hi, every one,
I have translated <An Introduction to R > into simplified Chinese and
traditional Chinese. You can browse them from these two URL:
simplified Chinese:
http://www.biosino.org/pages/newhtm/r/schtml/index.html#Top
traditional Chinese: http://www.biosino.org/pages/newhtm/r/tchtml/
I have distributed these document in HTML format. That is because there is
something wrong with
2017 Oct 13
1
[FORGED] can't print ggplot with Chinese characters to pdf files
Hi
Instead of ...
ggsave("test_plot_chinese.pdf", m2)
... try ...
cairo_pdf("test_plot_chinese.pdf")
print(m2)
dev.off()
Paul
On 13/10/17 02:12, John wrote:
> I install the Chinese font "Kaiti TC" on my mac, but I can't print the
> figures to pdf file by "marrangeGrob" command, which is in the package
> "gridExtra". Error message
2017 Oct 13
0
[FORGED] can't print ggplot with Chinese characters to pdf files
Thanks, Paul. Following your solution, I got this error message:
Warning message:
In cairo_pdf("test_plot_chinese.pdf") : failed to load cairo DLL
Is there anything else I need to install?
Thanks,
John
2017-10-12 19:24 GMT-07:00 Paul Murrell <paul at stat.auckland.ac.nz>:
> Hi
>
> Instead of ...
>
> ggsave("test_plot_chinese.pdf", m2)
>
> ...
2019 Sep 13
2
Printing chinese characters (UTF-8) on R 3.5.2 -windows 10
I have a chinese character on a data frame, but the output of printing it is its UTF-8 code. Concretely, the character is ? and the code is U+6703. Following the code I arrive to the instruction
> base::format.default("?")
which prints
[1] "<U+6703>"
I do not know which is the extent of this behaviour either if it follows on most recent versions of R.
Is it
2019 Sep 13
2
Printing chinese characters (UTF-8) on R 3.5.2 -windows 10
On Fri, Sep 13, 2019 at 11:53 AM Tomas Kalibera <tomas.kalibera at gmail.com>
wrote:
> On 9/13/19 11:37 AM, IAGO GIN? V?ZQUEZ wrote:
> > But if I type
> > >"?"
> > the output is
> > [1] "?"
> > so seemingly it can be represented. Or, am I wrong?
>
> In RGui you can print the string, because RGui is a Windows Unicode
>
2017 Oct 20
0
[FORGED] can't print ggplot with Chinese characters to pdf files
Hi,
Following Paul's instruction, I have installed the Cairo. I tried to run
the program, and there is no error message at all. I did see the Chinese
title in the plot if I ask my RStudio to show the plot (if I type "p1"),
but the pdf file shows the plots without the Chinese titles.
library(ggplot2)
library(gridExtra)
df1<-data.frame(x=1:2, y=3:4, z=5:6)
#p1<-ggplot(df1,
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=..."
2015 Sep 29
3
CentOS 7 Chinese font support
Hello,
I have installed CentOS7 and found some of the Chinese html web pages
hosted on the CentOS machine cannot display normally. "yum grouplist"
cannot find the Chinese support, not quite sure if the Chinese font package
is included or somewhere else? Can please help suggest how to install the
Chinese fonts? Thanks.
Regards,
Eric
2014 Dec 09
3
Request permission for editting Simplified Chinese Frontpage
My wiki username is HoLee .
Now, the simplified chinese frontpage is maintained by TimothyLee.
Because of his efforts ,the Traditional Chinese Frontpages and
Simplified Chinese Frontpages are created and maintained very well.
I know that TimothyLee is from Taiwan,so the Simplified Chinese
Frontpage is translated from Traditional Chinese Frontpage
directly.So,there are some sentences is
2005 Jan 10
3
chinese characters
Hi,
I am using SME server 6.0 which has samba preconfigured on it. We
upgraded from MS Windows 2000 server.
I am using the server in China and so many of the users wish to create
files with Chinese characters in their names.
File names with Chinese characters seem to cause all sorts of problems.
They have trouble creating them, and files which are copied off backup
(from the W2K system)
2007 Apr 05
7
Re: how to use Chinese Characters in wxRuby?
yes,I'm using wxruby2
When I change
"samples/text/unicode.rb" 's content:
require 'wx'
into
begin
require 'wx'
rescue LoadError => no_wx_err
begin
require 'rubygems'
require 'wx'
rescue LoadError
raise no_wx_err
end
end
and run unicode.rb in this way:
ruby -Ku unicode.rb
I got the error message like this:
unicode.rb:119:
2007 Jun 09
1
smbclient error: NT_STATUS_BAD_NETWORK_NAME, on shared foler with a Chinese name
Hi folks,
I am trying to access the shared folders on a Windows XP PC from a Linux (FC5) PC using smbclient.
Linux config info:
$ locale
LANG=en_US.UTF-8
$ rpm -q samba
samba-3.0.24-6.fc5
smb.conf:
[global]
dos charset = CP936 <--- Simplified Chinese
unix charset = UTF-8
display charset = LOCALE
Now, here is the problem:
2017 Oct 16
0
[FORGED] can't print ggplot with Chinese characters to pdf files
Hi,
Sorry to bother you with this question here.
I tried to install Macports on my Mac OS Sierra, and type "sudo port
install cairo", but it did not respond. I haven't seen any file name or app
called Macports, but one file called "port" which is located at
loca/bin/port"
How should I do it?
Thanks,
John
*******
Last login: Sun Oct 15 02:52:49