[R] (no subject)

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


Hi!

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:

file.choose()

or.

library(tkWidgets)
fileBrowser()


both functions will return the proper path to the file.

Sincerely 

Eryk




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

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

>>>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)
>>>
>>>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
>>>
>>>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
>>>https://www.stat.math.ethz.ch/mailman/listinfo/r-help
>>>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