john.maindonald@anu.edu.au
2000-Mar-21 22:15 UTC
[Rd] Use of Rd2txt on .Rd files from rw-1.0.0 (PR#498)
>From e980153 Tue Mar 21 18:50:55 2000To: bates@stat.wisc.edu Subject: Use of Rd2txt on .Rd files from rw-1.0.0 Files generated using prompt.data.frame() under rw-1.0.0 get scrambled (mildly) when I process them under Rd2txt on Solaris, (using R-devel 1.1.0). Files generated under R-devel 1.1 on Solaris are processed ok. The .Rd files from the two sources look identical. The problem is likely to be with Rd2txt, I guess. Here is an example. I give only the first part of the output, where the problem occurs. ========================================================Kiwifruit data Description: Kiwifruitkiwishade' data frame has 48 rows and 3 columns. shading trial Format: This data frame contains the following columns: yield a numeric vector `west' ck a factor with levels `Feb2May' a factor with levels `none' Details: ............ ======================================================== Here is what I expected to get, and do get when the .Rd file is generated under Solaris: ========================================================Kiwifruit data Description: The `kiwishade' data frame has 48 rows and 3 columns. Kiwifruit shading trial Format: This data frame contains the following columns: yield a numeric vector block a factor with levels `east' `north' `west' shade a factor with levels `Aug2Dec' `Dec2Feb' `Feb2May' `none' ............ ======================================================== Here is the .Rd file, from the PC, then editing using emacs under Solaris. However the same scrambling occurs when the files is processed without editing. ========================================================\name{kiwishade} \alias{kiwishade} \non_function{} \title{Kiwifruit data} \description{ The \code{kiwishade} data frame has 48 rows and 3 columns. Kiwifruit shading trial } \format{ This data frame contains the following columns: \describe{ \item{yield}{ a numeric vector } \item{block}{ a factor with levels \code{east} \code{north} \code{west} } \item{shade}{ a factor with levels \code{Aug2Dec} \code{Dec2Feb} \code{Feb2May} \code{none} } } } \details{ } \source{ Snelgar at al. } \examples{ data(kiwishade) } \keyword{datasets} ======================================================== John Maindonald email : john.maindonald@anu.edu.au Statistical Consulting Unit, phone : (6249)3998 c/o CMA, SMS, fax : (6249)5549 John Dedman Mathematical Sciences Building Australian National University Canberra ACT 0200 Australia -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-devel-request@stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Prof Brian D Ripley
2000-Mar-26 08:38 UTC
[Rd] Use of Rd2txt on .Rd files from rw-1.0.0 (PR#498)
How did you get the files from Windows to Solaris? I suspect you have CRLF line endings (which emacs tolerates). Try converting to LF (e.g. by MULE on emacs setting the coding). It is a bit much to expext Unix systems to accept Windows files. On Tue, 21 Mar 2000 john.maindonald@anu.edu.au wrote:> >From e980153 Tue Mar 21 18:50:55 2000 > To: bates@stat.wisc.edu > Subject: Use of Rd2txt on .Rd files from rw-1.0.0 > > Files generated using prompt.data.frame() under rw-1.0.0 get > scrambled (mildly) when I process them under Rd2txt on Solaris, > (using R-devel 1.1.0). > Files generated under R-devel 1.1 on Solaris are processed ok. > > The .Rd files from the two sources look identical. The problem > is likely to be with Rd2txt, I guess. > > Here is an example. I give only the first part of the output, > where the problem occurs. > ========================================================> Kiwifruit data > > Description: > > Kiwifruitkiwishade' data frame has 48 rows and 3 columns. > shading trial > > Format: > > This data frame contains the following columns: > > yield a numeric vector > > `west' ck a factor with levels > > `Feb2May' a factor with levels > `none' > > Details: > > ............ > ========================================================> > Here is what I expected to get, and do get when the .Rd file > is generated under Solaris: > > ========================================================> Kiwifruit data > > Description: > > The `kiwishade' data frame has 48 rows and 3 columns. Kiwifruit > shading trial > > Format: > > This data frame contains the following columns: > > yield a numeric vector > > block a factor with levels `east' `north' `west' > > shade a factor with levels `Aug2Dec' `Dec2Feb' `Feb2May' > `none' > ............ > ========================================================> > Here is the .Rd file, from the PC, then editing using emacs > under Solaris. However the same scrambling occurs when the > files is processed without editing. > ========================================================> \name{kiwishade} > \alias{kiwishade} > \non_function{} > \title{Kiwifruit data} > \description{ > The \code{kiwishade} data frame has 48 rows and 3 columns. > Kiwifruit shading trial > } > \format{ > This data frame contains the following columns: > \describe{ > \item{yield}{ > a numeric vector > } > \item{block}{ > a factor with levels > \code{east} > \code{north} > \code{west} > } > \item{shade}{ > a factor with levels > \code{Aug2Dec} > \code{Dec2Feb} > \code{Feb2May} > \code{none} > } > } > } > \details{ > > } > \source{ > Snelgar at al. > } > \examples{ > data(kiwishade) > } > \keyword{datasets} > ========================================================> > John Maindonald email : john.maindonald@anu.edu.au > Statistical Consulting Unit, phone : (6249)3998 > c/o CMA, SMS, fax : (6249)5549 > John Dedman Mathematical Sciences Building > Australian National University > Canberra ACT 0200 > Australia > > > -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- > r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html > Send "info", "help", or "[un]subscribe" > (in the "body", not the subject !) To: r-devel-request@stat.math.ethz.ch > _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._ >-- Brian D. Ripley, ripley@stats.ox.ac.uk Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272860 (secr) Oxford OX1 3TG, UK Fax: +44 1865 272595 -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-devel-request@stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
XIO: fatal IO error 104 (Connection reset by peer) on X server "localhost:0.0" after 0 requests (0 known processed) with 0 events remaining. is the error message i get when DISPLAY=localhost:0.0 -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-devel-request@stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
updgrading to exceed 6.2 solved the localhost display problem. Erich Neuwirth wrote:> > XIO: fatal IO error 104 (Connection reset by peer) on X server > "localhost:0.0" > after 0 requests (0 known processed) with 0 events remaining. > > is the error message i get when DISPLAY=localhost:0.0 > -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- > r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html > Send "info", "help", or "[un]subscribe" > (in the "body", not the subject !) To: r-devel-request@stat.math.ethz.ch > _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-devel-request@stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._