Re: [Rd] Why R-project source code is not on Github

2014-08-24 Thread Brian Lee Yung Rowe
revision history, but that is not the case with git. � Brian Lee Yung Rowe Founder, Zato Novo Professor, M.S. Data Analytics, CUNY On Aug 24, 2014, at 2:22 PM, Spencer Graves wrote: >> In addition, several members are skeptical about putting source code >> in the hands of a f

Re: [Rd] Is using devtools::release no longer allowed?

2014-08-19 Thread Brian Lee Yung Rowe
Isn't the source for CRAN itself open source? One option is to run a test server that can respond with a success or failure message based on the submission. • Brian Lee Yung Rowe Founder, Zato Novo Professor, M.S. Data Analytics, CUNY > On Aug 19, 2014, at 3:55 PM, Kasper Danie

Re: [Rd] Compilation problems

2014-08-13 Thread Brian Lee Yung Rowe
kit/jrdocs/refman/optionX.html � Brian Lee Yung Rowe Founder, Zato Novo Professor, M.S. Data Analytics, CUNY On Aug 13, 2014, at 5:15 AM, peter dalgaard wrote: > Well, I didn't go there because I don't have a clue > > What I usually try in such circumstances is to Goog

Re: [Rd] modifying a persistent (reference) class

2014-08-01 Thread Brian Lee Yung Rowe
tive approach as opposed to chasing that rainbow? Warm regards, Brian ••••• Brian Lee Yung Rowe Founder, Zato Novo Professor, M.S. Data Analytics, CUNY > On Aug 1, 2014, at 3:33 PM, Ross Boylan wrote: > >> On Fri, 2014-08-01 at 14:42 -0400, Brian Lee Yung Rowe wrote: >>

Re: [Rd] modifying a persistent (reference) class

2014-08-01 Thread Brian Lee Yung Rowe
eading from the intermediate format). Warm regards, Brian ••••• Brian Lee Yung Rowe Founder, Zato Novo Professor, M.S. Data Analytics, CUNY > On Aug 1, 2014, at 1:54 PM, Ross Boylan wrote: > > I saved objects that were defined using several reference classes. > Later I modified

Re: [Rd] index.search

2014-06-16 Thread Brian Lee Yung Rowe
Thanks for the great insight. I love that there's always something else to learn in R. ••••• Brian Lee Yung Rowe Founder, Zato Novo Professor, M.S. Data Analytics, CUNY On Jun 16, 2014, at 3:34 AM, Martin Maechler wrote: >>>>>> Adrian Dușa >>>>

Re: [Rd] index.search

2014-06-15 Thread Brian Lee Yung Rowe
Adrian, You might consider using a unit testing framework such as RUnit or testthat, which does this but in a more structured manner. Essentially you codify the behavior in a set of tests as opposed to comparing with a previous version. HTH, Brian ••••• Brian Lee Yung Rowe Founder

Re: [Rd] Ellipsis to Two Functions When One Has Nested Functions

2014-05-28 Thread Brian Lee Yung Rowe
ata[selected, ], ...) } f(aDataset, function(data) aFunction(data, alpha = 10, transform = sqrt), pch = 19) ••••• Brian Lee Yung Rowe Founder, Zato Novo Professor, M.S. Data Analytics, CUNY On May 28, 2014, at 7:34 AM, Duncan Murdoch wrote: > On 28/05/2014, 2:00 AM, Dario Strbenac wrote: >&

Re: [Rd] Ellipsis to Two Functions When One Has Nested Functions

2014-05-28 Thread Brian Lee Yung Rowe
ata[selected, ], ...) } f(aDataset, function(data) aFunction(data, alpha = 10, transform = sqrt), pch = 19) ••••• Brian Lee Yung Rowe Founder, Zato Novo Professor, M.S. Data Analytics, CUNY On May 28, 2014, at 7:34 AM, Duncan Murdoch wrote: > On 28/05/2014, 2:00 AM, Dario Strbenac wrote: >

Re: [Rd] Behavior of --install-tests and testInstalledPackage

2014-01-27 Thread Brian Lee Yung Rowe
ction, despite the issue with the test harness. Any additional pointers are greatly appreciated. Warm Regards, Brian Rowe ••••• Brian Lee Yung Rowe Founder, Zato Novo Professor On Jan 27, 2014, at 12:52 PM, Winston Chang wrote: > On Wed, Jan 22, 2014 at 10:55 AM, Brian Lee Y

[Rd] Behavior of --install-tests and testInstalledPackage

2014-01-22 Thread Brian Lee Yung Rowe
Hello, I'm writing a script that automates the testing of reverse dependencies of a package. I found the function testInstalledPackage in the tools package, which seems to do what I want. However, when I use it for a source package that was installed with --install-tests, I've noticed that only

Re: [Rd] Where to drop a python script?

