On 3/26/07, "José Luis Aznarte M." <[EMAIL PROTECTED]> wrote:
> Hi! I've been browsing through the last months' archive and I can't
> find an answer to my question, so here it is (let's hope it's not too
> obvious):
> I'm working on extensions of an R library, and I would be very
> surprise
Hi,
I'm trying to track down any references for the implementation of
pretty (or grid.pretty) in R. Is it original work?
Thanks,
Hadley
__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
On 4/5/07, Martin Maechler <[EMAIL PROTECTED]> wrote:
> >>>>> "hadley" == hadley wickham <[EMAIL PROTECTED]>
> >>>>> on Thu, 5 Apr 2007 10:43:41 -0500 writes:
>
> hadley> Hi, I'm trying to track down any references f
> > I have recently found RForge.net (http://www.rforge.net/) by Simon
> > Urbanek and found out today that the site is accepting subscriptions.
> > Great! However, browsing a bit on the site I found a link to another
> > forge: R-Forge (http://r-forge.r-project.org/).
> >
> > Is/will the last one
On 4/6/07, Stefan Theussl <[EMAIL PROTECTED]> wrote:
> hadley wickham wrote:
> >> > I have recently found RForge.net (http://www.rforge.net/) by Simon
> >> > Urbanek and found out today that the site is accepting subscriptions.
> >> > Great! However,
On 4/6/07, Simon Urbanek <[EMAIL PROTECTED]> wrote:
>
> On Apr 6, 2007, at 12:22 PM, hadley wickham wrote:
>
> > On 4/6/07, Stefan Theussl <[EMAIL PROTECTED]> wrote:
> >> hadley wickham wrote:
> >>>>> I have recently found RForge.net (http://w
On 4/10/07, Tony Plate <[EMAIL PROTECTED]> wrote:
> Aren't you just seeing the effect of drop=TRUE? (at least with the
> examples you give below -- they all pick out a submatrix with extent one
> on some dimension)
>
> AFAICT, matrices with a list as the underlying data work properly, e.g.:
>
> >
On 4/10/07, Seth Falcon <[EMAIL PROTECTED]> wrote:
> "hadley wickham" <[EMAIL PROTECTED]> writes:
>
> > On 4/10/07, Tony Plate <[EMAIL PROTECTED]> wrote:
> >> Aren't you just seeing the effect of drop=TRUE? (at least with the
> >>
On 4/13/07, Roger Peng <[EMAIL PROTECTED]> wrote:
> I've noticed something recently in R-beta that has changed since R 2.4.1
> and I'm not sure if it's a readline problem or an R problem. I am on a
> Linux FC5 system and in R 2.4.1 I could do
>
> load("my-directory/
>
> and then hit TAB and it wou
Hi everyone,
I've run into a bit of strange problem with implicit vs explicit
printing and the call stack. I've included an example at the bottom of
this email. The basic problem is that I have an S3 object with a
print method. When the object is implicitly printed (ie. typed
directly into the c
> First, it was not clear that you are talking about the output of
> traceback(), which is _a representation of_ the call stack and depends on
> the details of deparsing.
Given that there is a substantial delay in one case, and not in the
other, I had assumed (perhaps falsely) that there was somet
On 5/13/07, Prof Brian Ripley <[EMAIL PROTECTED]> wrote:
> On Sun, 13 May 2007, hadley wickham wrote:
>
> >> First, it was not clear that you are talking about the output of
> >> traceback(), which is _a representation of_ the call stack and depends on
> >>
On 5/18/07, Duncan Murdoch <[EMAIL PROTECTED]> wrote:
> I think we've agreed about adding an option to the vignette() function
> to allow the user to choose to see all vignettes in installed packages,
> or only those that are attached. Adding this is pretty trivial, and
> I'll put it into R-devel
> On 5/18/2007 11:11 AM, hadley wickham wrote:
> > On 5/18/07, Duncan Murdoch <[EMAIL PROTECTED]> wrote:
> >> I think we've agreed about adding an option to the vignette() function
> >> to allow the user to choose to see all vignettes in installed packages
On 5/22/07, Uwe Ligges <[EMAIL PROTECTED]> wrote:
>
>
> Zack Weinberg wrote:
> > I have noticed that in R 2.5.0, no method of textual output will print
> > a "double" mode quantity with more than 15 digits after the decimal
> > point. From the help page (?print.default) it appears that this is
> >
On 5/23/07, hadley wickham <[EMAIL PROTECTED]> wrote:
> On 5/22/07, Uwe Ligges <[EMAIL PROTECTED]> wrote:
> >
> >
> > Zack Weinberg wrote:
> > > I have noticed that in R 2.5.0, no method of textual output will print
> > > a "double&q
On 5/23/07, Gabor Grothendieck <[EMAIL PROTECTED]> wrote:
> On 5/23/07, Martin Maechler <[EMAIL PROTECTED]> wrote:
> > > "GaGr" == Gabor Grothendieck <[EMAIL PROTECTED]>
> > > on Wed, 23 May 2007 08:56:50 -0400 writes:
> >
> >GaGr> On 5/23/07, Seth Falcon <[EMAIL PROTECTED]> wrote:
> I think this is a bug in the MacOS X runtime. I've checked the C99
> standard, and can see no limits on the precision that you should be able
> to specify to printf.
That seems quite possible - it's interesting that increasing the
number of digits (ie 1e7 vs 1e6) doesn't crash, but takes up abo
What's the recommended way to check if an internet connection is
available across platforms? I was using is.null(nsl()) but this does
not work on windows.
Thanks,
Hadley
__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-dev
On 6/22/07, Prof Brian Ripley <[EMAIL PROTECTED]> wrote:
> On Fri, 22 Jun 2007, hadley wickham wrote:
>
> > What's the recommended way to check if an internet connection is
> > available across platforms? I was using is.null(nsl()) but this does
> > not work on
On 8/4/07, Duncan Murdoch <[EMAIL PROTECTED]> wrote:
> On 04/08/2007 2:53 PM, Gabor Grothendieck wrote:
> > The example of generic functions.
>
> Show me an example where we have a list of ways to do a calculation
> passed as an argument (analogous to the method argument of optim), where
> the user
On 8/7/07, Duncan Murdoch <[EMAIL PROTECTED]> wrote:
> Those are small parts of the calculation, not the whole thing. The
> original point was that optim() is a very thin wrapper around the code
> to do the optimization. I just don't see a need to make it more
> complicated so it can be used to w
What are you trying to defend against? A serious attacker could still
use rm/assign/get/eval/... to circumvent your replaced functions. I
think it would be very difficult (if not impossible) to prevent this
from happening), especially if the user can load packages.
Hadley
On 8/16/07, Michael Ca
Hi all,
When installing ggplot2 on with install.packages("ggplot2", dep = T),
the colorspace dependency doesn't get installed (see below for
transcript from R session). The relevant lines from my description
file are:
Depends: R (>= 2.4), grid, reshape (>= 0.8.0), proto, splines, MASS,
RColorBre
> > 3. temp <- as.Date('1990/1/1') - as.date('1953/2/5')
> > sqrt(temp)
> > Error in Math.difftime(temp3) : sqrtnot defined for "difftime" objects
> >
> > Minor bug: no space before the word 'not'
> > Major: this shouldn't fail.
> >
> >
> Arguably, it should (Is this a difftime obje
On 9/25/07, Simon Urbanek <[EMAIL PROTECTED]> wrote:
>
> On Sep 25, 2007, at 12:58 PM, Herve Pages wrote:
>
> > Hi,
> >
> > R-2.6 + install.packages() doesn't find rggobi on Mac OS X.
> > The .tgz file is here:
> >
> > http://cran.fhcrc.org/bin/macosx/universal/contrib/2.6/
> >
> > but it is not
On 9/25/07, Simon Urbanek <[EMAIL PROTECTED]> wrote:
>
> On Sep 25, 2007, at 4:33 PM, hadley wickham wrote:
>
> > On 9/25/07, Simon Urbanek <[EMAIL PROTECTED]> wrote:
> >>
> >> On Sep 25, 2007, at 12:58 PM, Herve Pages wrote:
> >>
> &g
On 9/26/07, Herve Pages <[EMAIL PROTECTED]> wrote:
> Hi Simon,
>
> Simon Urbanek wrote:
> > Actually, the fact that the tar ball is there must be a mirroring
> > problem, because it's not on the master CRAN server. You should fix your
> > mirror - objects may appear closer ... ;)
>
> Yesterday, bef
> So given the help file, we should consider dropping the whole
> ``along the boxplot'' idea?
>
> {{well, yes, we should drop "traditional graphics" and work with
> grid-based graphical objects ("grob"s) that can be drawn
> vertically or horizontally,
> e.g., in lattice or (most probably) ggp
On 10/15/07, Henrik Bengtsson <[EMAIL PROTECTED]> wrote:
> [As agreed, CC:ing r-devel since others might be interested in this as well.]
>
> Hi.
>
> On 10/15/07, Dirk Eddelbuettel <[EMAIL PROTECTED]> wrote:
> >
> > Hi Hadley,
> >
> > On 15 Octob
On 10/16/07, Roger Peng <[EMAIL PROTECTED]> wrote:
> My understanding was that Hadley wanted 'digest' to operate on part of
> an object rather than on the entire, which might contain uninteresting
> or irrelevant details. For example, if we had
>
> a <- structure(list(x = 1, y = 2), class = "foo")
Is it possible to get at the underlying representation of row names -
ie. what you see in the output from dput:
> df <- data.frame(1:4)
> dput(df)
structure(list(X1.4 = 1:4), .Names = "X1.4", row.names = c(NA,
-4L), class = "data.frame")
I would like to be able to tell if a data frame has the def
On 10/22/07, Thomas Lumley <[EMAIL PROTECTED]> wrote:
>
> I am trying to use RSQLite for storing data and I need to create indexes on
> two variables in the table. It appears from searching the web that the CREATE
> INDEX operation in SQLite is relatively slow for large files, and this has
> been
> (Ideally, people would try the prerelease versions and problems like
> this would be caught before the actual release, but it seems that they
> prefer treating x.y.0 as a beta release...)
The one time I did do this and complained about a change (trailing
commas now throw an error), no one respon
On 12/7/07, Barry Rowlingson <[EMAIL PROTECTED]> wrote:
> Gabor Grothendieck wrote:
> > An svn checkout directory can contain a mix of files that
> > are mirrored in the svn and not mirrored. In particular, if you
> > add a new file into your checkout directory it will not automatically
> > go int
> pkgs <-
> as.data.frame(available.packages(contrib.url("http://cran.r-project.org";)))
> pkgs["sn", c("Package", "Version")]
But looking at http://cran.r-project.org/src/contrib/ only sn_0.4-2 is
available. Any ideas?
Thanks,
Hadley
--
http://had.co.nz/
___
On 12/18/07, Deepayan Sarkar <[EMAIL PROTECTED]> wrote:
> On 12/18/07, hadley wickham <[EMAIL PROTECTED]> wrote:
> > > pkgs <-
> > > as.data.frame(available.packages(contrib.url("http://cran.r-project.org";)))
> > > pkgs["sn&quo
> > pkgs <-
> > as.data.frame(available.packages(contrib.url("http://cran.r-project.org";)))
> > pkgs[c("sn", "GOSim", "GammaTest"), c("Package", "Version")]
> Package Version
> sn sn 0.4-4
> GOSim GOSim 1.1.2
> NA
>
> which match CRAN (which doesn't have GammaTest).
Can any one provide more details on this error that I'm getting from R
CMD check:
* checking whether the name space can be loaded with stated
dependencies ... WARNING
Error in eval(expr, envir, enclos) : could not find function "proto"
Error: unable to load R code in package 'ggplot2'
Execution ha
On 1/4/08, Prof Brian Ripley <[EMAIL PROTECTED]> wrote:
> What it is trying is
>
> % env R_DEFAULT_PACKAGES=NULL R
>
> > loadNamespace("ggplot2")
>
> The test is not new, so it would seem to be a change in ggplot2 since the
> version on CRAN. My guess is the your package is doing top-level
> compu
It would be nice if R ignored more unicode white space characters.
For example, if I have "\u2028" in a command (which I get from a
line-break in keynote) I get the following error:
> qplot(carat, price, data = diamonds,
colour=clarity)
Error: unexpected input in "qplot(carat, price, data = di
On 1/4/08, Henrik Bengtsson <[EMAIL PROTECTED]> wrote:
> On 04/01/2008, hadley wickham <[EMAIL PROTECTED]> wrote:
> > On 1/4/08, Prof Brian Ripley <[EMAIL PROTECTED]> wrote:
> > > What it is trying is
> > >
> > > % env R_DEFAUL
On Jan 5, 2008 1:40 AM, Prof Brian Ripley <[EMAIL PROTECTED]> wrote:
> I presume you want this only in a UTF-8 locale?
Yes, although my assumption is that this will become an increasing
common locale as time goes by.
> Currently this is done by
>
> static int SkipSpace(void)
> {
> int c;
>
On Jan 8, 2008 1:31 AM, Prof Brian Ripley <[EMAIL PROTECTED]> wrote:
> Hadley sent me the package, and my guess *was* correct. The package is
> not using lazy-loading, and early on it has (in aaa-top-level.r)
>
> TopLevel <- proto(expr = {
> ...
>
> That is 'a top-level computation'. To make this
> The problem (see also
> https://stat.ethz.ch/pipermail/r-help/2008-January/151655.html) is that
> cellGrobs (children of frame grobs) use their 'vp' component to store
> the viewport that positions them within the parent frame. This means
> that the viewport is pushed and then popped (as per nor
Has anyone developed a version of do.call that is safe in the sense
that it silently drops parameters that do not appear in the formals of
the called function? This is useful when ... ends up being used in
multiple further functions. e.g.
f <- function(a, b) {a + b}
do.call(f, list(a=1, b=2, c=3)
ct have a fixed argument list.
Hadley
On Jan 28, 2008 8:19 PM, hadley wickham <[EMAIL PROTECTED]> wrote:
> Has anyone developed a version of do.call that is safe in the sense
> that it silently drops parameters that do not appear in the formals of
> the called function? This is useful
> > Or is this a bug in glm? It certainly seems that the documentation
> > should mention that ... is passed to glm.control, which only takes
> > three arguments. I realise that this doesn't come up very often
> > during an interactive model fitting session, and it is easy to remedy
> > when it d
> hw> That seems a perfectly good reason not to use ... - but
> hw> if you are going to use ... it seems like you shouldn't
> hw> warn on mismatched argument names.
>
> I disagree.
>
> One "famous" example on this was -- in S-plus, early 1990s --
> known about S users back then, and it
> One issue is the behaviour of unary operators "+" and "-".
>
> If trim is TRUE, then "a" is one thing, but "+a" returns
> "trim(a)", which might be different.
>
> Also "1*a" would be different from "a" and "a+0"
I think this is ok. In the ggplot2 package I use + to join together
multiple p
> I'm thinking (by now quite strongly) that there is a place
> in "Introduction to R" (and maybe other basic documentation)
> for an account of arithmetic precision in R (and in digital
> computation generally).
>
> A section "Arithmetic Precision in R" near the beginning
> would alert people to th
A simple way to alias a function is to do :
g <- function(a = 1, b = 2, c = 3) a + b * c
f <- function(...) g(...)
but formals (etc) is no longer very helpful. Is there an easy way to
programmatically create:
f <- function(a=1, b=2, c=3) g(a=a, b=b, c=c)
This comes up in ggplot2 where I alias
On Sat, Feb 23, 2008 at 5:52 PM, Gabor Grothendieck
<[EMAIL PROTECTED]> wrote:
> I assume he wants to be able to change the
> formals although its confusing since the example
> uses the same formals in both cases.
Yes, that was an important point that I forgot to mention! Thanks for
the pointer
, c="f")
> > names(ff) <- argtrans
> > g2 <- as.function(c(ff, as.call(c(list(as.name("f")),
> lapply(argtrans, as.name)
> > g2
> function (d, e, f)
> f(a = d, b = e, c = f)
> > f(1,2,3)
> a b c
> 1 2 3
> > g1(
2008/3/7 Ben Bolker <[EMAIL PROTECTED]>:
>
>Despite the spirited arguments of various R-core folks
> who feel that mle() doesn't need a "data" argument, and
> that users would be better off learning to deal with function
> closures, I am *still* trying to make such things work
> in a reason
> Yes. The ability to plot things on top of each other is important.
> The simplicity created by having a single interface for adding to plots
> outweighs the complexity of yet another parameter.
>
> The add parameter only interacts with other parameters superficially --
> some parameters of
> > But what about when the new data is outside the range of the current
> > plot?
>
> plot/lines/points already works that way so this is just an interface issue.
That may be the way it is, but I don't see how you could argue that
it's desirable behaviour.
Hadley
--
http://had.co.nz/
>Can someone point me to a justification for the design
> decisions, which seem to be similar in lattice and
> ggplot2, of (1) gray backgrounds and (2) filled points?
> [I seem to remember seeing somewhere the opposite recommendation
> for points, i.e. that open points make it much easier t
On Mon, Mar 17, 2008 at 11:56 PM, Peter Danenberg <[EMAIL PROTECTED]> wrote:
> Is this the appropriate place for GSoC conversations?
>
> If I understand the proposal correctly, there should be a lexer
> (written in R) that exposes an API; that API would be used by
> segregated mini-parsers (Rocl
On Wed, Mar 19, 2008 at 4:15 PM, Peter Danenberg <[EMAIL PROTECTED]> wrote:
> > You should probably also survey existing attempts - I have written
> > something with ruby that suggest some ideas.
>
> Fascinating, Hadley; do you have a link to the source, by any chance?
It's completely local. I'
On Fri, Mar 21, 2008 at 11:36 AM, Duncan Murdoch <[EMAIL PROTECTED]> wrote:
> On 21/03/2008 2:09 AM, Peter Danenberg wrote:
> >> No, we want a solution in R.
> >
> > Would it suffice, by the way, to source() a file and introspect upon
> > its objects with ls(), formals(), typeof(), mode(), and
> Ya. But speeds are rather different.
> I admittely missed a comparison with Umacs in my short demo.
> However, from some early experiments (I'm doing while I'm writing), as
> I suspected, my approach results being many times faster than Umacs,
> even if one doesn't specify samplers as C code
I've often missed the ability to get the directory of the currently
running script. It's actually been possible for a while:
FILE <- (function() {
attr(body(sys.function()), "srcfile")
})()
thanks to Duncan's recent changes to file parsing. This is pretty
useful for sourcing in files relative
Sorry, that should be:
FILE <- (function() {
attr(body(sys.function()), "srcfile")
})()$filename
Hadley
On Fri, Apr 4, 2008 at 10:34 AM, hadley wickham <[EMAIL PROTECTED]> wrote:
> I've often missed the ability to get the directory of the currently
> runni
I'm always forgetting to update the date in DESCRIPTION. Would it be
possible to add a warning to R CMD check if it's old?
Hadley
--
http://had.co.nz/
__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
> I recently thought about this. I see several issues.
>
> * How can we determine if it is "old"? Relative to the time when the
> package was uploaded to a repository?
>
> * Some developers might actually want a different date for a variety of
> reasons ...
>
> * What we currently say in
> Please no. If people want one then they should add it manually. It is
> optional, and some of us have explicitly opted out and would like to
> continue to do so.
To clarify, do you mean you have decided not to provide a date field
in the DESCRIPTION file? If so, would you mind elaborating wh
> > To clarify, do you mean you have decided not to provide a date field
> > in the DESCRIPTION file? If so, would you mind elaborating why?
> >
>
> Sure: The date of what?
That's a good question. Another possible solution would be to remove
(or down-weight the importance of) the date field, a
On Sat, Apr 12, 2008 at 11:47 AM, carlos martinez
<[EMAIL PROTECTED]> wrote:
> > Looking for a simple, effective a minimum execution time solution.
> >
> > For a vector as:
> >
> > c(0,0,1,0,1,1,1,0,0,1,1,0,1,0,1,1,1,1,1,1)
> >
> To transform it to the following vector without using any loops
> I am not convinced that ?foo should do this however. help("foo")
> conceptually seems predicated upon the notion that a user is looking for
> a reference/help page for a specific function or descriptor called
> 'foo'. The user knows the name of the function or descriptor and should
> not hav
> > But that's just a problem with the current implementation. Better
> > indexing could make full text search of all documentation practical
> > instantaneous. This is one argument for a centralised documentation
> > web site - such indices are much easier to set up in a modern web
> > developme
On Fri, Apr 25, 2008 at 7:46 AM, Peter Dalgaard
<[EMAIL PROTECTED]> wrote:
> Duncan Murdoch wrote:
> > I haven't done it, but I suspect we could introduce special behaviour
> > for ??foo very easily. We could even have a whole hierarchy:
> >
> > ?foo, ??foo, ???foo, foo, ...
> >
> >
> H
> I would rather see that be one of the dyadic forms, say
>
>site?foo
>
> or
>all?foo
I'd be interested to know how many R users are aware of the dyadic
form - I suspect it's very very few.
Hadley
--
http://had.co.nz/
__
R-devel@r-projec
> Consistent with this idea would be something like the "I feel lucky" search
> on Google, i.e. ?foo would go immediately to the best match, while ??foo
> would present a list of possible matches. This is not consistent with
> current behaviour, where ?foo will present a list if it matches two or
> It seems logical to me that such a resource be embedded up front in "Intro"
> with it also being included within the existing help system and referenced
> in the start up banner message.
That would help if anyone actually read the startup banner. The next
time you're in front of an audience of
>
> Single (') and double (") quotation marks are not being read as quotation
> marks
> when commands are copied from Word; they produce an error message whenever
> they
> are used. To correct this, one has to retype everything in the R console. I
> tried using courier new, as well as the goo
> a <- list()
> b <- structure(list(), class=c("list", "a"))
> all.equal(a, b)
[1] "Attributes: < target is NULL, current is list >"
> all.equal(b, a)
[1] "Attributes: < Modes: list, NULL >"
[2] "Attributes: < names for target but not for current >"
[3] "Attributes: < Length mismatch: comparison on
On Fri, May 2, 2008 at 2:23 PM, Vincent Goulet
<[EMAIL PROTECTED]> wrote:
> Hi,
>
> From the R Language Definition, Section 3.4.1:
>
> "If i is positive and exceeds length(x) then the corresponding selection is
> NA. A negative out of bounds value for i causes an error."
>
> (This is also mentio
It would be nice if R CMD check ran any file in the tests directory
that has "one of the extensions .R, .S, .q, .r, or .s" - i.e. it
should match the files processed in the R directory.
Hadley
--
http://had.co.nz/
__
R-devel@r-project.org mailing list
> > It would be nice if R CMD check ran any file in the tests directory
> > that has "one of the extensions .R, .S, .q, .r, or .s" - i.e. it
> > should match the files processed in the R directory.
> >
>
> Whereas what it is documented in 'Writing R Extensions' is to use .R or
> .Rin files. This
Here's my attempt at making a little more friendly:
Removed self-contained - implied by reproducible
Used slightly less formal language (and you instead of the questioner)
Fixed a couple of spelling mistakes
Removed references to testing framework - I don't think that that term
needs to be introdu
You might also want to look at existing visualisation applications
that connect with R:
* http://ggobi.org
* http://rosuda.org/mondrian
* http://rosuda.org/software/Gauguin/gauguin.html
to name a few.
Hadley
On Tue, Aug 26, 2008 at 10:31 AM, EBo <[EMAIL PROTECTED]> wrote:
>
> I am working on
On Thu, Sep 4, 2008 at 4:01 PM, Vadim Organovich
<[EMAIL PROTECTED]> wrote:
> Dear R-devel,
>
> Is there a reason that lapply(NULL, ...) returns the empty list, rather than
> NULL? It seems intuitive to expect the latter, and rather counterintuitive
> that lapply(list(), ... ) returns the same va
On Tue, Sep 9, 2008 at 2:30 AM, <[EMAIL PROTECTED]> wrote:
> Package 'signal' is not the responsibility of the R developers, so you
> need to follow the FAQ and report this to the maintainer, rather than
> clog up R-bgs with an inappopriate report.
>
> You might find that R's own function filter()
> cut(as.Date("2008-09-12"), "days")
Error in 1:(1 + max(which(breaks < maxx))) :
result would be too long a vector
In addition: Warning message:
In max(which(breaks < maxx)) :
no non-missing arguments to max; returning -Inf
> cut(as.Date("2008-09-12"), "weeks")
[1] 2008-09-08
Levels: 2008-09-0
Hi all,
Is there any way to determine which functions are available on which
platforms? For example, winProgr essBar (and related functions) are
only available on Windows, but what about tkProgressBar and
txtProgressBar? Is there any way to figure out which functions are
only available on certai
On Mon, Sep 15, 2008 at 12:06 PM, Duncan Murdoch <[EMAIL PROTECTED]> wrote:
> On 9/15/2008 11:42 AM, hadley wickham wrote:
>>
>> Hi all,
>>
>> Is there any way to determine which functions are available on which
>> platforms? For example, winProgr ess
> I assume, given this outcome, that this is not the intended use of
> --interactive, but I still wonder if there is any way to achieve an
> interactive session based on a predefined set of commands without writing a
> completely new front-end (overkill, surely?).
When you say an interactive sessi
$ R CMD install ggplot2
...
scale-usage-d1texthtmllatex
scale_brewer texthtmllatex example
perl(90227) malloc: *** mmap(size=31488) failed (error code=12)
*** error: can't allocate region
*** set a breakpoint in malloc_error_break t
On Fri, Oct 3, 2008 at 10:12 AM, Uwe Ligges
<[EMAIL PROTECTED]> wrote:
>
>
> Duncan Murdoch wrote:
>>
>> On 10/3/2008 10:14 AM, hadley wickham wrote:
>>>
>>> $ R CMD install ggplot2
>>> ...
>>> scale-usage-d1te
>> - there are lots of packages without one, so this would create a lot of
>> work for people to add them.
>
> No, I don't think that this is too much work. Positively speaking, it's one
> small contribution to bring more light into the exponentially growing
> haystack.
It may not be much work for
> You are right, .Rd has its limitations, but as you say, there is nothing
> better available in the moment. (BTW: I heard rumours at useR! about
> discussions on a meta documentation format? Is there any public information
> about this??)
What do you mean by meta documentation format? Do you mea
>> It may not be much work for you, but I find any additional
>> requirements to the package format to be a real pain. I have ~10
>> packages on CRAN and having to go through and add this extra
>> information all at once is a big hassle. R releases tend to happen in
>> the middle of the US academ
> This shows up in the HTML help system. It would be better if it showed up
> in all help formats, but there are other ways to do that, e.g. creating an
> Rd help page pointing to those files.
Or you can just link to them from your website.
I don't think you'd argue with the statement that there
> I don't agree with this. Back in 2001 when this was first proposed it might
> have worked, but there's far too much inertia now to make a big change.
> Weren't you the one who objected to a requirement for a foo-package help
> topic? How would you like to rewrite all the help files for all of
Hi Ben,
I think is a bug with cut.Date. I reported a similar bug (with days)
a couple of weeks ago but no one responded.
Hadley
On Fri, Oct 10, 2008 at 9:15 PM, Ben Bolker <[EMAIL PROTECTED]> wrote:
>
> I've hit a problem in ggplot2 which I can trace back to cut.Date ,
> which is either a bug
Hi all,
I'm looking at providing some nicer number formatting features for
axes in ggplot2. One thing I would like to do is use thin spaces to
separate digits, like you can in latex. I realise I can use unicode
spaces to do this (e.g.
http://www.cs.tut.fi/~jkorpela/chars/spaces.html), but what a
On Sun, Oct 12, 2008 at 1:01 AM, Prof Brian Ripley
<[EMAIL PROTECTED]> wrote:
> On Sat, 11 Oct 2008, hadley wickham wrote:
>
>> Hi all,
>>
>> I'm looking at providing some nicer number formatting features for
>> axes in ggplot2. One thing I would lik
> | is.matrix| returns |TRUE| if |x| is a matrix and has a |dim |
> attribute of length 2) and |FALSE| otherwise
That's confusing! In what situations is x a matrix but does not have
a dim attribute?
Hadley
--
http://had.co.nz/
__
R-devel@r-project.
On Tue, Nov 11, 2008 at 1:35 PM, Daniel Høyer Iversen
<[EMAIL PROTECTED]> wrote:
>> That's confusing! In what situations is x a matrix but does not have
>> a dim attribute?
>
> That was my point. I don't find it logical that
> is.matrix(a) gives FALSE but
> is.matrix(t( t(a) )) gives TRUE.
>
> I a
601 - 700 of 774 matches
Mail list logo