1d
comment How to properly document S4 methods using roxygen2
ad 2) I'm also getting the error described in my post when not using @rdname and not providing title for methods of a generic even when everything is in the same package. Could you verify that?
1d
comment How to properly document S4 methods using roxygen2
2) What's missing in Hadley's doc is a note that you must provide a title to methods for a generic of a different package than the one that contains your methods as otherwise you'll see the error I described in this post.
1d
comment How to properly document S4 methods using roxygen2
Well, seems a bit more complicated than that: 1) if you do choose to still use @rdname in order to combine help for your generic and all your methods to one Rd-help file (only works/is relevant if generic and the methods are in the same package; otherwise generic and methods will end up in different help files), then @family does not seem to work.
1d
comment How to properly document S4 methods using roxygen2
@PaulMcMurdie: check this out for your update. I think you can drop @docType, @rdname and @aliases as of roxygen2 3.0.
Apr
9
awarded Popular Question
Apr
4
comment Manual modifications of the class definition of a Reference Class instance
Nice approach! But I think the manual assignment destroys the internal self-referencing structure: once you ran update(), none of the methods are able to use/find .self anymore in subsequent calls. Just try running update() twice in a row. Any idea on how to fix that?
Mar
27
comment Transforming a nested environment into a nested list
Thanks! Quite obvious once you see it ;-)
Mar
26
accepted Transforming a nested environment into a nested list
Mar
26
comment Transforming a nested environment into a nested list
Nice addition on how to overwrite the S3 method!
Mar
26
comment Transforming a nested environment into a nested list
Ok, thanks! Thought there would already be something "built-in" that's faster than this. But I guess there isn't, right?
Mar
26
revised Transforming a nested environment into a nested list
edited tags
Mar
26
asked Transforming a nested environment into a nested list
Mar
23
revised R Markdown editor for eclipse
added 7 characters in body
Mar
23
asked R Markdown editor for eclipse
Mar
20
comment How to scrape data from a web site?
Well, by the workflow that I outlined. If you try to work directly on thepage as returned by readLines() (which is plain text, not a parsed object), you won't get very far and/or need to use a vast amount of regular expressions. What you want is to work with the parsed HTML code as it allows you to easily navigate within the node tree. If you want to webscrape, you need to learn some XPath and/or JSON, sorry.
Mar
20
revised How to scrape data from a web site?
added 469 characters in body
Mar
20
revised How to scrape data from a web site?
added 469 characters in body
Mar
20
revised How to scrape data from a web site?
added 469 characters in body
Mar
20
answered How to scrape data from a web site?
Mar
19
revised How to tell an R reference class object to update its method definitions?
deleted 2 characters in body
1 2 3 4 5