Other packages > Find by keyword >

hanyupinyin  

Convert Chinese Characters into Hanyu Pinyin
View on CRAN: Click here


Download and install hanyupinyin package within the R console
Install from CRAN:
install.packages("hanyupinyin")

Install from Github:
library("remotes")
install_github("cran/hanyupinyin")

Install by package version:
library("remotes")
install_version("hanyupinyin", "0.1.3")



Attach the package and use:
library("hanyupinyin")
Maintained by
Haoran Cui
[Scholar Profile | Author Map]
All associated links for this package
First Published: 2026-04-22
Latest Update: 2026-04-22
Description:
Convert Chinese characters into Hanyu Pinyin (the official romanization system for Standard Chinese) with support for tones, toneless output, initials, URL slugs, and valid R variable names. The package was inspired by the now-orphaned CRAN package 'pinyin' (archived in April 2026 after the maintainer became unreachable). 'hanyupinyin' is a ground-up rewrite using the authoritative Unicode Unihan database, a vectorized engine, and modern R practices. Dictionary data are derived from the Unicode Unihan Database (Unicode Consortium, 2025) <https://www.unicode.org/reports/tr38/>.
How to cite:
Haoran Cui (2026). hanyupinyin: Convert Chinese Characters into Hanyu Pinyin. R package version 0.1.3, https://cran.r-project.org/web/packages/hanyupinyin. Accessed 10 Oct. 2026.
Previous versions and publish date:
(2026-07-09 07:46), 0.1.1 (2026-04-22 10:50)
Other packages that cited hanyupinyin R package
View hanyupinyin citation profile
Other R packages that hanyupinyin depends, imports, suggests or enhances
Complete documentation for hanyupinyin
Functions, R codes and Examples using the hanyupinyin R package
Full hanyupinyin package functions and examples
Downloads during the last 30 days

Today's Hot Picks in Authors and Packages

adespatial  
Multivariate Multiscale Spatial Analysis
Tools for the multiscale spatial analysis of multivariate data. Several methods are based on the us ...
Download / Learn more Package Citations See dependency  
RPEnsemble  
Random Projection Ensemble Classification
Implements the methodology of "Cannings, T. I. and Samworth, R. J. (2017) Random-projection ensemble ...
Download / Learn more Package Citations See dependency  
eoR  
Data Management Package (Exposure and Occurrence Data in R)
This data management package provides some helper classes for publicly available data sources (HMD, ...
Download / Learn more Package Citations See dependency  
keyATM  
Keyword Assisted Topic Models
Fits keyword assisted topic models (keyATM) using collapsed Gibbs samplers. The keyATM combines the ...
Download / Learn more Package Citations See dependency  
quickcode  
Quick and Essential 'R' Tricks for Better Scripts
The NOT functions, 'R' tricks and a compilation of some simple quick plus often used 'R' codes to im ...
Download / Learn more Package Citations See dependency  

28,989

R Packages

247,686

Dependencies

76,729

Author Associations

28,990

Publication Badges

© Copyright since 2022. All right reserved, rpkg.net.  Based in Cambridge, Massachusetts, USA