Hi

Just upgraded to latest version of ESS (revision 5693) from subversion repository both on my Windows and linux box.

Doing C-c C-c on e.g.

foo <- function(x) return(x)

gives no warning in Windows.

However on my linux box this happens:

> foo <- function(x) return(x)
Warning message:
In readLines(file) :
  incomplete final line found on '/tmp/639559.1.desktop.q/script.R@2'

Now trying to source the temporary R file gives same warning:

> source('/tmp/639559.1.desktop.q/script.R@2')
Warning message:
In readLines(file) :
  incomplete final line found on '/tmp/639559.1.desktop.q/script.R@2'

However if I add an empty newline to the temporary file script.R@2 no warnings:

> source('/tmp/639559.1.desktop.q/script.R@2')
>

Had a look at the code for ess-eval-function but nothing suggests that evaluation of the R code is via files.

So what is happening or what am I missing?

Cannot tell the different behavior between the two platforms since I cannot find any temporary files in Windows


Yours sincerely / Med venlig hilsen


Frede Aakmann Tøgersen
Specialist, M.Sc., Ph.D.
Modeling/Software
Service Engineering

Technology & Service Solutions
T +45 9730 5135
M +45 2547 6050
frtog@vestas.com<mailto:frtog@vestas.com>
http://www.vestas.com<http://www.vestas.com/>

Company reg. name: Vestas Wind Systems A/S
This e-mail is subject to our e-mail disclaimer statement.
Please refer to www.vestas.com/legal/notice<http://www.vestas.com/legal/notice>
If you have received this e-mail in error please contact the sender.


	[[alternative HTML version deleted]]

