Read a first ligne
1
0
Entering edit mode
@mohamed-lajnef-3515
Last seen 9.7 years ago
Dear all, I will open the first line without opening the entire file because my file is large? thanks ML -- Mohamed Lajnef INSERM Unit? 955. 40 rue de Mesly. 94000 Cr?teil. Courriel : Mohamed.lajnef at inserm.fr tel. : 01 49 81 31 31 (poste 18470) Sec : 01 49 81 32 90 fax : 01 49 81 30 99
• 755 views
ADD COMMENT
0
Entering edit mode
@john-seers-ifr-1605
Last seen 9.7 years ago
Hi Mohamed Have a look at ?readLines. Perhaps that is what you want? For example this will read 1 line from your file: myoneline<-readLines("mydata.txt", n=1) Regards John -----Original Message----- From: bioconductor-bounces@stat.math.ethz.ch [mailto:bioconductor- bounces@stat.math.ethz.ch] On Behalf Of Mohamed Lajnef Sent: 19 June 2009 09:51 To: bioconductor at stat.math.ethz.ch Subject: [BioC] Read a first ligne Dear all, I will open the first line without opening the entire file because my file is large? thanks ML -- Mohamed Lajnef INSERM Unit? 955. 40 rue de Mesly. 94000 Cr?teil. Courriel : Mohamed.lajnef at inserm.fr tel. : 01 49 81 31 31 (poste 18470) Sec : 01 49 81 32 90 fax : 01 49 81 30 99 _______________________________________________ Bioconductor mailing list Bioconductor at stat.math.ethz.ch https://stat.ethz.ch/mailman/listinfo/bioconductor Search the archives: http://news.gmane.org/gmane.science.biology.informatics.conductor
ADD COMMENT

Login before adding your answer.

Traffic: 546 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6