Displaying 20 results from an estimated 2000 matches similar to: "Changing locale?"
2012 Jan 30
1
zip() containing windows specific code?
Dear R devel list
I was wondering whether zip() contains a windows specific call to
system(), as the argument "invisible" seems to be windows specific, yet
is used anytime by zip:
invisible(system2(zip, args, invisible = TRUE))
Indeed, calling zip() on Linux results in a warning message:
> file.create("try")
[1] TRUE
> zip("try.zip", "try")
2010 May 11
1
R 2.11 on Ubuntu 9.10 does not complain abt unexisting objects
Hi
I recently updated to R 2.11 and see a strange problem. When run into
the console, R does not warn when calling an unexisting object, see
below. I don't know if this is related, but I am not able to run the R
CMD BATCH properly... Did someone see a similar problem? Which
information can I provide more on this problem?
Thanks for help!
Matthieu
$R
R version 2.11.0 (2010-04-22)
2006 Jan 11
8
GetText: Works with en_GB and en_US, but doesn''t with de_DE!
Hi all
I''m trying to get GetText to work. I have the following folder
structure:
|-myapp.pot
|-de_DE/:
| `-myapp.po
|-en_GB/:
| `-myapp.po
|-en_US/:
` `-myapp.po
I run rake updatepo, and then rake makemo.
Now I set en-gb as default language in Firefox and run my app >> works!
Then I set en-us as default language in Firefox and run my app >> works,
2011 Jun 05
1
another missing link in febootstrap; failing tests for libguestfs
After the last round of patches to febootstrap, the image-based test in
libguestfs still failed. It turned out that this happens because Debian
started replacing /var/run and /var/lock with symlinks that point to a
tmpfs mounted to /run. The symlinks were copied to the appliance but
/run/lock did not exist, so pvcreate refused to run (script
'images/guest-aux/make-debian-img.sh').
After I
2017 Aug 21
3
Control multi-threading in standard matrix product
Dear R Core Team,
I wish to report what can be viewed as a bug or at least a strange
behavior in R-3.4.1. I ask my question here (as recommended on
https://www.r-project.org/bugs.html) since I am not member of the R's
Bugzilla.
When running 'R --vanilla' from the command line, the standard matrix
product is by default based on BLAS and multi-threaded on all cores
available on
2017 Aug 21
2
Control multi-threading in standard matrix product
Hi Tomas,
Thanks for your answer.
Indeed, I checked and my R-3.4.1 installed from the ubuntu repository
use 'libopenblasp-r0.2.18.so' while my R-3.3.2 that I did compiled on my
machine use 'libRblas.so' which explain the difference of behavior.
I will use RhpcBLASctl to avoid issue when combining matrix product and
other multi-threading package.
Maybe this point regarding
2014 Feb 24
3
Error gdata and gplots packages
Hi, I just installed Ubuntu 12.04.4. I installed R by following
instructions from CRAN after modification into my /etc/apt/sources.list file
sudo apt-get update
sudo apt-get install r-base
sudo apt-get install r-base-dev
When I try to load library(gdata) ou library(gplots), I have error
message :
library(gdata)
gdata: read.xls support for 'XLS' (Excel 97-2004) files
2020 Feb 19
3
dimnames incoherence?
Hi,
I was bitten by a little incoherence in dimnames assignment or may be I
missed some point.
Here is the case. If I assign row names via dimnames(a)[[1]], when
nrow(a)=1 then an error is thrown. But if I do the same when nrow(a) > 1
it's OK. Is one of this case works unexpectedly? Both? Neither?
a=as.matrix(1)
dimnames(a)[[1]]="a" # error: 'dimnames' must be a list
2007 Nov 07
1
strwidth and strheight for rotated text
Dear All,
I would like to plot text with a box around it. I used strwidth and
strheight to compute the size of the box which is plotted with rect:
z <- rnorm(10)
# horizontal text works
plot(rnorm(10))
x1 <- 5
y1 <- 0
label <- "Label"
cha <- paste(" ", label, " ", sep = "")
xh <- strwidth(cha, cex = par("cex"))
yh <-
2011 Jan 27
1
possible bug in packageVersion()?
Hi,
I received a bug report from a French user who told me there was
something wrong with the function packageVersion(), but
packageDescription() worked well. Below is the session info; I'm not
sure if other French users can reproduce the error message:
> packageVersion('base')
Erreur : sp?cification de version incorrecte base
> sessionInfo()
R version 2.12.1 (2010-12-16)
2011 May 14
1
odfWeave 0.7.17 stutters on Debian testing 64-bit amd64 systems.
Dear list,
This is a copy of a mail sent to Max Kuhn, original author and
maintainer of the odfWeave package, which seems not to have received it.
It reports a problem that seems to be very implementation specific
(reproductible on three Debian testing amd64 machine, does *not* happen
on two i686 Debian testing systems, does *not* happen on an Ubuntu 11.06
amd64 machine) and therefore not
2010 Oct 19
1
[R 2.12] install.packages() with no lib argument does not work
Dear R users,
I have just upgraded R from 2.11 to 2.12 on Ubuntu 9.04 (see more informations
at the end) from the cran apt-get repository. One of the new things concerning
the install.packages() function is stated here :
install.packages() and remove.packages() with lib unspecified and multiple
libraries in .libPaths() inform the user of the library location used with
a message
2015 Sep 17
1
names treatment in optim()
Dear both,
I have found that names are not treated in the same way in optim() depending on the optimization method (argument method).
The example below shows the difference between the Brent method and the L-BFGS-B method.
f <- function(x){ y <- x^2;names(y) <-"f(x)";y}
optim(10, f, method="Brent", lower=-1, upper=10)$value
optim(10, f, method="L-BFGS-B",
2008 Oct 31
1
Problems with Sweave and pdf.options(encoding="ISOLatin7") (PR#13234)
Hi,
Sweave for some reason does not respect encoding setting in pdf.options.
Everything is OK with ps.options. Thus when using non-default encoding
for graphs, resulting graphics eps file is correct, but pdf file is
not. Workaround is very simple, just use latex->dvips->ps2pdf chain to
get the intended pdf document. I tried to find the explanation for this,
but I did not find anything. If
2010 Aug 21
2
Rails 3: I18n.locale not set to I18n.default_locale in production
I have an application that uses I18n, but in the first deployment, I
don''t want to enable different languages per user/request because
there are very few users who all speak german).
Therefore I have config.i18n.default_locale = :de in config/
application.rb.
I have no code whatsoever to set/change I18n.locale in my app.
In development environment, it works as expected: the
2015 Feb 05
3
Rcurl crash in R-devel
Hello,
I don't know if the problem originates from R-devel 3.2 or Rcurl itself.
I post this message to the R-devel list and to the author of RCurl
(duncan at r-project.org).
> library("RCurl")
Le chargement a n?cessit? le package : bitops
> print(sessionInfo())
R Under development (unstable) (2015-02-03 r67717)
Platform: x86_64-apple-darwin13.4.0 (64-bit)
Running under:
2008 Aug 12
2
Possible buglet (wart ?) of odfWeave 0.7.6 (with workaround)
Dear List,
I have had problems inserting some (not all !) figures via odfWeave
(using print(someLatticeFunction)...). The figure was correctly
displayed in a R device window but the resulting ODF document displayed
the correct space for the figure and an empty frame with a "broken
image" icon and a "read error" mention.
Exploration of the odf (.odt, in my case) file showed
2006 May 15
2
Setting a different LANG variable for a single GTK application?
Hi,
I just installed GtkCDLabel, a nifty little app to create CD covers in a matter
of minutes, if not seconds, and which I've been using on a daily basis on
Slackware (previous system).
I've encountered some encoding issues. Whenever my CD text contains french
special characters like ?, ?, ? and ?, the resulting .ps file displays martian
characters instead.
'printenv' shows me
2018 Feb 24
2
Set LANG on CentOS 6 server
Hi,
I'm having a weird problem on a CentOS 6 server. I installed the machine
in french, so I have LANG=fr_FR.UTF8 defined.
I'd like to define en_US.UTF8, because some output is better readable in
english, like chkconfig --list.
I replaced fr_FR.UTF8 in /etc/sysconfig/i18n and /boot/grub/grub.conf.
Unfortunately, when I reboot the system, I still get this:
# echo $LANG
fr_FR.UTF-8
Any
2020 Feb 19
2
dimnames incoherence?
>>>>> Martin Maechler
>>>>> on Wed, 19 Feb 2020 18:06:57 +0100 writes:
>>>>> Serguei Sokol
>>>>> on Wed, 19 Feb 2020 15:21:21 +0100 writes:
>> Hi,
>> I was bitten by a little incoherence in dimnames assignment or may be I
>> missed some point.
>> Here is the case. If I assign row names