[R] apply problem

2007-04-13 Thread aedin culhane
Dear R-Help I am running apply on a data.frame containing factors and numeric columns. It appears to convert are columns into as.character? Does it convert data.frame into matrix? Is this expected? I wish it to recognise numerical columns and round numbers. Can I use another function instead

[R] Solve for Please set TMPDIR to a valid temporary directory

2004-05-10 Thread aedin culhane
Dear R Help, My apologies if this is widely known, but I didn't find this in the R archives. I am running WinXP pro and R 1.90. Rcmd build or check fails with the error: Please set TMPDIR to a valid temporary directory $TMPDIR is set to $TMPDIR or C:/TEMP in share\perl\R\Var.pm. TMPDIR or