Displaying 3 results from an estimated 3 matches for "moeltner".
Did you mean:
moeller
2006 Sep 11
2
[R] function changes argument (PR#9216)
(This report appeared in R-help. I've sent it separately to the bugs
list to avoid a long string of cross-postings.)
On 9/11/2006 4:49 AM, Moeltner, Andreas wrote:
> Dear R-list,
>
> the following function f changes L. I thought, assignments within
> functions are only local?
That looks like a bug, still present in R-patched and R-devel. (I
haven't got the latest pre-release built yet today, but I expect it's
there, too....
2006 Sep 11
1
function changes argument
Dear R-list,
the following function f changes L. I thought, assignments within
functions are only local?
f<-function(LL)
{ for (ll in LL)
{ ll$txt<-"changed in f"
}
}
l<-list(txt="original value")
L<-list(l)
L[[1]]$txt
f(L)
L[[1]]$txt
gives (using R 2.3.1):
...
> L[[1]]$txt
[1] "original value"
> f(L)
> L[[1]]$txt
[1] "changed in
2012 Nov 19
6
tcltk freezing using MS Windows for R-2.14+
I am the maintainer of a Bioconductor package (affylmGUI) which uses
tcltk. It freezes inconsistently on MS Windows, but not Mac or Unix. see
details below.
After considerable testing I have reduced the problem from a few
thousand lines of code to 30 lines!
If you paste the following lines of code into an R window:
testGUI <- function(){
require(tcltk)
MainWindow <-