Re: [R] Difference between snw and rnw files

From: Duncan Murdoch <>
Date: Mon, 02 Jun 2008 08:29:44 -0400

On 6/2/2008 7:25 AM, Delphine Fontaine wrote:
> Dear R-users,
> I use Sweave for quite a long time but I still wonder what is the difference
> between snw and rnw files. Why these two file extensions ? I searched the
> web without success.
> Thanks for your answers.

There is no difference from the point of view of Sweave (which doesn't care about filenames), but users may use those names to distinguish files meant for R from those meant for S-PLUS. Or they may just be in the habit of calling everything S code, since the language is S, and prefer Snw.

Duncan Murdoch mailing list PLEASE do read the posting guide and provide commented, minimal, self-contained, reproducible code. Received on Mon 02 Jun 2008 - 12:34:22 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Mon 02 Jun 2008 - 13:30:36 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.

list of date sections of archive