search for: hannon

Displaying 16 results from an estimated 16 matches for "hannon".

Did you mean: shannon
2018 Feb 19
2
Include pre-existing PDF files as vignettes in an R package?
...nk these are more or less isomorphic to Rmd files, but I haven't used Org-mode in a long time, so I think the mapping (Org-mode ==> Rmd) would be painful. -- Mike On Mon, Feb 19, 2018 at 1:20 AM, Duncan Murdoch <murdoch.duncan at gmail.com> wrote: > On 18/02/2018 9:06 PM, Michael Hannon wrote: >> >> Greetings. The group that I work with has just started using the approach >> outlined in Karl Broman's handy primer: >> >> http://kbroman.org/pkg_primer/pages/vignettes.html >> >> to create vignettes for a couple of R packages. >&g...
2018 Feb 19
0
Include pre-existing PDF files as vignettes in an R package?
On 19/02/2018 5:47 AM, Michael Hannon wrote: > Thanks, Duncan. The files in question are Emacs Org-mode files, and I > think these are more or less isomorphic to Rmd files, but I haven't > used Org-mode in a long time, so I think the mapping (Org-mode ==> > Rmd) would be painful. If they aren't LaTeX then they...
2018 Feb 19
2
Include pre-existing PDF files as vignettes in an R package?
> On 19 Feb 2018, at 12:25, Duncan Murdoch <murdoch.duncan at gmail.com <mailto:murdoch.duncan at gmail.com>> wrote: > > On 19/02/2018 5:47 AM, Michael Hannon wrote: >> Thanks, Duncan. The files in question are Emacs Org-mode files, and I >> think these are more or less isomorphic to Rmd files, but I haven't >> used Org-mode in a long time, so I think the mapping (Org-mode ==> >> Rmd) would be painful. That should be easy...
2018 Feb 19
4
Include pre-existing PDF files as vignettes in an R package?
Greetings. The group that I work with has just started using the approach outlined in Karl Broman's handy primer: http://kbroman.org/pkg_primer/pages/vignettes.html to create vignettes for a couple of R packages. This works fine as long as we have a current Rmd version of the vignette. But we have some old PDF documents that we'd like to include as vignettes as well. I'd like
2018 Feb 19
0
Include pre-existing PDF files as vignettes in an R package?
...be ok. On Feb 19, 2018 07:05, "Rainer Krug" <rainer_krug at icloud.com> wrote: > > > > On 19 Feb 2018, at 12:25, Duncan Murdoch <murdoch.duncan at gmail.com > <mailto:murdoch.duncan at gmail.com>> wrote: > > > > On 19/02/2018 5:47 AM, Michael Hannon wrote: > >> Thanks, Duncan. The files in question are Emacs Org-mode files, and I > >> think these are more or less isomorphic to Rmd files, but I haven't > >> used Org-mode in a long time, so I think the mapping (Org-mode ==> > >> Rmd) would be painful....
2011 Jul 25
2
Simple example of using a closure in R to manage bank accounts?
Greetings. I once ran across a simple (toy) example of using a closure in R to manage bank accounts. I've got a use for it now but can no longer find it. If you have it (or a similar example), will you please send it to me? (Unfortunately, a web search that includes the terms "bank" and "closure" leads into a whole pile of unrelated stuff.) Thanks, -- Mike
2018 Feb 19
0
Include pre-existing PDF files as vignettes in an R package?
On 18/02/2018 9:06 PM, Michael Hannon wrote: > Greetings. The group that I work with has just started using the approach > outlined in Karl Broman's handy primer: > > http://kbroman.org/pkg_primer/pages/vignettes.html > > to create vignettes for a couple of R packages. > > This works fine as long as...
2018 Feb 19
0
Include pre-existing PDF files as vignettes in an R package?
Hi Mike, Did you read the relevant section of the official "Writing R Extensions" manual? If so, what about the instructions provided there do you find lacking? Best, Ista On Sun, Feb 18, 2018 at 9:06 PM, Michael Hannon <jmhannon.ucdavis at gmail.com> wrote: > Greetings. The group that I work with has just started using the approach > outlined in Karl Broman's handy primer: > > http://kbroman.org/pkg_primer/pages/vignettes.html > > to create vignettes for a couple of R packages. &g...
2010 Nov 08
1
R 2.12?
Greetings. I understand that R 2.12 has been available for about three weeks, but I haven't seen a Fedora version yet. Can anybody tell me the status? I'm getting some pressure to install the new version from source, but I much prefer to use yum if I can. Thanks, -- Mike
2010 Feb 04
1
How to choose "seed" in set.seed(seed, ...)?
Greetings. I understand that to generate distinct sequences of random numbers in R one can initialize the calculation of each sequence by calling the set.seed() function with a distinct value for "seed" the (integer) first argument to the function. I'd like to know if there are any guidelines or best practices for choosing "seed". I.e., is it OK just to choose seed as
2009 Aug 30
1
Infinite != NaN?
Greetings. I somehow had the impression that an infinite number, as obtained by dividing by zero, for instance, would be flagged as both missing ("NA") and not a number ("NaN"). It appears that I was wrong on both counts, although the is.finite function correctly returns FALSE in such a case. Please see the appended for some details. I guess that the bottom line is that R
2017 Nov 15
0
Is there a tool to find unused functions?
mvbutils::foodweb produces a graphical display of the hierarchy (or network or ...) of function calls. Isolated functions are not called. This might help you. -- Mike On Wed, Nov 15, 2017 at 12:44 AM, Alexander Engelhardt <alex at chaotic-neutral.de> wrote: > I've inherited a large R codebase which has grown over a few years and a few > different developers. > > It
2017 Dec 21
3
Building R from source with the PGI compiler
Hello I would like to build R from source and use the PGI compiler, rather than the GCC compiler. I saw the instructions for the Intel compiler in the R Installation Manual, but I didn't see the PGI. I tried a few times without instructions, but without success. Any suggestions would be most welcome. Also, I hope this is the right group for the question. Sincerely, Erin -- Erin
2017 Nov 15
2
Is there a tool to find unused functions?
I've inherited a large R codebase which has grown over a few years and a few different developers. It contains many things I'd like to delete: - Unused functions - Variable definitions that are never called - Unreachable code I'd write that myself, it would even be fun, but I don't want to reinvent the wheel. Is there an R package that can find these things? I've heard of
2017 Dec 09
1
Remove
library(dplyr) DM <- read.table( text='GR x y A 25 125 A 23 135 . . . ) DM %>% filter((GR == "A" & (x >= 15) & (x <= 30)) | (GR == "B" & (x >= 40) & (x <= 50)) | (GR == "C" & (x >= 60) & (x <= 75))) On Fri, Dec 8, 2017 at 4:48 PM, Ashta <sewashm at gmail.com>
2013 May 23
1
sample(c(0, 1)...) vs. rbinom
Greetings.? My wife is teaching an introductory stat class at UC Davis.? The class emphasizes the use of simulations, rather than mathematics, to get insight into statistics, and R is the mandated tool.?? A student in the class recently inquired about different approaches to sampling from a binomial distribution.? I've appended some code that exhibits the idea, the gist of which is that using