[R] using edit to extract codes from vignette failed

Uwe Ligges ligges at statistik.tu-dortmund.de
Sun Sep 7 15:30:12 CEST 2014



On 07.09.2014 11:06, PO SU wrote:
>
> Dear expeRts,
>      When i using the following code, i get a error as follows:
>
>
>
>   edit(file=vignette("grobs",package = "grid"))

I guess you want to

edit(file = vignette("grobs", package = "grid")[["file"]])

?

Best,
Uwe Ligges




> Error in edit.vignette(file = vignette("grobs", package = "grid")) :
>    argument "name" is missing, with no default
>
>
> I investigated edit function, but still can't  get codes from a vignette, May you help me?
>
>
> --
>
> PO SU
> mail: desolator88 at 163.com
> Majored in Statistics from SJTU
> ______________________________________________
> R-help at r-project.org 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.
>



More information about the R-help mailing list