[ESS] annoying warning from C-c C-c when cursor on function

Vitalie Spinu spinuvit at gmail.com
Sun Aug 11 16:01:05 CEST 2013


Hi, 

Sorry for late response. I cannot reproduce this with 15.2 nor
R-devel. What version do you use?

   Vitalie

 >> Frede Aakmann Tøgersen <frtog at vestas.com>
 >> on Thu, 18 Jul 2013 08:59:15 +0200 wrote:

 > 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 at 2'

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

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

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

 >> source('/tmp/639559.1.desktop.q/script.R at 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 Tgersen
 > Specialist, M.Sc., Ph.D.
 > Modeling/Software
 > Service Engineering

 > Technology & Service Solutions
 > T +45 9730 5135
 > M +45 2547 6050
 > frtog at vestas.com<mailto:frtog at 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]]


 > ______________________________________________
 > ESS-help at r-project.org mailing list
 > https://stat.ethz.ch/mailman/listinfo/ess-help



More information about the ESS-help mailing list