Displaying 2 results from an estimated 2 matches for "displc".
Did you mean:
dispc
2001 May 10
2
Scanning data lines with blanks in character vars
Hello, I'm trying to read data in from a file using scan(). The last field is a
character string that contains blanks. I had read it in in S-Plus using this
code:
ifile <- list(entry=0,measure=0,st=0,count=0,score=0,
error=0,inmsq=0,instd=0,outms=0,outstd=0,displc=0,ptbis=0,a=0,
r="",name="")
if.widths <- c(1, 5, 8, 3, 6, 7, 7, 7, 7, 7, 7, 7, 7, 2, 2, 85)
d1 <- scan(file=fd,ifile,flush=T,skip=0,widths=if.widths)
The name variable is a character string that contains blanks, is of varying
length (maximum length is 85), varyin...
2003 Aug 07
2
plotmath under windows (PR#3672)
...aphic is saved to a postscript file
under Windows.
The problem came to light when using plotmath to label a plot with latitudes
containing degree symbols.
If expression(40 * degree) is used it is written on the default line for
labels.
If expression(paste(40 * degree, " S") is used it displced closer to the axis.
Pasting any character (except "") has this effect.
The following code illustrates the problem.
par(mfrow =c(3,2))
# plotmath not used
plot(seq(-41, -40, 0.5), c(0, 1, 0), type = "n", xlab = "latitude", ylab = "",
xaxt = "n"...