Displaying 2 results from an estimated 2 matches for "fn1a".
Did you mean:
fn1
2014 Apr 14
1
duplication regression (?)
...id not see any NEWS item suggesting this change is expected.
Note that the example is contrived and I don't have a use case for it.
I stumbled across it when playing with recent changes in R relating to
duplication. Does the example use undefined syntax?
-----
fn1 <- function(mylist) {
fn1a <- function() mylist[[c(1,1)]][[1]] <<- 9
fn1a()
return(NULL)
}
fn2 <- function(myarg) fn1(myarg)
test_list <- list(list(list(1)))
print(test_list[[c(1,1,1)]])
fn2(test_list)
print(test_list[[c(1,1,1)]])
-----
Before r64970 the output is
[1] 1
[1] 1
After r64970 the outpu...
2009 Mar 23
4
newton method
Hi R-users,
Does R has a topic on newton's method?
Thank you for the info.