[R] Reading in Files (was: no subject)

Ko-Kang Kevin Wang k.wang at auckland.ac.nz
Tue Jun 8 10:32:56 CEST 2004


Please use a more appropriate subject!

----- Original Message ----- 
From: <PJARES at clinic.ub.es>
To: <R-help at stat.math.ethz.ch>
Sent: Tuesday, June 08, 2004 8:25 PM
Subject: [R] (no subject)


> Hi!!
> I am a new user of R (just trying to analysis microarrays with some
packages from the bioconductor project).
> I would like to import a text-delimeted file containing 20 columns and
22200 rows.
>
> I have tried
> read.table;
> scan(file="")
>  <matrix(scan("file", n=20*200,20,200, byrow=TRUE));
> Doesn't matter what I try I got the next message:
> error in file (file "r"): unable to open connection
> in addition warning message
> cannot open file "MAS5orig" (this is the name of the file I am trying to
import in R)

It's a syntax error, I think.  Why do you have a "<" before matrix()
command?

Also, which operating system are you running?  Are you sure your working
directory is correct?

Cheers,

Kevin




More information about the R-help mailing list