Re: [R] Is there a way force hiding of all messages when calling library()?

2011-12-21 Thread Saiwing Yeung
t; > Hadley > > On Wed, Dec 21, 2011 at 5:36 PM, Saiwing Yeung wrote: >> For example, if I call "library(spam)", I would get messages like this >> >> Package 'spam' is loaded. Spam version 0.27-0 (2011-08-17). >> Type demo( spam) for some d

[R] Is there a way force hiding of all messages when calling library()?

2011-12-21 Thread Saiwing Yeung
For example, if I call "library(spam)", I would get messages like this Package 'spam' is loaded. Spam version 0.27-0 (2011-08-17). Type demo( spam) for some demos, help( Spam) for an overview of this package. Help for individual functions is optained by adding the suffix '.spam' to the function na

Re: [R] xyplot question

2011-01-19 Thread Saiwing Yeung
> This is a version of FAQ 7.22: you need to tell R to print lattice graphics. > Without the next statement, the result would be auto-printed. > > Duncan Murdoch That fixed it. Thank you again. Sorry for not reading the FAQ. Saiwing __ R-help@r-pro

[R] xyplot question

2011-01-19 Thread Saiwing Yeung
R 2.12.0 * R.app GUI 1.35 (5632) i386-apple-darwin9.8.0 * lattice_0.19-17 any suggestions? Thanks in advance! Saiwing Yeung __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.

Re: [R] factor with numeric names

2009-03-25 Thread Saiwing Yeung
quot;329"<"327"<"325"<..: 10 10 10 10 10 10 13 13 13 13 ... # this works though > str(factor(Loblolly$Seed, ordered=F)) Factor w/ 14 levels "329","327","325",..: 10 10 10 10 10 10 13 13 13 13 ... Saiwing On Mar 21, 2009, at

[R] factor with numeric names

2009-03-21 Thread Saiwing Yeung
0 -2.0350 seed.strS323 seed.strS325 seed.strS327 seed.strS329 seed.strS331 0.3067 -1.3233 -2.6400 -2.9333 -2.2267 Now it is actually possible to see which one is which, but is kind of lame. Can someone point me to a more elegant solu