SCM

[#460] Error with no newline character on last line of file

Date:
2009-06-18 18:16
Priority:
3
State:
Open
Submitted by:
Cameron Bracken (cameronbracken)
Assigned to:
Nobody (None)
Hardware:
Macintosh
Product:
None
Operating System:
MacOS X
Component:
None
Version:
None
Severity:
minor
Resolution:
None
URL:
Summary:
Error with no newline character on last line of file

Detailed description
If the code file has no newline character at the end of the last line an error like the following is generated:

Error in parser(file, encoding = encoding) :

wave.R:13:57
unexpected end of input

Comments:

Message  ↓
Date: 2009-06-19 13:55
Sender: Cameron Bracken

Here Is the file.

Date: 2009-06-19 07:53
Sender: Romain Francois

Hello,

I am not able to reproduce this error, can you send me the wave.R file and what you called.

Romain

Attached Files:

Attachments:
Size Name Date By Download
676 byteswave.R2009-06-19 13:55cameronbrackenwave.R

Changes

Field Old Value Date By
File Added13: wave.R2009-06-19 13:55cameronbracken
Thanks to:
Vienna University of Economics and Business Powered By FusionForge