I like kompare very much, but I think it's Linux only.
https://apps.kde.org/kompare/
-Deepayan
On Tue, 25 Mar 2025 at 01:01, J C Nash wrote:
> For Linux users, meld is quite nice for side by side editing, though I've
> never tried using it for
> display. Just checking now suggests it isn't obv
different
ways of storing row names that R tries to pretend should be
exchangeable, but are not (and some code not having caught up).
Part of the problem, I think, is that it's not clear what the ideal
behaviour should be in such cases (to warn or not to warn).
Best,
-Deepayan
> > identical(a1
They differ in whether the row names are "automatic":
> .row_names_info(a1)
[1] -3
> .row_names_info(a2)
[1] 3
Best,
-Deepayan
On Tue, 14 Nov 2023 at 08:23, Gabor Grothendieck
wrote:
>
> What is going on here? In the lines ending in the inputs and outputs
> are identical yet one gives a w
This should be enabled now in R-devel and R 4.3.0 by writing
.AtNames() methods.
findMatches() is also exported now; this is basically grep(), but will
do fuzzy matching if it's activated.
Best,
-Deepayan
On Mon, Apr 3, 2023 at 9:37 AM Deepayan Sarkar
wrote:
>
> Thanks, we are dis
Thanks, we are discussing the details, but we will definitely add
something along those lines before 4.3.0 is released.
Best,
-Deepayan
On Sun, Apr 2, 2023 at 6:39 PM Tomasz Kalinowski wrote:
>
> I agree, this is a good idea and would be very helpful in interactive
> contexts.
>
> I have a draf
On Thu, Mar 2, 2023 at 2:09 PM Ivan Krylov wrote:
>
> There turn out to be a few more things to fix.
>
> One problem is easy to solve: vapply() needs a third argument
> specifying the type of the return value. (Can we have unit tests for
> tab completion?)
There are tests in
src/library/utils/te
On Mon, Jan 16, 2023 at 7:28 PM Duncan Murdoch wrote:
>
> On 16/01/2023 6:55 a.m., David Winsemius wrote:
> >
> >
> > Sent from my iPhone
> >
> >> On Jan 16, 2023, at 6:11 PM, Duncan Murdoch
> >> wrote:
> >>
> >> On 16/01/2023 5:23 a.m., Roland Fuß wrote:
> >>> Dear R-core,
> >>> The language d
On Fri, Jan 6, 2023 at 1:49 AM Duncan Murdoch wrote:
>
> I'm in the process of a fairly large overhaul of the exports from the
> rgl package, with an aim of simplifying maintenance of the package.
> During this work, I came across the reverse dependency geomorph that
> calls the rgl.primitive func
On Fri, Mar 25, 2022 at 9:48 PM Duncan Murdoch wrote:
>
> On 25/03/2022 12:07 p.m., Kevin Ushey wrote:
> > Hi,
> >
> > The new enhanced help system is fantastic! I've been playing around
> > with the enhanced help system introduced recently in R 4.2.0, and I
> > noticed one minor issue. When attem
On Sun, Mar 13, 2022 at 6:18 PM Ivan Krylov wrote:
>
> Hello R-devel,
>
> I appreciate the efforts devoted towards improving equation typography
> in HTML manuals. Since MathML lost its status as the way to express
> mathematics on the web after its removal from Google Chrome in 2013,
> MathJax an
On Thu, Jun 24, 2021 at 5:31 PM Iñaki Ucar wrote:
>
> Hi,
>
> I noticed that R 4.1 places html files into the packages' help
> directory, compared to previous versions, which used an RDS. I found a
> possible bug in the code that processes the aliases from the Rd files
> and generates the names fo
On Sat, Apr 17, 2021 at 7:07 PM SOEIRO Thomas wrote:
>
> Dear Deepayan,
>
> I do not have further suggestions, but I just wanted to thank you for taking
> the time to
> improve the documentation so much! (and for adding support for specifying
> "varying" as
> a vector)
>
> Both "Typical usage" a
On Wed, Mar 17, 2021 at 7:55 PM Michael Dewey wrote:
>
> Comments in line
>
> On 13/03/2021 09:50, SOEIRO Thomas wrote:
> > Dear list,
> >
> > I have some questions/suggestions about reshape.
> >
> > 1) I think a good amount of the popularity of base::reshape alternative is
> > due to the complex
-Deepayan
> On Mon, Dec 7, 2020 at 10:20 AM Deepayan Sarkar
> wrote:
> >
> > On Mon, Dec 7, 2020 at 6:53 PM Gabor Grothendieck
> > wrote:
> > >
> > > On Mon, Dec 7, 2020 at 5:41 AM Duncan Murdoch
> > > wrote:
> > > >
On Mon, Dec 7, 2020 at 6:53 PM Gabor Grothendieck
wrote:
>
> On Mon, Dec 7, 2020 at 5:41 AM Duncan Murdoch
> wrote:
> > I agree it's all about call expressions, but they aren't all being
> > treated equally:
> >
> > x |> f(...)
> >
> > expands to f(x, ...), while
> >
> > x |> `function`(...)
> >
On Fri, Dec 4, 2020 at 7:35 PM Duncan Murdoch wrote:
>
> On 04/12/2020 8:13 a.m., Hiroaki Yutani wrote:
> >> Error: function '::' not supported in RHS call of a pipe
> >
> > To me, this error looks much more friendly than magrittr's error.
> > Some of them got too used to specify functions witho
On Tue, Jun 30, 2020 at 1:32 PM Martin Maechler
wrote:
>
> > Kurt Hornik
> > on Tue, 30 Jun 2020 06:20:57 +0200 writes:
>
> > Jan Gorecki writes:
> >> Thank you both, You are absolutely correct that example
> >> should be minimal, so here it is.
>
> >> l = list(a=new.en
A shorter reproducible example:
example(makeActiveBinding)
for (fred in 1:3) { 0 }
ls()
Both problems go away if you first do
compiler::enableJIT(2)
So looks like a bug in compiling the for loop.
-Deepayan
On Sat, May 23, 2020 at 5:45 PM Thomas Friedrichsmeier via R-devel
wrote:
>
> Possibly
On Thu, Apr 30, 2020 at 6:04 PM Dominic Littlewood
<11dlittlew...@gmail.com> wrote:
>
> It seems like there is no obvious way in the documentation to convert the
> expressions in the dots argument to a list without evaluating them. Say, if
> you want to have a function that prints all its arguments
nguage R
> version.string R Under development (unstable) (2019-12-03 r77513)
> nickname Unsuffered Consequences
>
> Rich
>
>
>
> On Sat, Jun 15, 2019 at 3:13 AM Deepayan Sarkar
> wrote:
> >
> > On Fri, Jun 14, 2019 at 6:42 PM Richard M. Heiberger
nction
>
> Can we have it in R-3.6.1 that Peter just announced?
Sorry I have been neglecting this (and some lattice bugs as well). I
should get time to work on this after mid-July.
-Deepayan
>
> Rich
>
> On Mon, Apr 2, 2018 at 4:08 AM Deepayan Sarkar
> wrote:
>
On Fri, Oct 5, 2018 at 2:07 PM hmh wrote:
>
> On 05/10/2018 10:28, Annaert Jan wrote:
> > you discard any time series structure;
> But that is PRECISELY what a call a bug:
> There should not be any "time series structure" in the output or rnorm,
> runif and so on but there is one.
>
> rnorm(N,0,1)
On Mon, Jul 30, 2018 at 6:08 PM, Martin Maechler
wrote:
>> David Hugh-Jones
>> on Mon, 30 Jul 2018 10:12:24 +0100 writes:
>
> > Hi Martin, Fair enough for R functions in general. But the
> > behaviour of apply violates the expectation that apply(m,
> > 1, fun) calls fun n t
On Fri, Mar 23, 2018 at 7:58 AM, Richard M. Heiberger wrote:
> The warning message in the last line of this email is incorrect.
> This is behavior which Duncan Murdoch labeled a bug in
>https://stat.ethz.ch/pipermail/r-help/2017-December/450494.html
Yes, sorry, this has been fixed in the r-fo
inside every method.
-Deepayan
> Bill Dunlap
> TIBCO Software
> wdunlap tibco.com
>
> On Thu, May 11, 2017 at 1:09 AM, Deepayan Sarkar
> wrote:
>>
>> On Wed, May 10, 2017 at 2:36 AM, William Dunlap via R-devel
>> wrote:
>> > Some formula methods
On Wed, May 10, 2017 at 2:36 AM, William Dunlap via R-devel
wrote:
> Some formula methods for S3 generic functions use the idiom
> returnValue$call <- sys.call(sys.parent())
> to show how to recreate the returned object or to use as a label on a
> plot. It is often followed by
> returnVa
On Sat, Jan 14, 2017 at 5:49 AM, Duncan Murdoch
wrote:
> On 13/01/2017 3:21 PM, Charles Geyer wrote:
>>
>> I would like the unlicense (http://unlicense.org/) added to R
>> licenses. Does anyone else think that worthwhile?
>>
>
> That's a question for you to answer, not to ask. Who besides you th
On Thu, Oct 29, 2015 at 2:09 PM, Rainer M Krug wrote:
> Dirk Eddelbuettel writes:
>
>> On 28 October 2015 at 21:39, Marius Hofert wrote:
>> | Out of laziness I just used "R CMD batch" instead of "R CMD BATCH". I
>> | didn't get an error so didn't think about the consequences... One
>> | consequen
On Sun, Aug 24, 2014 at 9:14 AM, Scott Kostyshak wrote:
> On Tue, May 20, 2014 at 5:55 AM, Scott Kostyshak
> wrote:
>> Regarding the following extract of ?options:
>> ‘editor’: a non-empty string, or a function that is called with a
>> file path as argument.
>>
>> edit.default cur
uld be able to run those lines
> from your package.
>
> If you do want access to the completion mechanism from a package, you should
> write to its author (Deepayan Sarkar) and explain the kinds of things you
> need to do. If you can convince him that giving you access is worth the
&
On Fri, Aug 30, 2013 at 2:49 PM, Оботуров Артем wrote:
> Hello.
>
> One of my clients asked if it would be possible to have an IDE which could
> use type discovery for R functions to make flow-like construction of an R
> program. Something like a LabView graphical composition of processing
> eleme
On Wed, Aug 21, 2013 at 3:30 AM, ivo welch wrote:
> thx, deepayan: how is stopifnot better than
> if (!all(...)) stop()
But I am not claiming that it is!
If you think it is not useful, then don't use stopifnot(), use stop()
instead, and tell your students to do so as well.
> given that we
On Wed, Aug 21, 2013 at 12:11 AM, ivo welch wrote:
> I am using a variant of stopifnot a lot. can I suggest that base R
> extends its functionality? I know how to do this for myself. this is
> a suggestion for beginners and students. I don't think it would break
> anything.
>
> first, I think
On Thu, Jun 27, 2013 at 10:59 PM, Raubertas, Richard
wrote:
> Dear list,
>
> Utils::modifyList() drops NULL components in its second argument, instead of
> adding them to the first argument. Compare:
>> modifyList(x=list(A=1), val=list(B=2, C=3))
> $A
> [1] 1
>
> $B
> [1] 2
>
> $C
> [1] 3
>
>> m
On Mon, Sep 24, 2012 at 9:22 PM, Christian Hoffmann
wrote:
> Dear Deepayan Sarkar,
>
> I have (again) a question concerning "panel" and my function "SplomT", see
> attachments. Some time ago you helped me to write this function, thanks
> again. I have used it
On Wed, Sep 5, 2012 at 11:41 AM, Duncan Murdoch
wrote:
> On 12-09-04 8:19 PM, Kasper Daniel Hansen wrote:
>>
>> On Tue, Sep 4, 2012 at 6:02 PM, Duncan Murdoch
>> wrote:
>>>
>>> On 04/09/2012 5:42 PM, Dirk Eddelbuettel wrote:
On 4 September 2012 at 17:26, Duncan Murdoch wrote:
On Thu, Aug 16, 2012 at 8:35 AM, Richard M. Heiberger wrote:
> ## this example shows a problem in key.
> tmp <- data.frame(y=rnorm(10), g=rep(ordered(c("A","B")), 5))
> bwplot(y ~ g, data=tmp,
>key=list(
> text=list(c("A","B"), col=c("blue","red")),
> points=list(pch=c(17
On Wed, Mar 14, 2012 at 3:27 PM, Vitalie Spinu wrote:
>
> Hello,
>
> I am forwarding this from ESS mailing list, as it's a failure of
> internal R completion system:
>
> This fails:
>
> utils:::.assignLinebuffer('iris[iris$Spec')
> utils:::.assignEnd(15)
> utils:::.guessTokenFromLine()
> utils:::.
On Wed, Jan 11, 2012 at 4:16 PM, Claudia Beleites
wrote:
> Dear Deepayan and dear list,
>
> I notice a small inconsistency with the command completion of the R CMD
> check. --no-latex is deprecated sincs R 2.12.0 and defunct since 2.13.0
> but the command line completion still suggests it:
>
> cb@
On Tue, Jun 7, 2011 at 1:49 PM, Henrik Bengtsson wrote:
> FYI,
>
> via a bug report of one of my packages, I discovered that the
> following cases will hang Rterm when using TAB completion:
>
> CASE #1:
> Adding an empty default function for tail() causes Rterm on Windows to
> hang if one press TA
On Tue, May 3, 2011 at 4:40 AM, Dirk Eddelbuettel wrote:
>
> On 2 May 2011 at 11:32, Sharpie wrote:
> | Hello, I was just tweaking the R build for the Homebrew package manager and
> I
> | thought it would be nice to enable bash completion. I noticed that
> | Debian-based systems install `/etc/bas
On Sat, Oct 2, 2010 at 4:35 PM, Paul Murrell wrote:
> Hi
>
> baptiste auguie wrote:
>>
>> Dear all,
>>
>> This may be specific to Mac, I haven't had a chance to test another
>> platform. Consider this,
>>
>> plot(1,1,t="n")
>> rasterImage(matrix(1),1,1,1,1)
>> library(grid)
>> grid.rect(gp=gpar(fi
On Fri, Oct 1, 2010 at 12:17 AM, baptiste auguie
wrote:
> Dear all,
>
> This may be specific to Mac, I haven't had a chance to test another
> platform. Consider this,
>
> plot(1,1,t="n")
> rasterImage(matrix(1),1,1,1,1)
> library(grid)
> grid.rect(gp=gpar(fill="grey"))
>
> The grid.rect covers the
On Fri, Jul 9, 2010 at 5:25 AM, Peter Dalgaard wrote:
> Gabor Grothendieck wrote:
>> On Fri, Jul 9, 2010 at 5:09 AM, Peter Dalgaard wrote:
>>> Gabor Grothendieck wrote:
I have *** attached *** an RData file containing an R object that
is acting strangely.
Try this in a fresh w
On Wed, Jun 30, 2010 at 3:26 AM, Hadley Wickham wrote:
> Hi all,
>
> Does anyone have any suggestions for debugging the execution of
> examples by R CMD check? The examples work fine when I run them from
> a live R prompt, but I get errors when they are run by R CMD check.
'R CMD check pkg' will
On Wed, Jun 16, 2010 at 3:56 PM, Gabor Grothendieck
wrote:
> The following cut command takes nearly 10 seconds on my machine even
> though the length of input vector is only 6. I am running on Windows
> Vista with C2D BLAS using R 2.11.1. Using the default BLAS and either
> R 2.10.1 or "R versio
2010/6/4 Martin Maechler :
>> "HP" == Hervé Pagès
>> on Thu, 03 Jun 2010 17:53:33 -0700 writes:
>
> HP> Hi,
> HP> According to its man page substring() "expands (its) arguments
> HP> cyclically to the length of the longest _provided_ none are of
> HP> zero length".
>
> H
On Sat, May 29, 2010 at 4:21 AM, Romain Francois
wrote:
> Hello,
>
> I'm trying to make .DollarNames generic and implement a method for it in a
> package. .DollarNames is the function that is now called to get completion
> possibilities.
>
> My R code looks like this:
>
> setGeneric( ".DollarNames
On Wed, May 26, 2010 at 3:27 PM, Duncan Murdoch
wrote:
> Is this expected behaviour?
>
> x <- factor(c("c", "b", "a","c"))
> results <- c(c=4, b=5)
> results[x]
>
> giving
>
>> results[x]
> b c
> NA 5 4 NA
>
> (i.e. it appears to give results[levels(x)]
I would say it gives
resu
On Tue, Nov 10, 2009 at 10:35 AM, Oliver Soong wrote:
> I'm not 100% sure this hasn't been covered already (I searched a bit,
> but I had a little trouble filtering down to a useful number of useful
> results).
It has, see
http://old.nabble.com/Cannot-activate-chm-help-in-R-2.10-td26067423.html
type an open paren after a function name, which should be
useful for you.
-Deepayan
>
> Thanks,
> Lee Kelvin
>
>
> 2009/10/8 Deepayan Sarkar
>>
>> On Wed, Oct 7, 2009 at 5:56 AM, Lee Kelvin wrote:
>> > Hello,
>> >
>> > Pressing the key
On Wed, Oct 7, 2009 at 5:56 AM, Lee Kelvin wrote:
> Hello,
>
> Pressing the key when typing a function into an R terminal does not
> produce the expected output. Currently, R will order all of the available
> function inputs into alphabetical order and present them as options, whereas
> it shoul
On 8/19/09, Thorn Thaler wrote:
> Hi everybody,
>
> I want to add a single contourline to a levelplot. While everything works
> fine if the value at which the line should be drawn is positive, there is an
> error if the value is negative:
>
> library(lattice)
> my.panel <- function(..., at, con
On 8/21/09, Romain Francois wrote:
> On 08/21/2009 06:59 PM, Deepayan Sarkar wrote:
>
> >
> > On 8/21/09, Romain Francois
> wrote:
> >
> > > Hi,
> > >
> > > Would it be possible to add the capability for functions to regis
On 8/21/09, Vitalie S. wrote:
> On Fri, 21 Aug 2009 11:21:03 +0200, Romain Francois
> wrote:
>
>
> > Hi,
> >
> > Would it be possible to add the capability for functions to register how
> they would like to complete themselves.
> >
> > Currently, there is the .addFunctionInfo, but it allows only
On 8/21/09, Romain Francois wrote:
> Hi,
>
> Would it be possible to add the capability for functions to register how
> they would like to complete themselves.
>
> Currently, there is the .addFunctionInfo, but it allows only functions to
> register a static list of potential completions, I was t
On Mon, Jun 29, 2009 at 9:05 AM, hadley wickham wrote:
> In that case, try:
>
> qplot(reorder(factor(model),delta),delta,data=growthm.bic)
>
> Deepayan: do you think there should also be a numeric method for reorder?
r-devel now has a reorder.default (replacing reorder.factor and
reorder.character
On Thu, May 21, 2009 at 10:53 AM, Barry Rowlingson
wrote:
> On Thu, May 21, 2009 at 5:29 PM, Deepayan Sarkar
> wrote:
>
> [oops I didnt reply-to-all]
>
>> But you could specify an explicit 'at' vector specifying the color
>> breakpoints: effecti
On 5/21/09, Barry Rowlingson wrote:
> On Thu, May 21, 2009 at 2:18 PM, wrote:
>
> > Most of the plots where colour is typically used to signify a variable
> > already do map colours to data values. Take a look at help pages for
> > levelplot/contourplot/wireframe from the lattice package, an
On 4/26/09, Stavros Macrakis wrote:
> On Sun, Apr 26, 2009 at 7:24 AM, Ted Harding
>
> wrote:
> > On 24-Apr-09 16:53:04, Stavros Macrakis wrote:
> >> On Thu, Apr 23, 2009 at 8:54 PM, Ted Harding
> >> wrote:
> >> [...]
> >>> ...inspires someone to incorporate the same language extension
> >
On 2/19/09, Dirk Eddelbuettel wrote:
[...]
> On 19 February 2009 at 09:33, Simon Urbanek wrote:
> | If primitive 3d scatterplot interactivity is all you want, go with
> | rggobi. It's GTK and has all this already and much more. However,
> | ggobi also shows why GTK is not a good choice for gener
On 11/19/08, Daniel Kornhauser <[EMAIL PROTECTED]> wrote:
> Thanks a lot for taking this on guys !
>
> Some more background in case you are interested:
>
> I have almost a working version of focus for selecting a panel with mouse
> over in a stanalone Java application using an REngine I only have
On Wed, Nov 19, 2008 at 8:55 AM, Daniel Kornhauser
<[EMAIL PROTECTED]> wrote:
> Hi:
>
> (Tried to find a bug report about this issue, but was unable to find it, let
> me know if this is a known issue)
> I have been working on an interface to highlight xyplot panels on mouse
> overs in JavaGD but I
f the bomb is found below, excluding the memory map. Please
also note that it may be somehow related to grid, as the following
code (supplied by Deepayan Sarkar) using base graphics does not crash
R, even with n=10...
pdf()
n = 1000
plot(rnorm(n), rnorm(n), col = rgb(0, 0, 0, alpha = runif(n)),
Hi,
I have put up details of a new tool for tagging R code at
http://dsarkar.fhcrc.org/rtags/rtags.html
that Emacs/ESS users may be interested in. It should be possible to
extend this for other editors as well.
Comments and feedback welcome.
-Deepayan
_
On Thu, Oct 23, 2008 at 12:26 PM, Daniel Kornhauser
<[EMAIL PROTECTED]> wrote:
> Hi:
>
> I would like to find out the panel of a xyplot matrix where a mouse clicked.
>
> I know this functionality is already bundled in trellis.focus but I can't
> use it because I am coding a stand alone application
On Tue, Oct 21, 2008 at 3:23 PM, John Fox <[EMAIL PROTECTED]> wrote:
> Dear list members,
>
> I've run into a problem with R CMD INSTALL under Windows Vista and R 2.8.0:
>
> - snip ---
>
> C:\Users\John Fox\workspace>c:\R\R-2.8.0\bin\R CMD INSTALL car
> installing to ''
Not sure if
On 5/21/08, Henrik Bengtsson <[EMAIL PROTECTED]> wrote:
> Hi,
>
> right now we have (on R v2.7.0 patched (2008-04-23 r45466)) that:
>
> > rawToChar(raw(0))
> [1] ""
> > rawToChar(raw(0), multiple=TRUE)
> character(0)
>
> Is this intended or should both return character(0)? Personally, I
> w
On 5/20/08, Kurapati, Ravichandra (Ravichandra)
<[EMAIL PROTECTED]> wrote:
>
>
> Hi
>
>
>
>Dataframefdf contains
>
>
>
> bin rate overlay
>
> 1 1 90 Assign First/cc _from_SN_53 RNC_20_to_SN_50 RNC_21_Success
> Rate
>
> 2 2
On 4/28/08, Prof Brian Ripley <[EMAIL PROTECTED]> wrote:
> The difference is in INSTALL, not build/check.
>
> You are right that the Unix INSTALL was changed in r25808 (Aug 2003), but
> AFAICS this was not documented at the time in [O]NEWS, nor anywhere else.
>
> Can you point me to the documenta
For what it's worth, I use ?foo mostly to look up usage of functions
that I know I want to use, and find it perfect for that (one benefit
over help() is that completion works for ?). The only thing I miss is
the ability to do the equivalent of help("foo", package = "bar");
?bar::foo gives the help
On 4/9/08, Herve Pages <[EMAIL PROTECTED]> wrote:
[...]
> BTW are there any plans to deal with backquoted symbols/names?
> There are currently 2 problems with this:
>
> 1. Completion will work and expand symbols or names that contain special
> characters but without backquoting them:
>
>
On 4/9/08, Herve Pages <[EMAIL PROTECTED]> wrote:
> Hi,
>
> Let's create the xxx object just to avoid confusion even if it's not
> necessary
> for reproducing the problem below:
>
>xxx <- 8:3
>
> If I start typing this:
>
>max(xxx[
>
> and now try to autocomplete with , then I get the
On 3/13/08, Ben Bolker <[EMAIL PROTECTED]> wrote:
>
>Can someone point me to a justification for the design
> decisions, which seem to be similar in lattice and
> ggplot2, of
Disclaimer: I don't have strong personal preferences, I just went with
what Trellis had. That said,
> (1) gray backg
On 2/14/08, Susan R. Atlas <[EMAIL PROTECTED]> wrote:
> Hi,
>Last year our systems group tried to install R on an IBM
> p5-570 machine (16 nodes, 256 GB shared RAM), running AIX 5.3. They
> ran into all sorts of difficulties and finally gave up.
>I am interested in trying again (and wor
On 2/13/08, Deepayan Sarkar <[EMAIL PROTECTED]> wrote:
> On 2/13/08, Wolfgang Huber <[EMAIL PROTECTED]> wrote:
> > Hi Deepayan,
> >
> > levelplot from the lattice package produces a peculiar output when
> > called on a matrix whose column or row name
On 2/13/08, Wolfgang Huber <[EMAIL PROTECTED]> wrote:
> Hi Deepayan,
>
> levelplot from the lattice package produces a peculiar output when
> called on a matrix whose column or row names contained duplicated
> elements. In particular, the plot contains white stripes, and the
> arrangement of data r
On 12/18/07, hadley wickham <[EMAIL PROTECTED]> wrote:
> 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.ur
On 12/18/07, hadley wickham <[EMAIL PROTECTED]> wrote:
> > 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?
I see 0.4
On 12/18/07, Byron Ellis <[EMAIL PROTECTED]> wrote:
> I probably missed this discussion, but why not just ASK the device if
> it is interactive?
That's done if the device is open. deviceIsInteractive() takes away
the guessing even when it's not (the use-case is when you type
example(something) wit
On 12/6/07, Prof Brian Ripley <[EMAIL PROTECTED]> wrote:
> The defaults for postscript()
>
> paper = "default"
> onefile = TRUE
> horizontal = TRUE
>
> (it seems) date from the days when people used to used this to send plots
> directly to a postscript printer via print.it=TRUE. I haven't done tha
On 8/31/07, Duncan Murdoch <[EMAIL PROTECTED]> wrote:
> The IEEE floating point standard allows for negative zero, but it's hard
> to know that you have one in R. One reliable test is to take the
> reciprocal. For example,
>
> > y <- 0
> > 1/y
> [1] Inf
> > y <- -y
> > 1/y
> [1] -Inf
>
>
On 8/20/07, Vincent Carey 525-2265 <[EMAIL PROTECTED]> wrote:
>
>
> library(MASS)
> G1 = glm(sp~CW, data=crabs, fam=binomial)
> G2 = do.call("glm", list(sp~CW, family=binomial, data=crabs))
>
> G1$call is very nice to look at
> G2$call is very voluminous
>
> if we revise do.call to
>
> function (wh
On 7/16/07, Peter Dalgaard <[EMAIL PROTECTED]> wrote:
> Deepayan Sarkar wrote:
> > Hi,
> >
> > I'm trying to understand whether the use of substitute() is
> > appropriate/documented for plotmath annotation. The following two
> > calls give th
Hi,
I'm trying to understand whether the use of substitute() is
appropriate/documented for plotmath annotation. The following two
calls give the same results:
> plot(1:10, main = expression(alpha == 1))
> do.call(plot, list(1:10, main = expression(alpha == 1)))
But not these two:
> plot(1:10, m
"
Neither of which is what I want. I want
> sapply(attr(foo, "srcref"), as.character)
[1] "a <- 1""b <- 2**2" "a + b"
but was hoping for a better way than this.
-Deepayan
>
> On 7/12/07, Deepayan Sarkar <[EMAIL PROTECTED]&
Hi,
I'm trying to understand whether the new source file references can
help me with something I want to do. Let's say I have
foo <- parse(text = "
a <- 1; b <- 2**2
a + b
")
I now wish to recover the sources for the parsed expressions. I can
get them one at a time:
> foo[[2]]
b <- 2^2
> as.cha
On 6/5/07, Friedrich Leisch <[EMAIL PROTECTED]> wrote:
> >>>>> On Mon, 04 Jun 2007 11:52:51 -0700,
> >>>>> Robert Gentleman (RG) wrote:
>
> > Deepayan Sarkar wrote:
> >> On 6/4/07, Seth Falcon <[EMAIL PROTECTED]> wrote:
>
On 6/4/07, Prof Brian Ripley <[EMAIL PROTECTED]> wrote:
> Folks,
>
> I think this is a nice idea (and not very different to somethign I have
> bene playing with), but with lots of CHARSXP changes pending I'd
> like to come back to it next week or so.
>
> Sorry, Deepayan, you've happened to hit a ve
On 6/4/07, Seth Falcon <[EMAIL PROTECTED]> wrote:
> Friedrich Leisch <[EMAIL PROTECTED]> writes:
> > Looks good to me, and certainly something worth being added to R.
> >
> > 2 quick (related) comments:
> >
> > 1) I am not sure if we want to include links to the Latex-Sources by
> >default, tho
Hi,
this is tangentially related to the recent discussion on vignettes.
vignette() currently produces a listing of available vignettes, but
these are not clickable. Since R has a browseURL() function, it seems
natural to have a version that produces HTML with clickable links.
Here's an attempt at
Hi,
I have been playing around with a Qt based pager. One of the things I
would like to be able to do is syntax highlighting for R code. This is
mostly relevant with the page function, e.g.
page(ls)
The problem in this case is that the pager has no way of knowing
whether the file it is showing c
On 5/5/07, Luke Tierney <[EMAIL PROTECTED]> wrote:
[...]
> However, R_PolledEvents is only called from a limited set of places
> now (including the socket reading code to keep things responsive
> during blocking reads). But it is not called from the interupt
> checking code, which means if a use
completion is semi-broken in today's r-devel, and the reason seems to
be some regular expression changes:
> sessionInfo()
R version 2.6.0 Under development (unstable) (2007-05-22 r41673)
i686-pc-linux-gnu
locale:
[...]
attached base packages:
[1] "stats" "graphics" "grDevices" "utils" "
On 5/5/07, Prof Brian Ripley <[EMAIL PROTECTED]> wrote:
[...]
> You meam as in
>
> o dev.interactive() regards devices with the displaylist enabled
> as interactive, and packages can register the names of their
> devices as interactive via deviceIsInteractive().
>
> ?
Quick
On 5/10/07, Roger Peng <[EMAIL PROTECTED]> wrote:
> Just to follow up with a few more details on this problem (which
> persists on my PowerBook Mac but no where else). I ran a bisection
> search on the sources and found that SVN revision 40634 introduces
> this problem. This revision introduced q
On 5/7/07, Deepayan Sarkar <[EMAIL PROTECTED]> wrote:
> On 5/6/07, Deepayan Sarkar <[EMAIL PROTECTED]> wrote:
>
> > I will have to start learning about gdb sometime soon, but in this case,
> the
> > problem seems to be due to the interaction of R_tryEval() and
&g
On 5/6/07, Deepayan Sarkar <[EMAIL PROTECTED]> wrote:
> I will have to start learning about gdb sometime soon, but in this case, the
> problem seems to be due to the interaction of R_tryEval() and
> graphics, and has nothing to do with interruptions. Here's a variant
>
On 5/5/07, Prof Brian Ripley <[EMAIL PROTECTED]> wrote:
[...]
> odev.interactive() regards devices with the displaylist enabled
> as interactive, and packages can register the names of their
> devices as interactive via deviceIsInteractive().
Thanks. A related issue: 2.5
On 5/6/07, Jeffrey Horner <[EMAIL PROTECTED]> wrote:
> Luke Tierney wrote:
[...]
> >> Is there a reason R_ProcessEvents cannot be set on Unix but can on
> >> Mac? It doesn't seem user-settable on Windows, but whatever the built
> >> in default is seems to handle the Qt event loop. And for that ma
1 - 100 of 178 matches
Mail list logo