Doesn't the byte-compiler inline calls like nchar() to call the .Internal
directly for certain optimization levels? If the 'internal' signature changed
in a point release, I'd expect an issue like the below. (I'm pretty sure CRAN
packages are byte-compiled at build-time, but don't use Windows
On Sep 10, 2013, at 18:38, Simon Urbanek wrote:
>
> On Sep 10, 2013, at 12:56 PM, Sam Steingold wrote:
>
>>> * Dirk Eddelbuettel [2013-09-10 10:21:33 -0500]:
>>>
>>> On 10 September 2013 at 10:32, Sam Steingold wrote:
>>> | (summary.default): show the vector length in addition to quantiles
https://stat.ethz.ch/pipermail/r-devel/2013-September/067563.html
Same instructions still apply -- this is a self-subscription list.
M
On Sep 24, 2013, at 0:42, Eric Malitz wrote:
> take me off here
>
>
> On Mon, Sep 23, 2013 at 10:31 PM, Gabriel Becker wrote:
>
>> Paul,
>>
>> Thanks for
On Mar 4, 2014, at 10:21, "Wang, Zhu" wrote:
> Dear Helpers,
>
> I wanted to import an S3 method from package glmnet to my own R package.
> Specifically, I tried the following:
>
> plot.glmreg=function(x, xvar=c("norm","lambda","dev"),label=FALSE,shade=TRUE,
> ...) UseMethod("glmnet")
>
>
On Mar 19, 2014, at 18:42, Joshua Ulrich wrote:
> On Wed, Mar 19, 2014 at 5:16 PM, Jeroen Ooms
> wrote:
>> On Wed, Mar 19, 2014 at 2:59 PM, Joshua Ulrich
>> wrote:
>>>
>>> So implementation isn't a problem. The problem is that you need a way
>>> to force people not to be able to use diffe
On Mar 19, 2014, at 22:17, Gavin Simpson wrote:
> Michael,
>
> I think the issue is that Jeroen wants to take that responsibility out
> of the hands of the person trying to reproduce a work. If it used R
> 3.0.x and packages A, B and C then it would be trivial to to install
> that version of R
On Mar 19, 2014, at 22:45, Jeroen Ooms wrote:
> On Wed, Mar 19, 2014 at 6:55 PM, Michael Weylandt
> wrote:
>> Reading this thread again, is it a fair summary of your position to say
>> "reproducibility by default is more important than giving users access to
>
On Mar 20, 2014, at 8:19, "Therneau, Terry M., Ph.D." wrote:
> There is a central assertion to this argument that I don't follow:
>
>> At the end of the day most published results obtained with R just won't be
>> reproducible.
>
> This is a very strong assertion. What is the evidence for it?
On Apr 17, 2014, at 20:50, Mengsteab Aregay wrote:
> I don't want to accept anymore emails from
> https://stat.ethz.ch/mailman/listinfo/r-devel. can u please unsubscribed me.
Read your own link. It has un-subscription instructions.
>
> Thanks you
>
>[[alternative HTML version deleted]]
> On Jul 7, 2014, at 4:34 PM, Zhiyuan Dong wrote:
>
> Hi, I am learning R by reading R source code. Here is one question I have
> about the optim function in R.
>
> The context : In the optim.R, after all the prep steps, the main function
> call call is made via :
>
> .External2(C_optim, par,
> On Feb 24, 2015, at 10:50 AM, wrote:
>
> The documentation is not specific enough on the indented semantics in
> this situation to consider this a bug. The original R-level
> implementation of lapply was
>
>lapply <- function(X, FUN, ...) {
>FUN <- match.fun(FUN)
>if (!is.
> On Feb 25, 2015, at 5:35 PM, Benjamin Tyner wrote:
>
> Actually, it depends on the number of cores:
Under current semantics, yes. Each 'stream' of function calls is lazily
capturing the last value of `i` on that core.
Under Luke's proposed semantics (IIUC),
the result would be the same (2
On Dec 18, 2012, at 12:48 PM, Etienne Sévin wrote:
> Hey all,
>
> We are building a R connector for our web application.
> The user can upload a script so it can be executed on the server.
>
> Is there a way to scan the script for insidious commands (writing on the
> disk for example) and pur
Moving to the more on topic R-devel list.
On Apr 2, 2013, at 2:14, Craig Watson wrote:
> I am having a strange problem. I have been using python + rpy2 on my Mac
> for quite sometime now. I recently upgraded to OS X 10.8 from 10.6 and
> that's when the problem began.
>
> Now, when I try to loa
On Wed, Jul 17, 2013 at 9:58 AM, Brian Rowe wrote:
> Hello,
>
> Section 4.3.2 of the R language definition [1] states that argument matching
> to formal arguments is a 3-pass process to match arguments to a function. An
> error is generated if any (supplied) arguments are left unmatched.
> Inte
On Wed, Jul 31, 2013 at 7:35 PM, Simon Urbanek
wrote:
>
> On Jul 31, 2013, at 7:14 PM, Paul Gilbert wrote:
>
>> I am being asked to modernize the Depends line in the DESCRIPTION file of
>> some packages. Writing R Extensions says:
>>
>> The general rules are
>>
>> Packages whose namespace on
On Aug 20, 2013, at 14:41, ivo welch wrote:
> A second enhancement would be a "smart string", which knows that
> everything inside {{...}} should be evaluated.
I think one the HTML templating libraries (whisker or mustache or some such)
provides something not unlike this. Perhaps take a look
On Aug 22, 2013, at 9:09, Michael Friendly wrote:
> In checking my vcdExtra package, the following NOTE newly appeared (R-Forge,
> using R version 3.0.1 Patched (2013-08-20 r63635))
>
> Package in Depends field not imported from: ‘gnm’
> These packages needs to imported from for the case whe
On Aug 22, 2013, at 15:33, Henrik Bengtsson wrote:
> On Thu, Aug 22, 2013 at 10:05 AM, R. Michael Weylandt
> wrote:
>>
>>
>> On Aug 22, 2013, at 9:09, Michael Friendly wrote:
>>
>>> In checking my vcdExtra package, the following NOTE newly appear
On Aug 23, 2013, at 11:15, Gavin Simpson wrote:
> Dear List,
>
> I'm in the process of making tweaks to my various R packages following
> changes in r-devel for package checks. I'm wondering about the one use
> of ::: in one of my packages. I am arranging for a call to a
> non-exported S3 meth
On Sep 13, 2013, at 7:44, alku wrote:
> Hi,
>
> The R CMD check is successful in R 3.0.1 but fails to install package
> lmerTest under R-devel r63910,
> Here is what I get:
>
> ** preparing package for lazy loading
> Error in reconcilePropertiesAndPrototype(name, slots, prototype,
> superCla
On Oct 9, 2013, at 21:18, Duncan Murdoch wrote:
> On 13-10-09 7:54 PM, Henrik Bengtsson wrote:
>>
>>
>> On my related wishlist: A standardized mechanism to 'R CMD build' for
>> building man/*.Rd from any input format (e.g. roxygen and so on)
>> analogously how we can now build vignettes of an
On Thu, Feb 6, 2014 at 8:31 PM, Carl Witthoft wrote:
> First, let me apologize in advance if this is the wrong place to submit a
> suggestion for a change to functions in the base-R package. It never really
> occurred to me that I'd have an idea worthy of such a change.
>
> My idea is to provide
I'm not sure if this is a bug or expected behavior, but I don't see
anything in the documentation that explains it, so I thought I'd
mention it:
~ michaelweylandt$ R -q --vanilla
library(compiler)
enableJIT(3)
`+` # Throws an error
`+` # Throws a warning
`+` # Prints the primitive as expected
s
In the source section of ?rlogis, we see:
Source:
‘[dpr]logis’ are calculated directly from the definitions.
‘rlogis’ uses inversion.
Should that read "[dpq]logis" instead?
Michael
__
R-devel@r-project.org mailing list
https://stat.ethz.ch
http://cran.r-project.org/doc/manuals/R-exts.pdf
Ships with every distribution of R
Michael
On Apr 29, 2012, at 10:08 AM, nossa wrote:
> Please give me the necessary links that permits me to create my own package
> inR
>
> --
> View this message in context:
> http://r.789695.n4.nabble.com/c
In the examples for StructTS -- ($RHOME)/library/stats/man/StructTS.Rd -- could
par(mfrow = c(4, 1))
plot(log10(UKgas))
plot(cbind(fitted(fit), resids=resid(fit)), main = "UK gas consumption")
become
plot(log10(UKgas))
par(mfrow = c(4, 1))
plot(cbind(fitted(fit), resids=resid(fit)), main = "UK g
R has multiple OO paradigms, but since you're starting from a point of
"I want object oriented," I'd guess you would be interested in the S4
paradigm which is stricter rather than the far more sane S3 system.
If S4 is for you, there are some good links here:
http://stackoverflow.com/questions/4143
Tal's wonderful aggregator recently reblogged this post:
http://rsnippets.blogspot.com/2012/06/you-should-not-use-split-in-production.html
It's a rather obscure little buglet [and probably only arises in
pathological cases], but I don't know if it's not a case that deserves
a bit of consideration
1) Move this off R-devel to R-help.
2) Read the IO manual here: http://cran.r-project.org/manuals.html
3) You probably want to look at the read.table() function's help page
by typing ?read.table
Michael
On Mon, Jul 23, 2012 at 12:32 PM, walcotteric wrote:
> I'm trying to load a dataset into R,
On Tue, Jul 24, 2012 at 2:30 PM, luxInteg wrote:
> Greetings,
>
> I am learning R
> My machine has these;
> CPU: 3cores amd64
> OS pure-64bit CBLFS liux compiled from sources (kernel 3.2.1, gcc-4.6.2
> R-2.15
> When I compiled R the compiler spewed out lines like these:-
>
> make[3]: Entering
Just for the record, I don't see that error with 2.15.0 or with
R-Devel 60040-someodd. Both display
> foo <- function(x) cat(x, "\n")
> prompt(name = "foo")
Created file named ‘foo.Rd’.
Edit the file and move it to the appropriate directory.
Best,
Michael
On Sun, Jul 29, 2012 at 12:17 PM, Paul R
/src/main/attrib.c contains this comment in row_names_gets():
/* This should not happen, but if a careless user dput()s a
data frame and sources the result, it will */
which svn blame says Prof Ripley placed there in r39830 with the
commit message "correct the work of dput() on the r
On Tue, Aug 28, 2012 at 1:00 PM, Simon Urbanek
wrote:
>
> On Aug 28, 2012, at 1:51 PM, R. Michael Weylandt wrote:
>
>> /src/main/attrib.c contains this comment in row_names_gets():
>>
>> /* This should not happen, but if a careless user dput()s a
>>
On Tue, Sep 11, 2012 at 4:35 PM, Milan Bouchet-Valat wrote:
> Le mardi 11 septembre 2012 à 16:53 +0200, Basil Abou El-Komboz a écrit :
>> Dear useR's,
>>
>> today I stumbled over an interesting phenomenon: First, I created a
>> named numeric vector with a certain class and several attributes via t
By analogy with maintainer(), I suggest extending license() to give
the licensing terms of packages as well as R itself when prompted.
Below is a small patch in that direction. This won't break anything
and imposes no significant maintenance burden; it has the advantage of
making it ever so margina
I've just built R-devel (r60889) from source on my Mac OS X 10.6.8
using gcc from Xcode and gfortran from Simon. I didn't use all the
recommended configuration flags only
./configure && make
Still, I seem to pass "make check" and
"make test-Segfault" in the tests directory with no problem, but th
Hi Jose,
I think this is more of an r-help question so I'm going to forward
your question there: R-devel is really for the development of R
itself, not development with R.
Cheers,
Michael
On Mon, Oct 29, 2012 at 8:11 PM, jose ramon mazaira wrote:
> Hi. I'm trying to write an application to retr
On Wed, Nov 28, 2012 at 12:47 PM, Duncan Murdoch
wrote:
> On 12-11-28 7:39 AM, Ivan Calandra wrote:
>>
>> Dear users,
>>
>> I am looking for a function to choose a folder interactively, just like
>> file.choose() but for a folder.
>>
> "choose.dir()" does exist on Windows, so you could switch to t
Should I file an issue for this in the bug tracker?
Slighly rearranged discussion with reproducible example follows on below.
> Em 26-11-2012 21:39, R. Michael Weylandt escreveu:
>>
>> On Mon, Nov 26, 2012 at 2:41 PM, Ludo Pagie wrote:
>>> tbl.char1 <- table(c('a
R FAQ 7.31
Cheers,
MW
On Thu, Feb 7, 2013 at 10:05 AM, Davide Rambaldi wrote:
> Hello everybody:
>
> I get a strange behavior with seq, take a look at this:
>
>> msd <- seq(0.05,0.3, 0.01)
>> msd[13]
> [1] 0.17
>> class(msd)
> [1] "numeric"
>> class(msd[13])
> [1] "numeric"
>> typeof(msd[13])
>
Not an R-devel question.
Wait for a response for your cross post to R-help.
MW
On Thu, Mar 14, 2013 at 9:51 AM, Manoj G wrote:
> I tried drawing some decision trees. Since the number of levels are more in
> the tree, the plot result for the decision tree is not clear and
> conjusted. If i sav
Applicable against current trunk and (I believe) R-3.0.0 branch.
Michael
Index: doc/NEWS.Rd
===
--- doc/NEWS.Rd (revision 62340)
+++ doc/NEWS.Rd (working copy)
@@ -183,7 +183,7 @@
through as bytes inputs invalid in the curren
On Fri, Mar 22, 2013 at 7:43 PM, Josh O'Brien wrote:
> Some other functions that query the nature of an object (e.g. class(),
> length(), attributes()) do not modify the object's "named" field. Is
> there a reason that typeof() should?
>
Because it's not implemented as a primitive and the closure
On Thu, May 2, 2013 at 12:50 AM, Jewell, Chris wrote:
> Hi,
>
> I was wondering if anybody knew how to trap SIGINTs (ie Ctrl-C) in backend
> C++ code for R extensions? I'm writing a package that uses the GPU for some
> hefty matrix operations in a tightly coupled parallel algorithm implemented
On Thu, May 2, 2013 at 12:35 AM, philchalmers
wrote:
> Hi All,
>
> I'm wondering why when passing a single numeric value that contains any
> decimals to diag() that the value is silently coerced to a integer for
> constructing an identify matrix. To me, an input like diag(5.435) seems
> fairly amb
On Thu, May 2, 2013 at 5:12 PM, Jony Hudson wrote:
> Hi,
>
> I'm trying to cross-compile R to javascript so that it can run in a
> web-browser. Take as long as you need to stop laughing. So, as I was saying -
> I want to try and get a build of R running in the browser. [If you're not
> familia
Can you post the offending package?
On Fri, May 3, 2013 at 8:46 AM, Knut Krueger wrote:
> Where can I found hepl about latex errors:
>
> the R CMD check tells me less, but:
> * checking PDF version of manual ... WARNING
> LaTeX errors when creating PDF version.
> This typically indicates Rd probl
On Sun, May 19, 2013 at 7:16 PM, Ben Bolker wrote:
>
> Is anyone on this list aware of discussions about locking down/securing R?
>
> My colleagues and I are working with health statistics in an office
> that disallows many useful tools (e.g. emacs, vim, perl, make) on the
> grounds that they
It might also help if you can point us to the C code to help debug.
MW
On Tue, May 21, 2013 at 10:53 AM, Robin Evans wrote:
> I should add to this that I'm running on Scientific Linux 6. I later
> noticed that the bug only seems to occur when I run the code from Rstudio,
> and not if I use the
50 matches
Mail list logo