search for: matname

Displaying 3 results from an estimated 3 matches for "matname".

Did you mean: mapname
2007 Mar 03
1
apply ? function doesnt create object
hello, i have written a function to extract certain lines from a matrix. the result is a matrix with 6 cols, named dynamically according to the functions arguments. the problem is now, that i'm not able to return the resultmatrix for further use. the object is not being created. example from my console: getans(27,27) [...] [189,] 3969 161 27 1 0 1 [190,] 2142 87 27
2007 Mar 03
1
function doesnt return/create object
hello, i have written a function to extract certain lines from a matrix. the result is a matrix with 6 cols, named dynamically according to the functions arguments. the problem is now, that i'm not able to return the resultmatrix for further use. the object is not being created. example from my console: getans(27,27) [...] [189,] 3969 161 27 1 0 1 [190,] 2142 87 27
2012 Jul 28
1
using save() to work with objects that exceed memory capacity
...pattern=objectname), file="matfile") then I get the same positive result. But now suppose I create a function > saveobj <- function(objectname,objectfile) + { + save(list=ls(pattern=objectname),file=objectfile); + return()}; Then if I now try to save 'mat' by > matname<-"mat" > saveobj(matname,"matfile") I do not get the same result; namely, the command 'load("mat")' retrieves no objects. Why is this? I'd be grateful for any help on either my specific questions, or suggestions of a better ways to address the issu...