[Rd] Help file doesn't display correctly

Ronggui Huang ronggui.huang at gmail.com
Tue Oct 6 11:12:07 CEST 2009


Dear R Developer,

It seems to be a problem with help file. Not sure if it is related to
the new format of Rd parser. Multiple lines are joined together
without proper line break.


> ?mean
There were 14 warnings (use warnings() to see them)
## All lines are joined together and not easy to read.

> warnings()
Warning messages:
1: In grepl("^[[:blank:]]*$", buffer[length(buffer)]) :
  input string 1 is invalid in this locale
2: In grep("^[[:space:]]*$", buffer) : input string 5 is invalid in this locale
3: In grep("^[[:space:]]*$", buffer) : input string 2 is invalid in this locale
4: In grep("^[[:space:]]*$", buffer) : input string 1 is invalid in this locale
5: In grep("^[[:space:]]*$", buffer) : input string 4 is invalid in this locale
6: In grep("^[[:space:]]*$", buffer) : input string 5 is invalid in this locale
7: In grep("^[[:space:]]*$", buffer) : input string 6 is invalid in this locale
8: In grep("^[[:space:]]*$", buffer) : input string 7 is invalid in this locale
9: In grep("^[[:space:]]*$", buffer) : input string 9 is invalid in this locale
10: In grep("^[[:space:]]*$", buffer) : input string 10 is invalid in
this locale
11: In grepl("^[[:space:]]*$", txt[1L]) :
  input string 1 is invalid in this locale
12: In grepl("^[[:blank:]]*$", buffer[length(buffer)]) :
  input string 1 is invalid in this locale
13: In grep("^[[:space:]]*$", buffer) : input string 1 is invalid in this locale
14: In grep("^[[:space:]]*$", buffer) : input string 2 is invalid in this locale
> sessionInfo()
R version 2.10.0 alpha (2009-10-04 r49936)
i386-pc-mingw32

locale:
[1] LC_COLLATE=Chinese_People's Republic of China.936
LC_CTYPE=Chinese_People's Republic of China.936
[3] LC_MONETARY=Chinese_People's Republic of China.936 LC_NUMERIC=C
[5] LC_TIME=Chinese_People's Republic of China.936

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base

loaded via a namespace (and not attached):
[1] tools_2.10.0


-- 
HUANG Ronggui, Wincent
Doctoral Candidate
Dept of Public and Social Administration
City University of Hong Kong
Home page: http://asrr.r-forge.r-project.org/rghuang.html



More information about the R-devel mailing list