[R] (no subject)

Wolski wolski at molgen.mpg.de
Tue Jun 8 10:43:12 CEST 2004


The message means that R does not find the file. 

Under windows (if you are using windows) you must escape the backslash with a backslash \.
or give us an example how you provide the path to the file.

Or use:




both functions will return the proper path to the file.



*********** REPLY SEPARATOR  ***********

On 6/8/2004 at 10:25 AM PJARES at clinic.ub.es wrote:

>>>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 
>>> <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)
>>>Any advice? which comman I should you use to import a text file (Excell,
>>>text tab-delimeted file) into R.
>>>Thank you very much for your help.
>>>Best wishes,
>>>Pedro Jares, Ph.D.
>>>Genomics Unit, IDIBAPS
>>>Barcelona University
>>>C/ Villarroel 170, 
>>>08036 .Barcelona, Spain
>>>Telf. 93 2275400,
>>>Ext 2184 o 2129
>>>Fax 93 2275717
>>>R-help at stat.math.ethz.ch mailing list
>>>PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Dipl. bio-chem. Eryk Witold Wolski    @    MPI-Moleculare Genetic   
Ihnestrasse 63-73 14195 Berlin       'v'    
tel: 0049-30-83875219               /   \    
mail: wolski at molgen.mpg.de        ---W-W----    http://www.molgen.mpg.de/~wolski

More information about the R-help mailing list