att / rcloud

Collaborative data analysis and visualization
http://rcloud.social
MIT License
429 stars 141 forks source link

Unimplemented 23 #8

Closed gordonwoodhull closed 11 years ago

gordonwoodhull commented 11 years ago

RCloud can't recover from syntax errors. I'd like to fix this myself, unless there's some reason why this is more difficult than it seems?

s-u commented 11 years ago

Can you be more specific? Both syntax errors and run-time errors work just fine:

asdf
## Error: object 'asdf' not found
x(
Error in process_file(text, output) : Quitting from lines 1-2: () Error in parse(text = string, srcfile = src) : :2:0: unexpected end of input 1: x( ^
1
## [1] 1
gordonwoodhull commented 11 years ago

Hmm, if you guys aren't seeing this, then there is probably something wrong with my configuration - I get "Unimplemented 23" in a red box and then the page shuts down and has to be reloaded. Yes, things like mismatched parens.

Could this point to a version mismatch or something?

Glad to hear this isn't a real bug as it makes debugging EDSLs rather difficult!

gordonwoodhull commented 11 years ago

The cause of this turned out to be that I had a later version of knitr. Carlos fixed it.