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 spencer.gra...@structuremonitoring.com wrote: In addition, several members are skeptical about putting source

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 Daniel Hansen

Re: [Rd] Compilation problems

2014-08-13 Thread Brian Lee Yung Rowe
� Brian Lee Yung Rowe Founder, Zato Novo Professor, M.S. Data Analytics, CUNY On Aug 13, 2014, at 5:15 AM, peter dalgaard pda...@gmail.com wrote: Well, I didn't go there because I don't have a clue What I usually try in such circumstances is to Google the error message and see if any

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

2014-08-01 Thread Brian Lee Yung Rowe
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 r...@biostat.ucsf.edu wrote: I saved objects that were defined using several reference classes. Later I modified the definition

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

2014-08-01 Thread Brian Lee Yung Rowe
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 r...@biostat.ucsf.edu wrote: On Fri, 2014-08-01 at 14:42 -0400, Brian Lee Yung Rowe wrote: Ross, This is generally a hard

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 maech...@stat.math.ethz.ch wrote: Adrian Dușa dusa.adr...@unibuc.ro

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
, ], ...) } 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 murdoch.dun...@gmail.com 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
, ], ...) } 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 murdoch.dun...@gmail.com 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
, 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 winstoncha...@gmail.com wrote: On Wed, Jan 22, 2014 at 10:55 AM, Brian

[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

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 j...@illinois.edu wrote: This was actually the little script I was going to include (prompting me to

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 simon.urba...@r-project.org wrote: On Sep 10, 2013,

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

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] 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 wdun...@tibco.com wrote: But up-arrow, ctrl-A then z - is not much less convenient, is it? I didn't know that ctrl

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] 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 thern...@mayo.edu wrote: I'll be the anybody to argue that } else { is an ugly kludge

Re: [Rd] Suppress specific warnings

2013-04-18 Thread Brian Lee Yung Rowe
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 -

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

Re: [Rd] Contract Syntactic Sugar

2013-02-04 Thread Brian Lee Yung Rowe
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, 2013

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 oli...@first.in-berlin.de 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

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

2013-01-14 Thread Brian Lee Yung Rowe
On Jan 14, 2013, at 9:34 AM, Duncan Murdoch murdoch.dun...@gmail.com 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). Basically

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 oli...@first.in-berlin.de wrote: Am 15.01.2013 um 01:11 schrieb Brian Lee Yung Rowe r...@muxspace.com