Displaying 1 result from an estimated 1 matches for "wantthis".
Did you mean:
anythis
2000 Oct 12
2
getting a windows environment variable in r
...2000. if I try in a dos window:
set dog=cow
echo %dog%
i get cow (what I want)
then i start rterm
system("echo %dog%",intern=T)
gives "%dog%"
I can of course do something like
set dog=cow
echo %dog% >jnk.rin
and then start rterm and
jnk<-read.table("jnk.rin")
wantthis<-as.character(V1[1])
wantthis now has what I want
Are there simpler methods?
thanx
Bob Sandefur
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help"...