Displaying 1 result from an estimated 1 matches for "partofblah".
2011 Sep 06
1
object.size() not recognized within .First()
I have a function called within .First(), as in
.First=function() {
...blah...
BIG(partofblah) #BIG is my function, n=partofblah when called
...foo...
}
The partofblah component of blah is a number obtained from readline(),
which is then an argument to BIG()
BIG=function(n=10,removeask=T) {
z <- sapply(ls(pos=1), function(x)object.size(get(x)))
...stuff... }
When .First() e...