Displaying 4 results from an estimated 4 matches for "qorig".
Did you mean:
orig
2018 Apr 18
2
odd assignInNamespace / setGeneric interaction
...g to type 'yes' or 'no' after quitting R: he
never wanted to save the R workspace when quitting. So he added
assignInNamespace lines to his .Rprofile file to replace base::q with
one that, by default, called the original with save="no"..
utils::assignInNamespace(".qOrig", base::q, "base")
utils::assignInNamespace("q", function(save = "no", ...)
base:::.qOrig(save = save, ...), "base")
This worked fine until he decide to load the distr package:
> suppressPackageStartupMessages(library(distr))
Error: package or...
2018 Apr 19
2
odd assignInNamespace / setGeneric interaction
...>> never wanted to save the R workspace when quitting. So he added
>> assignInNamespace lines to his .Rprofile file to replace base::q with
>> one that, by default, called the original with save="no"..
>>
>> utils::assignInNamespace(".qOrig", base::q, "base")
>> utils::assignInNamespace("q", function(save = "no", ...)
>> base:::.qOrig(save = save, ...), "base")
>>
>> This worked fine until he decide to load the distr package:
>>
>&g...
2018 Apr 18
0
odd assignInNamespace / setGeneric interaction
...or 'no' after quitting R: he
> never wanted to save the R workspace when quitting. So he added
> assignInNamespace lines to his .Rprofile file to replace base::q with
> one that, by default, called the original with save="no"..
>
> utils::assignInNamespace(".qOrig", base::q, "base")
> utils::assignInNamespace("q", function(save = "no", ...)
> base:::.qOrig(save = save, ...), "base")
>
> This worked fine until he decide to load the distr package:
>
> > suppressPackageStartupMessages(library...
2018 Apr 19
0
odd assignInNamespace / setGeneric interaction
...to save the R workspace when quitting. So he added
> >> assignInNamespace lines to his .Rprofile file to replace base::q
> with
> >> one that, by default, called the original with save="no"..
> >>
> >> utils::assignInNamespace(".qOrig", base::q, "base")
> >> utils::assignInNamespace("q", function(save = "no", ...)
> >> base:::.qOrig(save = save, ...), "base")
> >>
> >> This worked fine until he decide to load the distr package:
>...