On Tue, Aug 5, 2014 at 4:37 PM, Grant Rettke wrote:
>
> That is delightful.
>
> When I run it like this:
> • Start R
> • Nothing in .Rprofile
> • Paste in your code
> ╭
> │ gcrenv <- new.env()
> │ gcrenv$attach.old <- attach
> │ gcrenv$attach <- function(...){stop("NEVER USE ATTACH")}
> │ base
On Tue, Aug 5, 2014 at 5:47 PM, Davison, Jerry wrote:
> Hi,
>
> I sent this to the Bioconductor mailing list (q.v.), replies recommended this
> forum. Here it is:
> A suggestion. Typically a package provides documentation of two types, one or
> more vignettes and a reference manual; and they hav
Hi,
I sent this to the Bioconductor mailing list (q.v.), replies recommended this
forum. Here it is:
A suggestion. Typically a package provides documentation of two types, one or
more vignettes and a reference manual; and they have the same file name,
PackageName.pdf. When downloaded some fi
That is delightful.
When I run it like this:
• Start R
• Nothing in .Rprofile
• Paste in your code
╭
│ gcrenv <- new.env()
│ gcrenv$attach.old <- attach
│ gcrenv$attach <- function(...){stop("NEVER USE ATTACH")}
│ base::attach(gcrenv, name="gcr", warn.conflicts = FALSE)
╰
• I get exactly w
On Tue, Aug 5, 2014 at 1:49 PM, Grant Rettke wrote:
>
> Hi,
>
> Today I got curious about whether or not I /could/ remove `attach' from
> my system so:
> - Backed it up
> - Implemented a new one
> - Like this
>
> ,
> | attach.old <<- attach
> | attach <<- function(...) {stop("NEVER USE ATTACH"
On Tue, Aug 5, 2014 at 2:49 PM, Grant Rettke wrote:
> Hi,
>
> Today I got curious about whether or not I /could/ remove `attach' from
> my system so:
> - Backed it up
> - Implemented a new one
> - Like this
>
> ,
> | attach.old <<- attach
> | attach <<- function(...) {stop("NEVER USE ATTACH")}
Hi,
Today I got curious about whether or not I /could/ remove `attach' from
my system so:
- Backed it up
- Implemented a new one
- Like this
,
| attach.old <<- attach
| attach <<- function(...) {stop("NEVER USE ATTACH")}
`
I got the error:
,
| Error: cannot change value of locked bi
Good afternoon,
Today I was reading the documentation
,
| help('<<-');
`
.
The passage (I added the asterisks)
The operators '' are normally only used in functions, and
cause a search *to* made through parent environments for an
existing definition of the variable bein