[R] problem on reading many files

David Winsemius dwinsemius at comcast.net
Fri Jul 5 17:33:54 CEST 2013


On Jul 5, 2013, at 1:04 AM, Pascal Oettli wrote:

> Hello,
> 
> I'm not sure whether it is dur to the HTML version or not, but there is a
> problem with quotation marks in your first line.

I'm guessing the OP was using Word as an editor, a practice that is doomed to frustration.

-- 
David.
> 
> Regards,
> Pascal
> 
> 
> 2013/7/5 RODRIGUEZ MORENO VICTOR MANUEL <rodriguez.victor at inifap.gob.mx>
> 
>> Hi, I have to run almost 120 stations files of temperatura (mx and min),
>> separated, and rain. I am following the instructions on RHtests tutorial as
>> on http://www.cmc.org.ve/mediawiki/index.php?title=Preparando_los_datoslink. Bit I have no success on running on multiple files. I have the .ls
>> file which include the names of the file station, which I include on this
>> msg for your consideration.
>> The instruction that I wrote on the console is
>> 
>> listatmn <- readLines („tmaxcopia.ls‰, warn=false)
>> for(ifile in listatmn)
>> FindU(paste("./",ifile,sep=""),paste("salidas/",ifile,sep=""),"-999.9")
>> 
>> 
>> 
>> 
>> 
>> Of course the tmaxcopia.ls is the list of stations for tmax data. But
>> once running on the console, this is the error msg I got
>> 
>>> listatmn <- readLines (Œtmaxcopia.ls‚, warn=false)
>> Error: inesperado entrada in "listatmn <- readLines (Œ"
>>> for(ifile in listatmn)
>> FindU(paste("./",ifile,sep=""),paste("salidas/",ifile,sep=""),"-999.9")
>>> Error: objeto 'ifnames' no encontrado
>> 
>> What I'd like to do is to make easier and fast running the RHtest
>> 
>> Thank's a lot in advance for your help.
>> 
>> 
>> 
>> 
>> Dr Victor M Rodríguez M
>> Doctor en Ciencias, en Ciencias de la Tierra / Geociencias Ambientales
>> INIFAP. CEPAB. (465) 9580167 y 86 Ext 108 y 220
>> 
>> 
>> /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
>> Este msg y su(s) atado(s) tiene carácter de "CONFIDENCIAL" y solo es para
>> los fines descritos en su contenido. Queda expresamente prohibida bajo la
>> ley de protección de datos del Gobierno de los Estados Unidos Mexicanos y
>> para su difusion o extensión a terceros, se requiere del consentimiento
>> expresso del titular de la cuenta de correo electrónico y/o del
>> administrador del sitio en extenso de sus responsabilidades .
>> 
>> /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
>> 
>>        [[alternative HTML version deleted]]
>> 
>> 
>> ______________________________________________
>> R-help at r-project.org 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.
>> 
>> 
> 
> 	[[alternative HTML version deleted]]
> 
> ______________________________________________
> R-help at r-project.org 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.

David Winsemius
Alameda, CA, USA



More information about the R-help mailing list