[Rd] different behavior accessing type-specific as.data.frame inside a function vs inside R shell

2012-09-19 Thread brian avants
hello we are developing an R package called ANTsR for which we have some special types. one of these types is an antsMatrix type. we implemented a as.data.frame function that casts an antsMatrix to a data.frame this works fine in a basic shell script. for instance: # install R CMD INSTALL

Re: [Rd] different behavior accessing type-specific as.data.frame inside a function vs inside R shell

2012-09-19 Thread Martin Morgan
Hi Brian -- On 9/19/2012 1:06 PM, brian avants wrote: hello we are developing an R package called ANTsR for which we have some special types. one of these types is an antsMatrix type. we implemented a as.data.frame function that casts an antsMatrix to a data.frame this works fine in a