The base help file replace.Rd has no usage example. Might this example be
helpful?
\examples{
foo <- c("Yes","n","no answer")
foo <- replace(foo, list=c(2, 3), values=c("No”, NA))
foo # "Yes" "No" NA
}
Also, the Rd file doesn’t point to other relevant functions the us
Hi all,
following sample code illustrates the problem :
Date1 <- Date2 <-
as.POSIXlt(seq.Date(as.Date("2010-04-01"),as.Date("2011-04-01"),by='day'))
identical(Date1,Date2)
all.equal(Date1,Date2)
identical() gives the correct answer. As there is no all.equal method
for POSIXlt objects, all.
This question seemed to me to be more appropriate for r-devel
than for r-help. My apologies if this is not the case.
Recently I installed ``cairo'' on my lap-top so that I could make
use of the (newish) polypath() function, with on-screen graphics.
(The polypath() function does not work with X1
Hi,
For building r56651 on windoze (32bit), I was re-reading R-admin.html
and noticed cairo support (section 3.1.5). The description in that
section appears to be missing the instruction to build the dll. By
looking at the makefile, I figured that to be `make cairodevices'.
Also the links in opti
> Joris Meys writes:
This is already fixed in r-devel.
-k
> Hi all,
> following sample code illustrates the problem :
> Date1 <- Date2 <-
> as.POSIXlt(seq.Date(as.Date("2010-04-01"),as.Date("2011-04-01"),by='day'))
> identical(Date1,Date2)
> all.equal(Date1,Date2)
> identical() gives