[R-SIG-Mac] Warning in script

Ivan Calandra ivan.calandra at uni-hamburg.de
Mon Dec 19 17:30:11 CET 2011


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.

Thank you in advance for your help,
Ivan

-- 
Ivan CALANDRA
Université de Bourgogne
UMR CNRS 5561 Biogéosciences
6 Boulevard Gabriel
21000 Dijon, FRANCE
ivan.calandra at uni-hamburg.de



More information about the R-SIG-Mac mailing list