Displaying 2 results from an estimated 2 matches for "infile2".
Did you mean:
infile
2009 Sep 23
1
set choose.files directory?
Hi,
I've been trying to set the directory for choose.files as follows:
[R2.9.0 running on XP]
setwd("C:/Documents and Settings/2/Data")
getwd()
infile2 = choose.files(filters = Filters[c("txt","All"),], caption =
"Choose ECD datafile")
#<...do a bunch of stuff...>
It appears the working directory isn't updated until after choose.files()
executes. getwd() returns the correct path, as set by setwd(), but th...
2005 Jan 01
2
New Year Wish List
...ontributed to R over the
past year. As with last year, for New Year I would like to
list the top 10 features I would like to see in R. The first
three are the most important.
1. Scripting
With this feature it would be possible to call R like
this as a filter:
R -f myprog.R infile1.txt infile2.txt > outfile.txt
or
prog1 | R -f myprog.R | prog2
making it convenient to replace many instances of
awk/perl/batch with R. This could also be used by R itself
to eliminate dependence on perl and UNIX tools in the
package building scripts. There are workarounds already but...