I think there are a couple of things in ?hist that are not quite as
clear as they could be.
(1)
freq: logical; if 'TRUE', the histogram graphic is a representation
of frequencies, the 'counts' component of the result; if
'FALSE', _relative_ frequencies ("probabilities"),
On 6/17/05, Duncan Murdoch <[EMAIL PROTECTED]> wrote:
> On 6/17/2005 8:58 AM, Deepayan Sarkar wrote:
> > I think there are a couple of things in ?hist that are not quite as
> > clear as they could be.
> >
> > (1)
> >
> > freq: logical; if
Hi,
I recently made changes to lattice code which needed changes in many
man pages as well. Before I made the appropriate changes, R CMD check
was flagging most of the problems correctly, except for the man page
for tmd. I have created a toy package that shows this, available at
http://www.stat.w
On 8/24/05, ernesto <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I'm trying to develop an histogram method for a class called "FLQuant"
> which is used by the package FLCore (http://flr-project.org). FLQuant is
> an extension to "array". There is an as.data.frame method that coerces
> flquant into a data.
t;
> >> this small exaple leads to a crash of R. I did not try it on
> >> versions other than the Mac version. So I am sending it to you
> >> directly. If it is a littice problem, could you pass it to Deepayan
> >> Sarkar? Thank you.
> >>
> >> g.
>
>>
> >>>> From: "G. Sawitzki" <[EMAIL PROTECTED]>
> >>>> Date: 28 agosto 2005 14:11:18 GMT+02:00
> >>>> To: [EMAIL PROTECTED]
> >>>>
> >>>>
> >>>> Dear Stefano,
> >>>>
On Tuesday 04 October 2005 07:48, Prof Brian Ripley wrote:
> Tony,
>
> The problem is specific to your example:
> > install.packages("ash")
>
> ...
>
> > install.packages("ash", installWithVers=TRUE)
> > library("ash", version="1.0-9")
> > search()
>
> [1] ".GlobalEnv""package:ash_1.0-9"
On 10/18/05, ernesto <[EMAIL PROTECTED]> wrote:
> Prof Brian Ripley wrote:
>
> > I think you are confusing us: xyplot is an S3 generic with no 'data'
> > argument. It is xyplot.formula that you want to add dispatch on its
> > 'data' argument. I don't really see why you want to mix S3 and S4
> >
I often need to work with large vectors whose distribution I want to
summarize by Q-Q plots. Since the vectors are large, I use a subset
of quantiles, e.g.
quantile(x, probs = ppoints(1000))
Unfortunately, this seemed to be taking too long for large x (much
longer than 'sort'). I initially thou
[This is of potential interest primarily to bash users and R package
developers (hence the posting to r-devel only). Others, feel free to ignore.]
I have been using bash's command completion features [1] for a while now, to
the point where I expect everything to just work when I hit TAB. Since
On 1/4/06, Gabor Grothendieck <[EMAIL PROTECTED]> wrote:
> In the following session we define an xx class and a print method
> for it. If I invoke it with print then it prints as expected but if
> we just type xx at the R prompt then we get nothing back. How
> do we define the print method so tha
On 10/20/05, ernesto <[EMAIL PROTECTED]> wrote:
[...]
> Hi Deepayan,
>
> I see that there are alternatives, I found one my self that works and
> it's transparent for the user.
>
> I don't want to implement solutions that force the user to use lattice
> methods differently from your implementation
Hi,
there is a bug in the calculation of row names in rbind.data.frame.
When one of the arguments has 0 rows but is named in the call, this
mistakenly contributes an element in the "row.names" attribute of the
result, e.g.:
> foo <- data.frame(x = 1:10, y = rnorm(10))
> bar1 <- rbind.data.frame(f
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
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, 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)
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:
>
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
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
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 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 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 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 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 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 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 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 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 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
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 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
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 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`(...)
> >
-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 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
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 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 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 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 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 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 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
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
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
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
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
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 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 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 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
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 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
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 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 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, 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 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 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 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 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 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 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:
> 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/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 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
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 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
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 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
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 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
On 3/29/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> Full_Name: James Szinger
> Version: 2.4.1
> OS: linux and MacOS X
> Submission from: (NULL) (128.165.24.206)
Bugs in packages are supposed to go to package maintainers, not r-bugs.
> I'm trying to plot some data from the past 12 months an
Hi,
I'm trying to understand (mostly from the R-exts manual) how to use
the callbacks declared in Rinterface.h. As a first attempt, I'm trying
to redefine ptr_R_WriteConsole in a very trivial manner. Here's my
code:
---
$ cat altr.c
int Rf_initialize_R(int ac, char **av);
#define R_
On 4/3/07, Simon Urbanek <[EMAIL PROTECTED]> wrote:
> On Apr 2, 2007, at 8:51 PM, Deepayan Sarkar wrote:
>
> > Hi,
> >
> > I'm trying to understand (mostly from the R-exts manual) how to use
> > the callbacks declared in Rinterface.h. As a
On 4/6/07, hadley wickham <[EMAIL PROTECTED]> wrote:
> 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.
> > >> > G
Hi,
a couple of minor fixes to R-exts.texi:
In
@subsection Setting R callbacks
which describes Rinterface.h,
The @example block correctly has
extern int (*ptr_R_ReadConsole)(char *, unsigned char *, int, int);
extern int (*ptr_R_ShowFiles)(int, char **, char **, char *,
Hi,
R_tryEval, exported in Rinternals.h but not part of the API, is
currently defined as:
R_tryEval(SEXP e, SEXP env, int *ErrorOccurred);
I'm trying to embed R in an application (basically yet another GUI),
and this has been very helpful to catch errors. It would be even more
helpful if it als
On 4/6/07, Byron Ellis <[EMAIL PROTECTED]> wrote:
> It's come up for me when I do FFI stuff. For GUI stuff I usually just
> want to suppress, but it's possible that you'd want to detect
> visibility if you were to make the GUI more programmable. I usually
> end up having to work around the whole bu
The R-lang manual has this example which no longer holds (I couldn't
think of a simple alternative):
As it happens, @R{}'s parser is not perfectly invertible, nor is its
deparser, as the following examples show
@example
> deparse(quote(c(1, 2)))
[1] "c(1, 2)"
> deparse(1:2)
[1] "c(1, 2)"
-Deepay
Hi,
I think this is a bug (even though I can't find documentation
explicitly saying that it should work). Basically, Rf_PrintValue(obj)
fails when 'obj' is an S4 object that should be printed using show()
rather than print(). From the error message I'm guessing that the need
to use show is detecte
Hi,
I have been playing with Qt recently, and have the beginnings of a Qt
device. Unfortunately, I haven't been able to make it work as an R
package yet (I know the device code works because I can use it from a
GUI where R is embedded). Trying to package it, I have managed to get
it to a stage whe
On 4/13/07, Duncan Temple Lang <[EMAIL PROTECTED]> wrote:
> Hi Deepayan.
>
> I can take a look, but it may not be for a few days.
No problem.
> But if anyone else has the time, can you keep us informed
> about any progress so that we don't replicate work in parallel.
Sure.
-Deepayan
_
Hi,
it looks like Rinterface.h is not available on Windows. Does this mean
I can not reset the various ptr_R_* callbacks? Is there an
alternative? Is this something fundamentally difficult or something
not done because no one needs it?
-Deepayan
__
[EM
On 4/13/07, Deepayan Sarkar <[EMAIL PROTECTED]> wrote:
> Hi,
>
> it looks like Rinterface.h is not available on Windows. Does this mean
> I can not reset the various ptr_R_* callbacks? Is there an
> alternative? Is this something fundamentally difficult or something
> not d
On 4/13/07, Prof Brian Ripley <[EMAIL PROTECTED]> wrote:
> On Fri, 13 Apr 2007, Deepayan Sarkar wrote:
>
> > Hi,
> >
> > it looks like Rinterface.h is not available on Windows. Does this mean
> > I can not reset the various ptr_R_* callbacks? Is there a
Hi,
I'm trying to create a "grob" representing a dendrogram object (for
use as a legend with lattice), and I have a question regarding how a
"dendrogram" should be interpreted. Are they by definition binary
trees or can they in principle have more than two children?
-Deepayan
___
On 4/23/07, Friedrich Leisch <[EMAIL PROTECTED]> wrote:
> >>>>> On Fri, 20 Apr 2007 14:46:33 -0700,
> >>>>> Deepayan Sarkar (DS) wrote:
>
> > Hi,
> > I'm trying to create a "grob" representing a dendrogram object (for
&g
Hi,
I recently discovered this buglet in lattice: If lattice is _not_
attached, I get
> lattice::dotplot(~1:10)
Error in eval(expr, envir, enclos) : could not find function "bwplot"
This happens because of this:
> lattice:::dotplot.formula
function (x, data = NULL, panel = "panel.dotplot", ...)
On 4/26/07, Duncan Murdoch <[EMAIL PROTECTED]> wrote:
> On 4/26/2007 7:39 PM, Deepayan Sarkar wrote:
> > Hi,
> >
> > I recently discovered this buglet in lattice: If lattice is _not_
> > attached, I get
> >
> >> lattice::dotplot(~1:10)
> &g
Hi,
a few days back I had asked for help on a Qt device package. Thanks to
hints from Duncan TL and Thomas Friedrichsmeier, I now have something
more or less functional. For those interested, It can be downloaded
from
http://dsarkar.fhcrc.org/R/R-Qt.html
I have a couple of related questions. Fir
On 5/3/07, Prof Brian Ripley <[EMAIL PROTECTED]> wrote:
> On Thu, 3 May 2007, Deepayan Sarkar wrote:
>
> > Hi,
> >
> > a few days back I had asked for help on a Qt device package. Thanks to
> > hints from Duncan TL and Thomas Friedrichsmeier, I now have someth
Hi,
one thing I haven't been able to figure out from R-exts is how to
interrupt a calculation running inside an embedded R. C code inside R
calls R_CheckUserInterrupt() intermittently to check for interrupts,
but how does my GUI tell R that the user wants it interrupted?
-Deepayan
__
On 5/4/07, Prof Brian Ripley <[EMAIL PROTECTED]> wrote:
> On Fri, 4 May 2007, Deepayan Sarkar wrote:
>
> > one thing I haven't been able to figure out from R-exts is how to
> > interrupt a calculation running inside an embedded R. C code inside R
> > calls R_Che
On 5/5/07, Luke Tierney <[EMAIL PROTECTED]> wrote:
> On Sat, 5 May 2007, Prof Brian Ripley wrote:
>
> > On Sat, 5 May 2007, Luke Tierney wrote:
> >
> >> On Sat, 5 May 2007, Prof Brian Ripley wrote:
> >>
> >>> On Fri, 4 May 2007, Luke Tierney w
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
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, 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/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/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/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
1 - 100 of 178 matches
Mail list logo