Skip to content

read data into R with some constraints

5 messages · Jonathan Baron, Alexandre Fayolle, Clive Jenkins +1 more

#
Perhaps someone knows how to do this with R, but, if
I had to do it right now, I would pre-process with grep
before reading into R:

grep -v "-" myddata > myshorterdata

The "grep" tool is available on Unix and Linux.  If you have
Windows, it would be useful to get the "unix tools for windows",
which, unfornuately, I have just been unable to find after 10
minutes of searching www.gnu.org.

Jonathan Baron, Professor of Psychology, University of Pennsylvania
Home page: http://www.sas.upenn.edu/~jbaron
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
#
On Thu, 11 Jan 2001, Jonathan Baron wrote:

            
http://www.stats.ox.ac.uk/pub/Rtools

would be a good start.
#
On Thu, 11 Jan 2001, Jonathan Baron wrote:
You may want to try http://sources.redhat.com/cygwin/

Alexandre Fayolle
#
Thu, 11 Jan 2001 14:51:16 -0500 (EST) Jonathan Baron wrote:
I recommend the DJGPP (DOS/DPMI) ports of the Gnu tools available at
http://www.delorie.com/
They are absolute magic for anybody who is frustrated by Windows and has
not yet moved to Gnu/Linux. I find "gawk" (or "awk") especially useful.

Clive Jenkins 

--->8
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
#
On Fri, 12 Jan 2001, Clive Jenkins wrote:

            
Can I emphatically *not* recommend those, but the genuine Windows ones at
http://www.cygwin.com instead?  Particularly if you have NT/2000 and NTFS
file systems.  The DJGPP tools have frustrating limitations (e.g. on line
lengths) even for Win95 users.  And DJ Delorie works for Cygwin anyway.

As I posted earlier, a subset of the Cygwin tools and some others
have been collected for building R, at

http://www.stats.ox.ac.uk/pub/Rtools

We keep these up to date, but not in the (common) cases where the latest
versions are broken.  What is there will have built R in the last few days.

There quite a few other Unix-alike tool sets around, but none that
I have found anything like as good.