2013-11-01 Thread Brian Lee Yung Rowe
If that's all you want to do, you can ignore the headache by just calling system("python -V"). Then you don't need to save any python scripts. On Nov 1, 2013, at 10:17 AM, Jonathan Greenberg wrote: > This was actually the little script I was going to include (prompting me to > ask the questio

Re: [Rd] declaring package dependencies

2013-09-16 Thread Brian Lee Yung Rowe
I haven't used rforge, but I will look check out the scripts. The reason it would be a six-pack of work is that there are generic build systems that handle most of this work. What they don't do is act as a repository, so rforge could remain that while separating out the build process. On Sep

Re: [Rd] R CMD config for R >= 3.0.1

2013-09-10 Thread Brian Lee Yung Rowe
As an alternative, you might consider installing a virtual machine in your user space and installing R from there. That way you don't have to do a bunch of one-off gymnastics to get R compiled. On Sep 11, 2013, at 1:40 AM, Simon Urbanek wrote: > On Sep 10, 2013, at 5:30 PM, crunch wrote: >

Re: [Rd] legitimate use of :::

2013-08-22 Thread Brian Lee Yung Rowe
This is what I was getting at as well. It would be great to have a call like require(package, c('funtion.1','function.2')) or similar that gives users granular control over what gets imported in the shell. I would be drunk with joy if the same mechanism could be used to automatically populate

Re: [Rd] legitimate use of :::

2013-08-22 Thread Brian Lee Yung Rowe
You raise an interesting point that I've mulled over a bit: namespace collisions. How many of these issues would go away if there were a better mechanism for managing namespaces? eg in other languages you can control which objects/modules you wish to import from a library. Under this regime I th

Re: [Rd] should the text for RIGHT_ASSIGN be -> in getParseData()?

2013-07-05 Thread Brian Lee Yung Rowe
That is a more accurate statement regarding Ctrl-K. Nonetheless whatever is killed can be yanked back via Ctrl-Y, so the effect emulates cutting and pasting. I am also a vi user, but these four basic emacs bindings seem to perennially haunt numerous terminal apps. • Brian Lee Yung Rowe

Re: [Rd] should the text for RIGHT_ASSIGN be -> in getParseData()?

2013-07-05 Thread Brian Lee Yung Rowe
Here are two more standard emacs bindings that work: Ctrl-K to cut and Ctrl-Y to paste. • Brian Lee Yung Rowe 917 496 4583 On Jul 5, 2013, at 2:32 PM, William Dunlap wrote: >> But up-arrow, ctrl-A then "z <-" is not much less convenient, is it? > > I didn

Re: [Rd] Patch proposal for R style consistency (concerning deparse.c)

2013-05-02 Thread Brian Lee Yung Rowe
Writing R in a declarative style a la functional programming makes this whole thread go away since you don't need if/else blocks. • Brian Lee Yung Rowe On May 2, 2013, at 8:27 AM, Terry Therneau wrote: > I'll be the "anybody" to argue that > } else { >

Re: [Rd] Suppress specific warnings

2013-04-18 Thread Brian Lee Yung Rowe
gt; }, curves=function(w) invokeRestart("muffleWarning")) > > The tricky part is to come up with an appropriate scheme for classifying > warnings. • Brian Lee Yung Rowe 917 496 4583 __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] Regression stars

2013-02-12 Thread Brian Lee Yung Rowe
I thought that the default was the way it was for performance reasons. For large data.frames or repeated applications, using factors should be faster for non-trivial strings. > fs <- c('apple','peach','watermelon','spinach','persimmon','potato','kale') > n <- 100 > > a1 <- data.frame(f=samp

Re: [Rd] Contract Syntactic Sugar

2013-02-04 Thread Brian Lee Yung Rowe
base x %isa% NaturalNumber } %as% { x$base ^ exponent } -- or -- # Eschewing a custom type for explicit statements exponentiate(x, exponent) %when% { x %hasa% base all(is.positive(x$base)) } %as% { x$base ^ exponent Warm Regards, Brian • Brian Lee Yung Rowe 917 496 4583 On Feb 4,

Re: [Rd] Contract Syntactic Sugar

2013-02-04 Thread Brian Lee Yung Rowe
Ivo, You might be interested in my lambda.r package which provides syntax (using the %::% operator) for type constraints. Given a function with n arguments, the type constraint requires n + 1 types, as the last type listed is the return type. Lambda.r also provides syntax for specifying any ar

Re: [Rd] Who does develop the R core and libs, and how / where is it hosted?

2013-01-14 Thread Brian Lee Yung Rowe
Maybe the master Bugzilla is what you are looking for instead: https://bugs.r-project.org/bugzilla3/buglist.cgi?quicksearch=wishlist On Jan 14, 2013, at 7:55 PM, Oliver Bandel wrote: > > > Am 15.01.2013 um 01:11 schrieb Brian Lee Yung Rowe : > >> >> On Jan 14,

Re: [Rd] Issue with getParserData in R3.0.0

2013-01-14 Thread Brian Lee Yung Rowe
Jan 14, 2013, at 9:34 AM, Duncan Murdoch wrote: > On 13-01-13 8:43 PM, Brian Lee Yung Rowe wrote:> Hello, > > > > I am migrating my package lambda.r to R3.0.0 and am experiencing some > > issues with the getParserData function (which replaces the parser package). > >

Re: [Rd] Who does develop the R core and libs, and how / where is it hosted?

2013-01-14 Thread Brian Lee Yung Rowe
On Jan 14, 2013, at 6:32 PM, oliver wrote: > BTW: I looked up the string "wish list" in some of the mentioned docs > (mentioned in this thread) > but did not found it. > Can you please point me to it directly? > Googling for "R wish list" brings me links to a producer of toys. > >

[Rd] Issue with getParserData in R3.0.0

2013-01-14 Thread Brian Lee Yung Rowe
Hello, I am migrating my package lambda.r to R3.0.0 and am experiencing some issues with the getParserData function (which replaces the parser package). Basically the function works in the R shell but fails when either called from RUnit or from R CMD check. I've narrowed it down to the functi