Hi,
the R.utils package has a function listDirectory() that returns the
directory names too. (I've made some changes to the function recently,
which is not in the CRAN version, so get it from http://www.braju.com/R/
instead.)
The package also has isFile() and isDirectory() to test if a pathna
list.files() (and dir()) don't appear to return names of
directories when one uses the recursive=T argument. E.g.,
> dir(file.path(R.home(),"library"), pattern="^R$", recursive=T)
[1] "Malmig/help/R"
but the unix find commmand finds lots of R directories
> z <- system(paste("find", file.path
Did you check the examples on the help page for integrate?
integrand <- function(x) rep(5, length(x))
should do it. Definitely not a bug.
Peter
[EMAIL PROTECTED] wrote:
> Full_Name: Joel Franklin
> Version: 2.2.0
> OS: WinXP-Prof
> Submission from: (NULL) (63.226.223.22)
>
>
> The "integrate
Full_Name: Joel Franklin
Version: 2.2.0
OS: WinXP-Prof
Submission from: (NULL) (63.226.223.22)
The "integrate" function, when evaluating an integrand function that is constant
(therefore not a function of the integral) cannot be valuated, and instead
throws an error. Instead, the interate functio
I often need to work with large vectors whose distribution I want to
summarize by Q-Q plots. Since the vectors are large, I use a subset
of quantiles, e.g.
quantile(x, probs = ppoints(1000))
Unfortunately, this seemed to be taking too long for large x (much
longer than 'sort'). I initially thou
Hello all,
I have a data file table.txt which i have attached. I am trying to pass the
columns as arguments to a function "totnorm" where i am displaying a total
normalization plot. The function is given below:
totnorm<-function(x,y){scale<-sum(x)/sum(y);xlab<-colnames(x);ylab<-colnames(y);x1<-x
There is no DLL being built. We have absolutely nothing to go on here, but
there are dozens of examples on CRAN which do work. A simple one
containing Fortran is 'ash' - perhaps you should study how yours differs
from that.
And please get R CMD INSTALL working before complicating the issue wit
Dear expeRts!
I have produced a package and I would like to compile it on windows to build
a binary package. The package also includes Fortran code. This is where I
have problems.
The package compiles fine, however the Fortran code seams to be ignored. I
have the Fortran code in src subdir