[RkWard-devel] [rkward - Help] RE: Problems producing postscript files
SourceForge.net
noreply at sourceforge.net
Wed Feb 14 15:23:47 UTC 2007
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=4157772
By: tfry
> I am not really sure if this is a difference or the same as many of the variables
in plain R are also set to de_DE.ISO-8859-1.
It is a difference, indeed. LC_NUMERIC must always be set to "C", or R (and
RKWard) will not function properly (see below). I.e. the output or Sys.getlocale
() inside RKWard should look like the one you get inside R.
> Also starting R as well as RKWard with the given environment variables set
as mentioned won't change the output of Sys.getlocale().
Could you try these two additional ways of starting RKWard?
# LC_ALL=C rkward
# LC_NUMERIC=C rkward
Do the problems go away in this case? What is the output of Sys.getlocale ()
when starting rkward like this?
> I also recognized that RKWard is unable to understand decimal numbers like
0.5.
We encountered (and fixed) that problem a while back (before 0.3.5):
https://sourceforge.net/mailarchive/forum.php?thread_id=10067620&forum_id=12970
and https://sourceforge.net/mailarchive/forum.php?thread_id=10082507&forum_id=12970
. The problem is a bad setting for LC_NUMERIC, which should be set to "C".
Normally R (and hence RKWard) will explicitely set it to "C" on startup. Apparently
this setting then got overwritten by some means, probably by the SCIM plugin.
To get around this, we set the environment variable LC_NUMERIC in the launch
script for RKWard, which fixed the problem.
Are you sure you are starting RKWard using the launch script (usually, this
should be the case with any recent version of RKWard, and if you do not do anything
special)? Are you sure, you are really using a post 0.3.5 version of RKWard,
and not some earlier version which might still be installed on your system (check
Help->About RKWard)?
If the answer to both questions is "yes", then probably SCIM now uses a yet
more hideous method to force a bad LC_NUMERIC setting, and we need to find another
workaround. In both cases, please write back, so we can be sure to take care
of this issue.
Thanks!
______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=165574
More information about the Rkward-devel
mailing list