[R] Could anyone tell me how to open .RNW file?

Uwe Ligges ligges at statistik.uni-dortmund.de
Fri Aug 20 22:50:06 CEST 2004

F Duan wrote:
> Dear R people,
> I find some of help files under doc directory in R are RNW extensions. Could 
> anyone explain to me what they mean and which program I should use to open them?
> I tried to open them by Rgui.exe but failed. Currently I use wordpad (or other 
> txt editors) to open them though the opened files are not very readable.

Rnw stands for R NoWeb files. They have to be processed by Sweave i.e. 
code chunks are processed with R and results inluded into a LaTeX file 
that itself has to be processed by LaTeX oder PDFLaTeX.
For more details on Sweave goggle for it and its author, Friedrich 
Leisch. There sre at least two corresponding articles in R News.

Either in R and in contributed packages, so-called vignettes should have 
been preprocessed and already available in form of pdf files, if a 
package has been build correctly.

Uwe Ligges

> Thank you.
> Best regards,
> Frank
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

More information about the R-help mailing list