Re: [R] using edit to extract codes from vignette failed
FYI: I get the same for Windows 7 and 8, no RStudio: edit(vignette(grobs,package = grid)) works for me edit(file=vignette(grobs,package = grid)) does not edit(file=vignette(grobs,package = grid)) Error in tempfile(name$topic, fileext = .R) : argument name is missing, with no default edit(vignette(grobs,package = grid)) Re RStudio: https://support.rstudio.com/hc/en-us?community_id=public? From: PO SU [rhelpmaill...@163.com] Sent: 09 September 2014 03:07 To: William Dunlap Cc: Karl Ropkins; R. Help Subject: Re:Re: [R] using edit to extract codes from vignette failed OK, i get it, i should set the editor argument , i don't know how to report a bug to Rstudio, may you do that ? -- PO SU mail: desolato...@163.com Majored in Statistics from SJTU At 2014-09-09 00:41:33, William Dunlap wdun...@tibco.com wrote: Complain to the RStudio people - RStudio defines its own options(editor) which is not completely compatible with R's option(editor=internal). If you set options(editor=internal) in RStudio then you can look at the code in the vignette. (I tried with last year's RStudio 0.98.501 and this may have been fixed by now.) Bill Dunlap TIBCO Software wdunlap tibco.com On Mon, Sep 8, 2014 at 9:21 AM, PO SU rhelpmaill...@163.com wrote: Tks for correcting me not using the file argument, but the codes you supply seem still not work. edit(vignette(grobs,package = grid)) can't work. I am using win7, the latest version of Rstudio which using R.3.1.1.The error is: Error in editor(file = file, title = title) : argument name is missing, with no default -- PO SU mail: desolato...@163.com Majored in Statistics from SJTU At 2014-09-08 05:46:39, Karl Ropkins k.ropk...@its.leeds.ac.uk wrote: Try: edit(vignette(grobs,package = grid)) (edit is a method. It looks at the class of the first entry, name, to identify which method to use. See ?edit. You want it to use edit.vignette, so you need to drop 'file=' so you pass the vignette to edit as the first argument or name=. Then edit will pass it to edit.vignette and it'll work. Or go direct: edit.vignette(vignette(grobs,package = grid)). See ?vignette. Maybe the use of name as the first argument of a method is a little misleading? But you can work out what is going if you work through the help documentation.) Karl Message: 9 Date: Sun, 7 Sep 2014 17:06:44 +0800 (CST) From: PO SU rhelpmaill...@163.com To: R. Help r-help@r-project.org Subject: [R] using edit to extract codes from vignette failed Message-ID: 4d3c1c8a.1c96.1484f5d8d31.coremail.rhelpmaill...@163.com Content-Type: text/plain; charset=UTF-8 Dear expeRts, ? ? When i using the following code, i get a error as follows: ?edit(file=vignette(grobs,package = grid)) 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: desolato...@163.com Majored in Statistics from SJTU __ R-help@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. __ R-help@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. __ R-help@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.
Re: [R] using edit to extract codes from vignette failed
i don't know how to report a bug to Rstudio Have you tried clicking on 'Help', then on 'RStudio Support' in the menu that pops up? Bill Dunlap TIBCO Software wdunlap tibco.com On Mon, Sep 8, 2014 at 7:07 PM, PO SU rhelpmaill...@163.com wrote: OK, i get it, i should set the editor argument , i don't know how to report a bug to Rstudio, may you do that ? -- PO SU mail: desolato...@163.com Majored in Statistics from SJTU At 2014-09-09 00:41:33, William Dunlap wdun...@tibco.com wrote: Complain to the RStudio people - RStudio defines its own options(editor) which is not completely compatible with R's option(editor=internal). If you set options(editor=internal) in RStudio then you can look at the code in the vignette. (I tried with last year's RStudio 0.98.501 and this may have been fixed by now.) Bill Dunlap TIBCO Software wdunlap tibco.com On Mon, Sep 8, 2014 at 9:21 AM, PO SU rhelpmaill...@163.com wrote: Tks for correcting me not using the file argument, but the codes you supply seem still not work. edit(vignette(grobs,package = grid)) can't work. I am using win7, the latest version of Rstudio which using R.3.1.1.The error is: Error in editor(file = file, title = title) : argument name is missing, with no default -- PO SU mail: desolato...@163.com Majored in Statistics from SJTU At 2014-09-08 05:46:39, Karl Ropkins k.ropk...@its.leeds.ac.uk wrote: Try: edit(vignette(grobs,package = grid)) (edit is a method. It looks at the class of the first entry, name, to identify which method to use. See ?edit. You want it to use edit.vignette, so you need to drop 'file=' so you pass the vignette to edit as the first argument or name=. Then edit will pass it to edit.vignette and it'll work. Or go direct: edit.vignette(vignette(grobs,package = grid)). See ?vignette. Maybe the use of name as the first argument of a method is a little misleading? But you can work out what is going if you work through the help documentation.) Karl Message: 9 Date: Sun, 7 Sep 2014 17:06:44 +0800 (CST) From: PO SU rhelpmaill...@163.com To: R. Help r-help@r-project.org Subject: [R] using edit to extract codes from vignette failed Message-ID: 4d3c1c8a.1c96.1484f5d8d31.coremail.rhelpmaill...@163.com Content-Type: text/plain; charset=UTF-8 Dear expeRts, ? ? When i using the following code, i get a error as follows: ?edit(file=vignette(grobs,package = grid)) 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: desolato...@163.com Majored in Statistics from SJTU __ R-help@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. __ R-help@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. __ R-help@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.
[R] using edit to extract codes from vignette failed
Try: edit(vignette(grobs,package = grid)) (edit is a method. It looks at the class of the first entry, name, to identify which method to use. See ?edit. You want it to use edit.vignette, so you need to drop 'file=' so you pass the vignette to edit as the first argument or name=. Then edit will pass it to edit.vignette and it'll work. Or go direct: edit.vignette(vignette(grobs,package = grid)). See ?vignette. Maybe the use of name as the first argument of a method is a little misleading? But you can work out what is going if you work through the help documentation.) Karl Message: 9 Date: Sun, 7 Sep 2014 17:06:44 +0800 (CST) From: PO SU rhelpmaill...@163.com To: R. Help r-help@r-project.org Subject: [R] using edit to extract codes from vignette failed Message-ID: 4d3c1c8a.1c96.1484f5d8d31.coremail.rhelpmaill...@163.com Content-Type: text/plain; charset=UTF-8 Dear expeRts, ? ? When i using the following code, i get a error as follows: ?edit(file=vignette(grobs,package = grid)) 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: desolato...@163.com Majored in Statistics from SJTU __ R-help@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.
Re: [R] using edit to extract codes from vignette failed
Tks for correcting me not using the file argument, but the codes you supply seem still not work. edit(vignette(grobs,package = grid)) can't work. I am using win7, the latest version of Rstudio which using R.3.1.1.The error is: Error in editor(file = file, title = title) : argument name is missing, with no default -- PO SU mail: desolato...@163.com Majored in Statistics from SJTU At 2014-09-08 05:46:39, Karl Ropkins k.ropk...@its.leeds.ac.uk wrote: Try: edit(vignette(grobs,package = grid)) (edit is a method. It looks at the class of the first entry, name, to identify which method to use. See ?edit. You want it to use edit.vignette, so you need to drop 'file=' so you pass the vignette to edit as the first argument or name=. Then edit will pass it to edit.vignette and it'll work. Or go direct: edit.vignette(vignette(grobs,package = grid)). See ?vignette. Maybe the use of name as the first argument of a method is a little misleading? But you can work out what is going if you work through the help documentation.) Karl Message: 9 Date: Sun, 7 Sep 2014 17:06:44 +0800 (CST) From: PO SU rhelpmaill...@163.com To: R. Help r-help@r-project.org Subject: [R] using edit to extract codes from vignette failed Message-ID: 4d3c1c8a.1c96.1484f5d8d31.coremail.rhelpmaill...@163.com Content-Type: text/plain; charset=UTF-8 Dear expeRts, ? ? When i using the following code, i get a error as follows: ?edit(file=vignette(grobs,package = grid)) 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: desolato...@163.com Majored in Statistics from SJTU __ R-help@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. __ R-help@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.
Re: [R] using edit to extract codes from vignette failed
On Mon, Sep 8, 2014 at 11:21 AM, PO SU rhelpmaill...@163.com wrote: Tks for correcting me not using the file argument, but the codes you supply seem still not work. edit(vignette(grobs,package = grid)) can't work. I am using win7, the latest version of Rstudio which using R.3.1.1.The error is: Error in editor(file = file, title = title) : argument name is missing, with no default The following worked for me: edit(vignette(grobs,package=grid),editor=notepad) Sys.info() returns: Sys.info() sysname release Windows 7 x64 version nodename build 7601, Service Pack 1 IT-JMCKOWN machinelogin x86-64john.mckown user effective_user john.mckownjohn.mckown Apparently there is some option, called editor?, which neither of us has set. And I guess Rstudio doesn't have a default. -- There is nothing more pleasant than traveling and meeting new people! Genghis Khan Maranatha! John McKown __ R-help@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.
Re: [R] using edit to extract codes from vignette failed
On 08/09/2014 12:21 PM, PO SU wrote: Tks for correcting me not using the file argument, but the codes you supply seem still not work. edit(vignette(grobs,package = grid)) can't work. I am using win7, the latest version of Rstudio which using R.3.1.1.The error is: Error in editor(file = file, title = title) : argument name is missing, with no default That appears to be an RStudio bug. edit(vignette(grobs,package = grid)) works fine in R. You should report it to them. Duncan Murdoch -- PO SU mail: desolato...@163.com Majored in Statistics from SJTU At 2014-09-08 05:46:39, Karl Ropkins k.ropk...@its.leeds.ac.uk wrote: Try: edit(vignette(grobs,package = grid)) (edit is a method. It looks at the class of the first entry, name, to identify which method to use. See ?edit. You want it to use edit.vignette, so you need to drop 'file=' so you pass the vignette to edit as the first argument or name=. Then edit will pass it to edit.vignette and it'll work. Or go direct: edit.vignette(vignette(grobs,package = grid)). See ?vignette. Maybe the use of name as the first argument of a method is a little misleading? But you can work out what is going if you work through the help documentation.) Karl Message: 9 Date: Sun, 7 Sep 2014 17:06:44 +0800 (CST) From: PO SU rhelpmaill...@163.com To: R. Help r-help@r-project.org Subject: [R] using edit to extract codes from vignette failed Message-ID: 4d3c1c8a.1c96.1484f5d8d31.coremail.rhelpmaill...@163.com Content-Type: text/plain; charset=UTF-8 Dear expeRts, ? ? When i using the following code, i get a error as follows: ?edit(file=vignette(grobs,package = grid)) 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: desolato...@163.com Majored in Statistics from SJTU __ R-help@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. __ R-help@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. __ R-help@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.
Re: [R] using edit to extract codes from vignette failed
Complain to the RStudio people - RStudio defines its own options(editor) which is not completely compatible with R's option(editor=internal). If you set options(editor=internal) in RStudio then you can look at the code in the vignette. (I tried with last year's RStudio 0.98.501 and this may have been fixed by now.) Bill Dunlap TIBCO Software wdunlap tibco.com On Mon, Sep 8, 2014 at 9:21 AM, PO SU rhelpmaill...@163.com wrote: Tks for correcting me not using the file argument, but the codes you supply seem still not work. edit(vignette(grobs,package = grid)) can't work. I am using win7, the latest version of Rstudio which using R.3.1.1.The error is: Error in editor(file = file, title = title) : argument name is missing, with no default -- PO SU mail: desolato...@163.com Majored in Statistics from SJTU At 2014-09-08 05:46:39, Karl Ropkins k.ropk...@its.leeds.ac.uk wrote: Try: edit(vignette(grobs,package = grid)) (edit is a method. It looks at the class of the first entry, name, to identify which method to use. See ?edit. You want it to use edit.vignette, so you need to drop 'file=' so you pass the vignette to edit as the first argument or name=. Then edit will pass it to edit.vignette and it'll work. Or go direct: edit.vignette(vignette(grobs,package = grid)). See ?vignette. Maybe the use of name as the first argument of a method is a little misleading? But you can work out what is going if you work through the help documentation.) Karl Message: 9 Date: Sun, 7 Sep 2014 17:06:44 +0800 (CST) From: PO SU rhelpmaill...@163.com To: R. Help r-help@r-project.org Subject: [R] using edit to extract codes from vignette failed Message-ID: 4d3c1c8a.1c96.1484f5d8d31.coremail.rhelpmaill...@163.com Content-Type: text/plain; charset=UTF-8 Dear expeRts, ? ? When i using the following code, i get a error as follows: ?edit(file=vignette(grobs,package = grid)) 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: desolato...@163.com Majored in Statistics from SJTU __ R-help@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. __ R-help@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. __ R-help@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.
Re: [R] using edit to extract codes from vignette failed
On 08/09/2014 12:35 PM, Duncan Murdoch wrote: On 08/09/2014 12:21 PM, PO SU wrote: Tks for correcting me not using the file argument, but the codes you supply seem still not work. edit(vignette(grobs,package = grid)) can't work. I am using win7, the latest version of Rstudio which using R.3.1.1.The error is: Error in editor(file = file, title = title) : argument name is missing, with no default That appears to be an RStudio bug. edit(vignette(grobs,package = grid)) works fine in R. You should report it to them. Yes, confirmed: RStudio sets the editor option to a function that requires a name argument, but file.edit doesn't provide one. The documentation for that editor option is pretty weak, but I'd still say this is an RStudio bug. Duncan Murdoch Duncan Murdoch -- PO SU mail: desolato...@163.com Majored in Statistics from SJTU At 2014-09-08 05:46:39, Karl Ropkins k.ropk...@its.leeds.ac.uk wrote: Try: edit(vignette(grobs,package = grid)) (edit is a method. It looks at the class of the first entry, name, to identify which method to use. See ?edit. You want it to use edit.vignette, so you need to drop 'file=' so you pass the vignette to edit as the first argument or name=. Then edit will pass it to edit.vignette and it'll work. Or go direct: edit.vignette(vignette(grobs,package = grid)). See ?vignette. Maybe the use of name as the first argument of a method is a little misleading? But you can work out what is going if you work through the help documentation.) Karl Message: 9 Date: Sun, 7 Sep 2014 17:06:44 +0800 (CST) From: PO SU rhelpmaill...@163.com To: R. Help r-help@r-project.org Subject: [R] using edit to extract codes from vignette failed Message-ID: 4d3c1c8a.1c96.1484f5d8d31.coremail.rhelpmaill...@163.com Content-Type: text/plain; charset=UTF-8 Dear expeRts, ? ? When i using the following code, i get a error as follows: ?edit(file=vignette(grobs,package = grid)) 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: desolato...@163.com Majored in Statistics from SJTU __ R-help@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. __ R-help@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. __ R-help@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.
Re: [R] using edit to extract codes from vignette failed
On 08/09/2014 12:48 PM, Duncan Murdoch wrote: On 08/09/2014 12:35 PM, Duncan Murdoch wrote: On 08/09/2014 12:21 PM, PO SU wrote: Tks for correcting me not using the file argument, but the codes you supply seem still not work. edit(vignette(grobs,package = grid)) can't work. I am using win7, the latest version of Rstudio which using R.3.1.1.The error is: Error in editor(file = file, title = title) : argument name is missing, with no default That appears to be an RStudio bug. edit(vignette(grobs,package = grid)) works fine in R. You should report it to them. No need to do that, I've just done so. Duncan Murdoch Yes, confirmed: RStudio sets the editor option to a function that requires a name argument, but file.edit doesn't provide one. The documentation for that editor option is pretty weak, but I'd still say this is an RStudio bug. Duncan Murdoch Duncan Murdoch -- PO SU mail: desolato...@163.com Majored in Statistics from SJTU At 2014-09-08 05:46:39, Karl Ropkins k.ropk...@its.leeds.ac.uk wrote: Try: edit(vignette(grobs,package = grid)) (edit is a method. It looks at the class of the first entry, name, to identify which method to use. See ?edit. You want it to use edit.vignette, so you need to drop 'file=' so you pass the vignette to edit as the first argument or name=. Then edit will pass it to edit.vignette and it'll work. Or go direct: edit.vignette(vignette(grobs,package = grid)). See ?vignette. Maybe the use of name as the first argument of a method is a little misleading? But you can work out what is going if you work through the help documentation.) Karl Message: 9 Date: Sun, 7 Sep 2014 17:06:44 +0800 (CST) From: PO SU rhelpmaill...@163.com To: R. Help r-help@r-project.org Subject: [R] using edit to extract codes from vignette failed Message-ID: 4d3c1c8a.1c96.1484f5d8d31.coremail.rhelpmaill...@163.com Content-Type: text/plain; charset=UTF-8 Dear expeRts, ? ? When i using the following code, i get a error as follows: ?edit(file=vignette(grobs,package = grid)) 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: desolato...@163.com Majored in Statistics from SJTU __ R-help@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. __ R-help@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. __ R-help@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.
Re: [R] using edit to extract codes from vignette failed
OK, i get it, i should set the editor argument , i don't know how to report a bug to Rstudio, may you do that ? -- PO SU mail: desolato...@163.com Majored in Statistics from SJTU At 2014-09-09 00:41:33, William Dunlap wdun...@tibco.com wrote: Complain to the RStudio people - RStudio defines its own options(editor) which is not completely compatible with R's option(editor=internal). If you set options(editor=internal) in RStudio then you can look at the code in the vignette. (I tried with last year's RStudio 0.98.501 and this may have been fixed by now.) Bill Dunlap TIBCO Software wdunlap tibco.com On Mon, Sep 8, 2014 at 9:21 AM, PO SU rhelpmaill...@163.com wrote: Tks for correcting me not using the file argument, but the codes you supply seem still not work. edit(vignette(grobs,package = grid)) can't work. I am using win7, the latest version of Rstudio which using R.3.1.1.The error is: Error in editor(file = file, title = title) : argument name is missing, with no default -- PO SU mail: desolato...@163.com Majored in Statistics from SJTU At 2014-09-08 05:46:39, Karl Ropkins k.ropk...@its.leeds.ac.uk wrote: Try: edit(vignette(grobs,package = grid)) (edit is a method. It looks at the class of the first entry, name, to identify which method to use. See ?edit. You want it to use edit.vignette, so you need to drop 'file=' so you pass the vignette to edit as the first argument or name=. Then edit will pass it to edit.vignette and it'll work. Or go direct: edit.vignette(vignette(grobs,package = grid)). See ?vignette. Maybe the use of name as the first argument of a method is a little misleading? But you can work out what is going if you work through the help documentation.) Karl Message: 9 Date: Sun, 7 Sep 2014 17:06:44 +0800 (CST) From: PO SU rhelpmaill...@163.com To: R. Help r-help@r-project.org Subject: [R] using edit to extract codes from vignette failed Message-ID: 4d3c1c8a.1c96.1484f5d8d31.coremail.rhelpmaill...@163.com Content-Type: text/plain; charset=UTF-8 Dear expeRts, ? ? When i using the following code, i get a error as follows: ?edit(file=vignette(grobs,package = grid)) 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: desolato...@163.com Majored in Statistics from SJTU __ R-help@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. __ R-help@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. __ R-help@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.
[R] using edit to extract codes from vignette failed
Dear expeRts, When i using the following code, i get a error as follows: edit(file=vignette(grobs,package = grid)) 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: desolato...@163.com Majored in Statistics from SJTU __ R-help@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.
Re: [R] using edit to extract codes from vignette failed
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: desolato...@163.com Majored in Statistics from SJTU __ R-help@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. __ R-help@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.