Re: [R] Formatting numbers for display

2012-08-03 Thread Tejas Kale
I think the following code provides output that Dennis wants as well as gets rid of the white space David mentioned. digitTruncation <- function(x) { ifelse(x>10^7, gsub("(\\d)[.].*", "\\1", x), ifelse(x<1, formatC(x, digits=3, f

Re: [R] Silencing the output of install.packages()

2012-05-31 Thread Tejas Kale
gest a workaround that could be used to get rid of the output? Thanks Tejas On Thursday 31 May 2012 08:00 PM, Uwe Ligges wrote: On 31.05.2012 16:18, Tejas Kale wrote: Hello! Is there a way to suppress the output of 'install.packages()'? I have seen that the 'download.file'

[R] Silencing the output of install.packages()

2012-05-31 Thread Tejas Kale
Hello! Is there a way to suppress the output of 'install.packages()'? I have seen that the 'download.file' function has a 'quiet' option but I do not know how to use it. Thanks for your help Tejas Kale IUCAA, Pune __ R-h

[R] Avoid text wrapping of output in R console

2012-05-27 Thread Tejas Kale
64 89 So my question is whether there is a way to prevent R from wrapping the output so that all columns of a row can displayed in a single line in the console or should I start thinking of alternate ways to do the formatting? Many thanks for your help. Regards Tejas Kale IUCAA, Pune

[R] Exporting plots generated by a 'for' loop

2012-04-28 Thread Tejas Kale
ks for all your help. Regards Tejas Kale IUCAA, Pune, India __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, min