[Bug 426360] Re: r-base stopped outputting error messages
spaetz
sebastian at sspaeth.de
Wed Sep 9 09:49:19 UTC 2009
Doh, I found the issue:
in /etc/Rprofile.site you first save options in variable ow, turn off
error messages and then check for Revolution-R stuff. Later you restore
the old options by reapplying the "ow" options again. However "ow" only
contains the "warn" option but you also modify "show.error.messages"
ow <- options("warn")
options("warn"=-1,show.error.messages=FALSE)
[...]
options(ow)
I solved the issue by also saving option "show.error.message", that is by applying:
-ow <- options("warn")
+ow <- options("warn","show.error.message")
to /etc/Rprofile.site
** Summary changed:
- r-base stopped outputting error messages
+ [PATCH] r-base suppresses ALL error messages forever
** Description changed:
Binary package hint: r-base
During the last 3 weeks karmic's r-base installation freaked up. I don't
get any error messages anymore, it seems stderr (which is usually output
to the console) is redirected somewhere weird. I don't have any personal
customization configuration. This is quite annoying as debugging is
impossible. It used to work like a charme in earlier versions.
Reproduce: start "R" and type something nonsensical e.g. "sdfkjsdfjk".
- In older versions you get error messages, but not on the console anymore. It works if called from the cli. e.g.
+ In older versions you get error messages, but not on the console anymore.
-
- The problem must be in one of the package supplied config files. If I start R without any site and other init files with
+ The problem must be in one of the package supplied config files. If I
+ start R without any site and other init files with
"R --vanilla" I get proper error messages back
R version 2.9.2 (2009-08-24)
...
> hhh
Error: object 'hhh' not found
** Tags added: patch
--
[PATCH] r-base suppresses ALL error messages forever
https://bugs.launchpad.net/bugs/426360
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
More information about the universe-bugs
mailing list