Hello,
The first time in a session I call .packages( all.available = T ), it
takes a long time (I have many packages installed from CRAN):
> system.time( packs <- .packages( all = T ) )
user system elapsed
0.738 0.276 43.787
When I call it again, the time is now much reduced, so there mu
The caching is in the disc system: you need to find and read the
package metadata for every package. AFAIK it is not easy to flush the
disc cache, but quite easy to overwrite it with later reads. (Google
for more info.)
If you are not concerned about validity of the installed packages you
c
Prof Brian Ripley wrote:
The caching is in the disc system: you need to find and read the
package metadata for every package. AFAIK it is not easy to flush the
disc cache, but quite easy to overwrite it with later reads. (Google
for more info.)
Thanks for the info, I'll try to find my way wi
On Tue, 3 Mar 2009, Romain Francois wrote:
Prof Brian Ripley wrote:
The caching is in the disc system: you need to find and read the package
metadata for every package. AFAIK it is not easy to flush the disc cache,
but quite easy to overwrite it with later reads. (Google for more info.)
Tha
Prof Brian Ripley wrote:
On Tue, 3 Mar 2009, Romain Francois wrote:
Prof Brian Ripley wrote:
The caching is in the disc system: you need to find and read the
package metadata for every package. AFAIK it is not easy to flush
the disc cache, but quite easy to overwrite it with later reads.
(
Hello,
(This is follow up from this thread:
http://www.nabble.com/execution-time-of-.packages-td22304833.html but
with a different focus)
I am often confused by the result of the profiler, when a loop is
involved. Consider these two scripts:
script1:
Rprof( )
x <- numeric( )
for( i in 1
Let me repeat: what is happening for me in the equivalent of your
35.589 - 1.18 seconds is that R is waiting for my OS to read its discs
(and they can be heard chuntering away). As the R process is not
runniing at those times, the profiler is not running either (on a
Unix-alike: on Windows the
Prof Brian Ripley wrote:
Let me repeat: what is happening for me in the equivalent of your
35.589 - 1.18 seconds is that R is waiting for my OS to read its discs
(and they can be heard chuntering away). As the R process is not
runniing at those times, the profiler is not running either (on a
Hi,
trying
to install a package containing C code and requiring non-default configure
argument
settings the incantation (this has worked for R <= 2.8.1 on the same
architectures)
R CMD INSTALL --configure-args="--with-opt1 --with-opt2" packname
does always result in a warning
Warning: unknown
Hello,
Please find attached a patch against svn implementing this proposal.
The part I don't fully understand is the part involving the function
loopWithContect, so I've put "[loop]" in there instead of "[for]",
"[while]" or "[repeat]" because I don't really know how to extract the
informat
Prof Brian Ripley wrote:
On Mon, 2 Mar 2009, Paul Gilbert wrote:
I am trying to dump some data in a file that I will add to a package.
The data has an attribute which is a S4 object, and this seems to
cause problems. What is the preferred way to write a file with a
dataset that has some S4
R 2.5.1 compiled, passed the make check and has been successfully
running for a couple
years on a Sun Fire V490 running Solaris 9. I need a newer version of
R, but can't get a
newer version of R to pass the make check. I've tried 2.8.1, 2.7.2,
2.6.2 and 2.6.0. (2.5.1 still
passes on this server) At
Please ignore the previous patch which did not take into account the
conditional compilation of doprof on windows. This one does, but was not
tested on windows.
Romain
Romain Francois wrote:
Hello,
Please find attached a patch against svn implementing this proposal.
The part I don't fully
That version of R is 'under development' and the INSTALL file says
## FIXME: this loses quotes, so filepaths with spaces in get broken up
so it is I think the same as a known issue.
The whole package installation process has been completely
reconstructed for R-devel, and the process is not qui
In X11.Rd the Resources section has the following dead link:
http://web.mit.edu/answers/xwindows/xwindows_resources.html
I never saw the target document but is this its new URL:
http://kb.mit.edu/confluence/pages/viewpage.action?pageId=3907291
Thank you,
Stephen
--
Rochester, Minn. USA
There is a bug in 'anova.gls' in the 'nlme' package (3.1-90). The=20
bug is triggered by calling the function with a single 'gls' object=20
and specifying the 'Terms' argument but not the 'L' argument:
> library(nlme)
> fm1Orth.gls <- gls(distance ~ Sex * I(age - 11), Orthodont,
+
Dear Martin,
Thanks a lot for your help, apologies for this very late reply. I
decided to go with your suggestion, write a regular function. I guess
this avoids doing
obj <- as(foo(as(obj, 'Base')), 'Derived')
and then repopulating the extra slots of of the 'Derived' class.
Regards,
gopi.
O
Hi,
According to its man page, callNextMethod() (called with
no argument) should call the next method "with the arguments
to the current method passed down to the next method".
But, for the "[[" and "[" generics (primitives), the argument
after the dots doesn't seem to be passed down:
setClass("
18 matches
Mail list logo