[R] how to read just a column

jim holtman jholtman at gmail.com
Thu Aug 31 02:27:10 CEST 2006


you can read them all in and delete the ones you don't want.  Or check
out 'what' on 'scan' or colClasses on 'read.table'

On 8/30/06, Carlo Trimarchi <mr.spoon21 at gmail.com> wrote:
> Hi,
> how can I read, using for example read.table() or scan(), just one
> column from a text file that has more columns without any header?
>
> Thanks, bye.
>
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> 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.
>


-- 
Jim Holtman
Cincinnati, OH
+1 513 646 9390

What is the problem you are trying to solve?



More information about the R-help mailing list