[R] R CMD build --binary without option --use-zip-data

2010-08-20 Thread Andrew Liu
Hello, When I run R CMD build --binary pkgname I get * checking for file 'pkgname/DESCRIPTION' ... OK * preparing 'pkgname': * checking DESCRIPTION meta-information ... OK * cleaning src * removing junk files * checking for LF line-endings in source and make files * checking for empty or unnee

[R] Help with Lattice--panel.axis() and a conditioning variable

2010-08-03 Thread Andrew Liu
Hello, I use the following code to generate this plot: http://imgur.com/GsWvY.jpg. How do I remove the labels to the left of the middle axis? Or is there a simpler solution that gets me the same plot. I basically just want to highlight 25.67 on the leftmost axis, and have all other labels bla

[R] Correct function name for text display of S4 object

2010-07-12 Thread Andrew Liu
Hello, I am working on an R package for storing order book data. I currently have a display method that has the following output (ob is an S4 object): display(ob) Current time is 09:35:02 Price Ask Size -- 11.42 900

[R] Loading text file from data folder of package

2010-07-07 Thread Andrew Liu
Hello, I am creating a package and in my vignette I would like to load a text file from the data folder of the package. Currently, I am doing the following: filepath <- paste(.libPaths(), "pkgname", "data", "sample.txt", sep = "/") file(filepath) Is there a better way of doing this? Thanks,

[R] Coloring axis labels on lattice xyplot

2010-07-01 Thread Andrew Liu
Hello, First let me apologize for replying/changing subject when I initially asked this question. Its my first time using a mailing list of any sort! I am trying to color particular labels on my lattice xyplot. For example: library(lattice) z = data.frame(x = 1:5) xyplot(x~x, z) Is there an

[R] Coloring axis labels on Lattice xyplot.

2010-06-30 Thread Andrew Liu
Hello, I am trying to color particular labels on my lattice xyplot. For example: library(lattice) z = data.frame(x = 1:5) xyplot(x~x, z) Is there any way for me to make the "4" on the y-axis blue? Thanks, Andy __ R-help@r-project.org mailing list h