search for: dobelman

Displaying 20 results from an estimated 251 matches for "dobelman".

Did you mean: bokelman
2011 Aug 16
2
sysdata.rda, namespaces and package dependencies
...unsell") munsell::mnsl("10B 4/6") # Error in match(col, munsell.map$name) : object 'munsell.map' not found library(munsell) munsell::mnsl("10B 4/6") # Function works correctly Am I doing something wrong, or is this namespace bug? Hadley -- Assistant Professor / Dobelman Family Junior Chair Department of Statistics / Rice University http://had.co.nz/
2011 May 04
4
Recursive objects
...as by exclusion: "most types of objects are regarded as recursive, except for vector types, ?NULL? and symbols (as given by ?as.name?)." I think this that means recursive objects are: * lists * pairlists * calls * expressions Did I miss anything? Hadley -- Assistant Professor / Dobelman Family Junior Chair Department of Statistics / Rice University http://had.co.nz/
2010 Nov 09
3
How to detect if a vector is FP constant?
...? What cut off should I use? If it helps to be explicit, I'm interested in detecting when a vector is constant for the purpose of visual display. In other words, if I rescale x to [0, 1] do I have enough precision to get at least 100 unique values. Thanks! Hadley -- Assistant Professor / Dobelman Family Junior Chair Department of Statistics / Rice University http://had.co.nz/
2011 Dec 31
4
Base function for flipping matrices
...ll, Are there base functions that do the equivalent of this? fliptb <- function(x) x[nrow(x):1, ] fliplr <- function(x) x[, nrow(x):1] Obviously not hard to implement (although it needs some more checks), just wondering if it had already been implemented. Hadley -- Assistant Professor / Dobelman Family Junior Chair Department of Statistics / Rice University http://had.co.nz/
2011 Oct 18
9
readRDS and saveRDS
Hi all, Is there any chance that readRDS and saveRDS might one day become read.rds and write.rds? That would make them more consistent with the other reading and writing functions. Hadley -- Assistant Professor / Dobelman Family Junior Chair Department of Statistics / Rice University http://had.co.nz/
2010 Aug 27
2
NEWS and readNEWS
...de for readNEWS() it seems there are couple of places where it assumes it's working with the main R NEWS file: * s.post <- " SERIES NEWS" * s.pre <- "^[\t ]*CHANGES IN R VERSION " Is this a bug or is the documentation incorrect? Hadley -- Assistant Professor / Dobelman Family Junior Chair Department of Statistics / Rice University http://had.co.nz/
2011 Dec 23
1
Debugging namespace problems
...amples > > plot(my_plot()) Error in structure(list(data = data, layers = list(), scales = Scales$new(), : attempt to apply non-function Calls: plot ... my_plot -> ggplot -> ggplot.data.frame -> structure Execution halted Error: Command failed (1) Hadley -- Assistant Professor / Dobelman Family Junior Chair Department of Statistics / Rice University http://had.co.nz/ -------------- next part -------------- A non-text attachment was scrubbed... Name: nstest_0.1.tar.gz Type: application/x-gzip Size: 726 bytes Desc: not available URL: <https://stat.ethz.ch/pipermail/r-devel/attachm...
2010 Aug 24
3
require is to suggests as what is to imports?
Hi all, If a package suggests another package in its description, you can check it at runtime with requires. How do you do check if a package is available without loading it, if you only want to access one function in the package namespace. Thanks, Hadley -- Assistant Professor / Dobelman Family Junior Chair Department of Statistics / Rice University http://had.co.nz/
2011 Sep 21
3
Quelplot
Hi all, Does anyone have an R implementation of the queplot (K.?M. Goldberg and B.?Iglewicz. Bivariate extensions of the boxplot. Technometrics, 34(3):pp. 307?320, 1992)? I'm struggling with the estimation of the asymmetry parameters. Hadley -- Assistant Professor / Dobelman Family Junior Chair Department of Statistics / Rice University http://had.co.nz/
2011 Jun 13
3
Detecting development environment
...-forward, cross-platform way of determining if a user has all the tools needed to develop R packages (i.e. gcc etc)? It doesn't need to be 100%, but should give a rough idea. One idea I had was simply to see if system("R CMD install --help") worked. Hadley -- Assistant Professor / Dobelman Family Junior Chair Department of Statistics / Rice University http://had.co.nz/
2010 Mar 10
2
ggplot2: "varwidth"-equivalent for geom_boxplot?
Hi, Is there such a thing? If no: is it easily simulated? thanks, Joh
2010 Mar 19
5
Encrypt/decrypt in R
...9;m not looking for anything robust - I want some way of printing output to the screen that the user can't read immediately, but can decrypt a little later. The main thing I don't want to the user to see is a number, so (e.g.) ROT13 isn't appropriate. Hadley -- Assistant Professor / Dobelman Family Junior Chair Department of Statistics / Rice University http://had.co.nz/
2010 Jun 23
2
xtable for latex: setting some values globally
Dear All, a quick xtable question. I do have quite a bunch of tables in my latex document which I produce with xtable. That works fine so far. But I wonder is it possible set some values such as "environement", "caption.placement", or "size" globally so that it applies for table unless otherwise specified? If anybody has quick fix, that would be helpful. Thanks and
2010 Jun 29
1
Performance enhancement for ave
...grp1, d$grp2, drop = T)) d$avy2 <- ave(d$y, interaction(d$grp1, d$grp2, drop = T)) }) # user system elapsed # 6.735 0.209 7.064 all.equal(d$avy1, d$avy2) # TRUE all.equal(d$avx1, d$avx2) # TRUE i.e. ave should use g <- interaction(..., drop = TRUE) Hadley -- Assistant Professor / Dobelman Family Junior Chair Department of Statistics / Rice University http://had.co.nz/
2010 Nov 25
3
Go (back) from Rd to roxygen
Hi all, Since roxygen is a great help to document R packages, I am wondering if there exists an approach to go back from the raw Rd files to roxygen-documentation? E.g. turn "\author{Somebody}" into "@author Somebody". This sounds ridiculous, but I believe it helps in the long term for me to maintain R packages. Thanks! Regards, Yihui -- Yihui Xie <xieyihui at
2011 Mar 15
1
Persistent storage between package invocations
Hi all, Does anyone have any advice or experience storing package settings between R runs? Can I rely on the user's home directory (e.g. tools::file_path_as_absolute("~")) to be available and writeable across platforms? Hadley -- Assistant Professor / Dobelman Family Junior Chair Department of Statistics / Rice University http://had.co.nz/
2011 Apr 13
2
Line plots in base graphics
...uot;, group = Subject) But in base graphics, the best I can come up with is this: with(Oxboys, plot(age, height, type = "n")) lapply(split(Oxboys[c("age", "height")], Oxboys$Subject), lines) Am I missing something obvious? Thanks! Hadley -- Assistant Professor / Dobelman Family Junior Chair Department of Statistics / Rice University http://had.co.nz/
2010 Sep 29
1
License of R manuals
...(R language definition etc) released? They are not mentioned explicitly in license() and have no license information in the individual documents. Does this mean that they are released under GPL-2? If so, what does that mean, given that they aren't software? Hadley -- Assistant Professor / Dobelman Family Junior Chair Department of Statistics / Rice University http://had.co.nz/
2011 Feb 07
1
Save and serialize
Hi all, Is there any relationship between save and serialize? Do they use the same algorithm? Hadley -- Assistant Professor / Dobelman Family Junior Chair Department of Statistics / Rice University http://had.co.nz/
2012 Mar 20
1
Substitute adds id attribute?
...clean R session: > f <- function(x) substitute(x) > f(x) x > f(mpg) mpg but not after the following code library(devtools) install_github("staticdocs") library(staticdocs) build_package("ggplot2", tempdir()) Any ideas? Thanks, Hadley -- Assistant Professor / Dobelman Family Junior Chair Department of Statistics / Rice University http://had.co.nz/