[R] Is there a way to avoid loading dependendent packages?

From: <Paul.Rustomji_at_csiro.au>
Date: Tue, 29 Jul 2008 08:42:24 +1000

Hello R help list

I have been using the smoothScatter function within the "geneplotter" package to make some graphs using a Sweave Rnw script called via Rscript in a DOS/Windows batch file. The Rscript will ultimately be called by a web service with time-out constraints, hence things need to run as swiftly as possible.

The geneplotter package is currently loaded each time R is invoked and has quite a number of dependencies, of which only one (namely Kernsmooth package) appears to be necessary for the smoothScatter command to work.

As loading all these superfluous packages (for my purposes at least) takes a bit of time - is there a way to turn off the loading of dependent packages so that I can only load the minimum ones I need? I understand I'll be carrying the risk of missing dependencies but in this case it is fairly straight forward as to why I need to do this and what specific packages are needed.

Any suggestions?

Paul Rustomji
Rivers and Estuaries
CSIRO Land and Water
GPO Box 1666
Canberra ACT 2601

R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Received on Mon 28 Jul 2008 - 22:59:31 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Tue 29 Jul 2008 - 00:32:46 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive