[R] Read text file

Olivier Crouzet olivier.crouzet at univ-nantes.fr
Thu Jun 18 07:28:03 CEST 2015


Hi, 

I think that you need scan() but you should at least give us an example of your text data.

Olivier.

--
Olivier Crouzet
LLING - Laboratoire de Linguistique de Nantes - EA3827
Université de Nantes

-----Original Message-----
From: Steven Yen <syen04 at gmail.com>
Sender: "R-help" <r-help-bounces at r-project.org>Date: Thu, 18 Jun 2015 01:10:39 
To: r-help<r-help at r-project.org>
Reply-To: syen04 at gmail.com
Subject: [R] Read text file

How do I read a block of space-delimited numbers into a column vector 
using the read.table command? Thank you.

-- 
Steven Yen

______________________________________________
R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


More information about the R-help mailing list