Here is a little example that shows the problem.
FIrst set sage to R model
In one cell write
myfunc2<-function(x){
 print(x)
 if (x>1){
     print('x larger than 1')
}

when I execute the cell I don't get any errors (I'm missing a bracket)

if I try to use myfunc2 then I get and error saying that it does not 
exists.  However if myfunc2 existed before without erros then the old 
version gets executed. It just ignores the fact that there is an error in 
the function.


thanks for your time
F


On Friday, February 21, 2014 11:18:59 AM UTC-5, Fred Gruber wrote:
>
> Hi
> I have noticed that when I'm in R mode and when define R functions 
> sometimes sage doesn't display errors if there are any. It just doesn't 
> define the function.
>
> Has anyone else noticed this? Is there anything I can do to get sage to 
> display the errors. It is hard to debug code when sage doesn't tell you 
> where is the problem.
>
> thanks
> F
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to