Hi,
On Windows, it appears that system() and system2() both use the 8.3 filename to
run the supplied command, even if the full name is used. Most of the time this
doesn't matter, but for .NET programs, it stops the program from finding its
app.config file (which has the same name as the app, wi
If no 'type' is specified, download.packages("pkgname") will download source
packages (.tar.gz files), even on Windows. However, the help says
type character string, indicate which type of packages: see
install.packages.
and on Windows, install.packages defaults to downloading binary pack
The behaviour of within() with list input changes if you delete 2 or more
variables, compared to deleting one:
l <- list(x=1, y=2, z=3)
within(l,
{
rm(z)
})
#$x
#[1] 1
#
#$y
#[1] 2
within(l, {
rm(y)
rm(z)
})
#$x
#[1] 1
#
#$y
#NULL
#
#$z
#NULL
When 2 or more variables are deleted,
This is something I came across just now:
f <- function(x) missing(x)
z <- quote(expr=)
f(z)
# TRUE
The object z contains the equivalent of a missing function argument. Another
method for generating a missing arg would be alist(a=)$a .
Should f(z) return TRUE in this case? I interpret missing(
Full_Name: Hong Ooi
Version: 2.10.0
OS: Windows XP
Submission from: (NULL) (203.110.235.1)
While trying to get summary statistics on a duration variable (the difference
between a start and end date), I ran into the following issue. Using summary or
quantile (which summary calls) on a difftime
b, c, d) ## the d argument reappeared!
>
>As you can see from above, the d=3D argument got chopped off completely
>the first time "formals<-"() is called, but not the second!=20
--=20
Hong Ooi
Senior Research Analyst
Insurance Australia Group, 388 George St, Sydney NSW 2000