search for: mychaleckyj

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

2019 Mar 12
3
as.data.frame.table() does not recognize default.stringsAsFactors()
Reporting a possible inconsistency or bug in handling stringsAsFactors in as.data.frame.table() Here is a simple test > options()$stringsAsFactors [1] TRUE > x<-c("a","b","c","a","b") > d<-as.data.frame(table(x)) > d x Freq 1 a 2 2 b 2 3 c 1 > class(d$x) [1] "factor" >
2019 Mar 14
0
as.data.frame.table() does not recognize default.stringsAsFactors()
...n the setting of an option that controls the conversion of character data. For as.data.frame.matrix, in contrast, it is the _content_ of the matrix that is being converted, and it seems much more reasonable to follow the same path as for other character data. -pd > On 12 Mar 2019, at 21:39 , Mychaleckyj, Josyf C (jcm6t) <jcm6t at virginia.edu> wrote: > > Reporting a possible inconsistency or bug in handling stringsAsFactors in as.data.frame.table() > > Here is a simple test > >> options()$stringsAsFactors > [1] TRUE >> x<-c("a","b",&quo...
2002 May 24
3
command line edit
Does anybody know a way to edit your command line arguments on the command line, other than deleting everything and re-typing? My user just want to be able to use emacs like commands - like you can do in a shell, and s-plus from what he says. I attempted to set up the emacs add-on, without much success, on a Solaris 7 box, but he doesn't really want that, he just wants the command line