[Rd] corrupt PACKAGES.gz?

2015-11-06 Thread William Dunlap
Is it just me, or did a corrupt PACKAGES.gz file get installed in the bin/windows/contrib/3.2 directory of CRAN mirrors recently? gzfile() complains about it and Cygwin's gzip cannot decompress it. I tried the following repos <- "https://cran.rstudio.com"; v <- "3.2" pkgs.gz <- paste(sep="/", re

Re: [Rd] Puzzled by eval

2015-11-06 Thread Hadley Wickham
On Fri, Nov 6, 2015 at 8:20 AM, Therneau, Terry M., Ph.D. wrote: > Duncan, > That's helpful. Two follow-up questions: > 1. Where would I have found this information? I had looked at eval and > model.frame. You can try http://adv-r.had.co.nz/Environments.html, particularly http://adv-r.had.co.

Re: [Rd] Puzzled by eval

2015-11-06 Thread Gabor Grothendieck
This code which I think I wrote but might have gotten from elsewhere a long time ago shows the environments that are searched from a given function, in this case chart.RelativePerformance in PerformanceAnalytics package. Try it on some of your functions in and out of packages to help determine th

Re: [Rd] Puzzled by eval

2015-11-06 Thread Duncan Murdoch
On 06/11/2015 8:20 AM, Therneau, Terry M., Ph.D. wrote: Duncan, That's helpful. Two follow-up questions: 1. Where would I have found this information? I had looked at eval and model.frame. I think the best description is Luke's article on namespaces, "Name space management for R". Luke

Re: [Rd] Building R for AIX in 64-bit mode

2015-11-06 Thread Dirk Eddelbuettel
Dear aixtools [1], You may want to acquaint yourself with the NEWS file and for example the fine blog / website / rss feed running here http://developer.r-project.org/blosxom.cgi/R-devel to keep abreast of what is changing. Dirk [1] The handle is nonstandard. We use real names and affiliat

Re: [Rd] Puzzled by eval

2015-11-06 Thread Therneau, Terry M., Ph.D.
Duncan, That's helpful. Two follow-up questions: 1. Where would I have found this information? I had looked at eval and model.frame. 2. What stops the following code from falling down the same rabbit hole? Shouldn't it find base::cos first? library(survival) cos <- lung coxph(Sur

Re: [Rd] Building R for AIX in 64-bit mode

2015-11-06 Thread aixtools
On 2015-11-04 17:46, aixtools wrote: On 2015-11-04 17:31, aixtools wrote: On 2015-11-04 16:51, aixtools wrote: On 2015-10-15 15:02, Prof Brian Ripley wrote: On 15/10/2015 13:32, Michael Felt wrote: Hi. Just wanted to let you know I am getting close to packaging R for AIX in 64.bit mode.

Re: [Rd] Puzzled by eval

2015-11-06 Thread Duncan Murdoch
On 06/11/2015 7:36 AM, Therneau, Terry M., Ph.D. wrote: I am currently puzzled by a seach path behavior. I have a library of a dozen routines getlabs(), getssn(), getecg(), ... that interface to local repositories and pull back patient information. All have a the first 6 arguments in common,

[Rd] Puzzled by eval

2015-11-06 Thread Therneau, Terry M., Ph.D.
I am currently puzzled by a seach path behavior. I have a library of a dozen routines getlabs(), getssn(), getecg(), ... that interface to local repositories and pull back patient information. All have a the first 6 arguments in common, and immediately call a second routine to do initial proce