[R] extract R code from Sweave file

ronggui ronggui.huang at gmail.com
Sun Dec 10 11:28:54 CET 2006


try
>Stangle("557_project.Rnw",output="557_project")

On 12/10/06, Aimin Yan <aiminy at iastate.edu> wrote:
> I want to extract all chunk codes from file" 557_project.Rnw". why this is
> not ok?
>
> thanks,
>
> Aimin
>
>  > Rtangle("557_project.Rnw",output="557_project")
> Error in Rtangle("557_project.Rnw", output = "557_project") :
>          unused argument(s) ("557_project.Rnw", output = "557_project")
>
> ______________________________________________
> 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
> and provide commented, minimal, self-contained, reproducible code.
>


-- 
Ronggui Huang
Department of Sociology
Fudan University, Shanghai, China
»ÆÈÙ¹ó
¸´µ©´óѧÉç»áѧϵ




More information about the R-help mailing list