[R] Date: Sat, 19 Oct 2002 09:44:55 +0800

Uwe Ligges ligges at statistik.uni-dortmund.de
Sat Oct 19 12:47:55 CEST 2002


chenwj wrote:
> 
> hi all,
> 
> i'v got a question here:
> 
> i'm writing a *.bat file using Rterm.exe to several simliar R files, which
> all contain functions from some outside package (eg. quantreg).  my question
> is, how to invoke the package in my *.bat file.
> 
> Anyone give a hand to me?
> 
> regards,
> chenwj
> 

Write "library(quantreg)" in your R files, it cannot be done in the
Windows batch file.
Or, if you don't want to write it in each of your .R files, load the
package in .../etc/Rprofile, for example, so it is present everytime R
starts.

Uwe Ligges
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list