Damian Betebenner <[EMAIL PROTECTED]> writes:

> Does anyone have an idea of how I can pass the appropriate path to
> my shell script from within R?

Anything wrong with just setting the PATH variable? E.g.

> Sys.putenv(PATH=paste(Sys.getenv("PATH"),"/home/bs/pd/scripts",sep=":"))
> system("SalesRank")
Sun Dec 12 00:10:55 CET 2004
29605


-- 
   O__  ---- Peter Dalgaard             Blegdamsvej 3  
  c/ /'_ --- Dept. of Biostatistics     2200 Cph. N   
 (*) \(*) -- University of Copenhagen   Denmark      Ph: (+45) 35327918
~~~~~~~~~~ - ([EMAIL PROTECTED])             FAX: (+45) 35327907

______________________________________________
[EMAIL PROTECTED] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Reply via email to