Skip to content
Back to formatted view

Raw Message

Message-ID: <AB4D83FB-4CE8-48F7-B24C-6D16976FB3AB@xs4all.nl>
Date: 2011-12-19T16:40:32Z
From: Berend Hasselman
Subject: Warning in script
In-Reply-To: <20111219173011.11545j1zeyuf5vo3@webmail.rrz.uni-hamburg.de>

On 19-12-2011, at 17:30, Ivan Calandra wrote:

> Dear R-Mac users,
> 
> I have a script (http://dl.dropbox.com/u/25185399/Rfunctions_Calandra.R) containing functions that I source() when I want to use them.
> 
> When I source() it on MacOS 10.6, I get this warning:
> In readLines(file) :
>  ligne finale incompl?te trouv?e dans '/.../Rallfun-v1_Calandra.R'
> Translation: incomplete final line found in '...'
> 
> sessionInfo()
> R version 2.14.0 (2011-10-31)
> Platform: i386-apple-darwin9.8.0/i386 (32-bit)
> locale:
> [1] fr_FR.UTF-8/fr_FR.UTF-8/fr_FR.UTF-8/C/fr_FR.UTF-8/fr_FR.UTF-8
> attached base packages:
> [1] stats     graphics  grDevices utils     datasets  methods   base
> 
> As you can see, the last line is ####
> If I delete this line, I still get the same warning, which makes me think that this has nothing to do with what I typed, but with some encoding stuff. I have to say that I created this script on Windows XP (with the R editor), and I never got this problem on Windows (at least up to R2.13.1).
> 
> Since it's a warning, it works fine, but I would like to fix this problem because it is a bit annoying to always get this warning.


See  http://r.789695.n4.nabble.com/incomplete-final-line-found-warning-td4181838.html

Berend