Hi all , I have a GUI package function like below ,
trader<-function() { install.packages("Rgtk2") install.packages("cluster") install.packages("gWidgets") install.packages("gWidgetsRGtk2") install.packages("scales") install.packages("RGtk2Extras") install.packages("FuzzyToolkitUoN") install.packages("splines") install.packages("plyr") install.packages("cairo") install.packages("cairoDevices") install.packages("e1071") install.packages("quantmod") install.packages("TTR") install.packages("xts") library(RGtk2) library(RGtk2Extras) library(FuzzyToolkitUoN) library(splines) library(plyr) library(Cairo) library(cairoDevice) library(gWidgets2) library(gWidgetsRGtk2) library(e1071) library(quantmod) library(TTR) library(xts) } I didn't put the whole code here , My problem is I had converted this function into an package , it works good ,but every time it has to install all the packages , is there something by which only once it will install the packages and next time it is not needed . Thanks ASHIS [[alternative HTML version deleted]] ______________________________________________ R-help@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.