[R] Keep R-mirror updated

Ronaldo Reis-Jr. chrysopa at gmail.com
Mon May 2 13:28:13 CEST 2005


Hi,

I have a R mirror on www.termix.ufv.br/CRAN

I try to keep it updated using rsync and cron.

rsync -rzuav --progress --delete 
cran.r-project.org::CRAN /var/www/termix/mirrors/linux/CRAN/ &

But all times the rsync abort with error:

95.99kB/s    0:00:02      548960  77%  110.50kB/s    0:00:01rsync: read error: 
Connection reset by peer (104)
rsync error: error in rsync protocol data stream (code 12) at io.c(515)
rsync: connection unexpectedly closed (391811 bytes received so far) 
[generator]
rsync error: error in rsync protocol data stream (code 12) at io.c(359)

And it dont made my mirror updated.

Exist any method more efficient to made it updated?

Thanks
Ronaldo
-- 
O cachorro abana o rabo porque o rabo, enquanto segmento discriminado do
corpo da sociedade, ainda não conquistou o direito de abanar o cachorro 
--
|>   // | \\   [***********************************]
|   ( õ   õ )  [Ronaldo Reis Júnior                ]
|>      V      [UFV/DBA-Entomologia                ]
|    /     \   [36571-000 Viçosa - MG              ]
|>  /(.''`.)\  [Fone: 31-3899-4007                 ]
|  /(: :'  :)\ [chrysopa at insecta.ufv.br            ]
|>/ (`. `'` ) \[ICQ#: 5692561 | LinuxUser#: 205366 ]
|    ( `-  )   [***********************************]
|>>  _/   \_Powered by GNU/Debian Woody/Sarge




More information about the R-help mailing list