Displaying 20 results from an estimated 6000 matches similar to: "sessionInfo() fails to correctly detect locale settings"
2009 Aug 26
2
faulty formatting of toLatex(sessionInfo())
Dear all
I am writing an Sweave document and have encountered formatting issues
with the "locale" part of toLatex(sessionInfo()). The fact that there
is no spaces between the various "locale" variables means that LaTeX
cannot easily find an appropriate place to break the lines, and some
will get printed off screen.
Below is the text output, and this .pdf document [1] shows the
2009 Oct 02
1
trouble with html() in Hmisc
Dear all
On my system html() conversion of a `latex()' object fails. Follows a
dummy example:
> require(Hmisc)
> data(Angell)
> .object <- cor(Angell[,1:2], use="complete.obs")
> tmp <- latex(.object, cdec=c(2,2), title="")
> class(tmp)
[1] "latex"
> html(tmp)
/tmp/RtmprfPwzw/file7e72f7a7.tex:9: Warning: Command not found: \tabularnewline
2009 Dec 21
2
checking Rd cross-references ... WARNING
Dear all
I am getting this strange error when checking my package. Would you
have an idea what causes it?
Thank you
Liviu
* checking Rd cross-references ... WARNING
Error in .find.package(package, lib.loc) :
there is no package called 'KernSmooth'
Calls: <Anonymous> -> lapply -> FUN -> .find.package
Execution halted
> sessionInfo ()
R version 2.10.0 (2009-10-26)
2009 Dec 07
1
options(width=100) ignored on start-up: bug or feature?
Dear developers
I've tried this a couple of days ago on r-help, unfortunately with no
feedback. Could you please take a look and confirm whether it's a bug,
feature, or bad eye-sight when reading Help:
Is it normal that R ignores options("width"=100) at start-up? Although
liviu at debian-liv:~$ cat /usr/lib/R/etc/Rprofile.site | grep width
options(width = 100)
, R will
2009 Nov 19
0
strange crashes caused by 'cairoDevice' and 'tcltk' dialogues
Dear developers
I get some strange crashes when 'cairoDevice' and 'tcltk' are both
loaded in the same R vanilla session.
When executing the following in that order
require(relimp)
require(cairoDevice)
showData (iris)
I get a crash with the following message (see R-relimp-cairoDevice.txt):
The program 'R' received an X Window System error.
This probably reflects a bug in
2009 Dec 13
1
debug an error that incapacitates R?
Dear all
How should I attempt debugging this error?
> sosInit()
Error: invalid connection
When this happens R refuses to run anything:
> 2+2
Error: invalid connection
> sessionInfo ()
Error in stdout() : invalid connection
Debugging it seems impossible.
> options(error=recover)
> sosInit()
Error: invalid connection
Error during wrapup: invalid connection
The error also
2010 Feb 04
1
plm issues: error for "within" or "random", but not for "pooling"
Dear all
I am working on unbalanced panel data and I can readily fit a
"pooling" model using plm(), but not a "within" or "random" model.
Reproducing the examples in vignette("plm") and in the AER package I
encountered no such issues.
##unfortunately I cannot disclose the data, and it is too big anyway
> dim(ibes.kld.exp.p[x.subs , ])
[1] 13189 34
2009 Aug 04
2
100% CPU when running (cran2deb) JGR on Debian
Dear all,
I installed the amd64 cran2deb [1] JGR binaries on a fresh Debian
testing, and JGR is missbehaving. When JGR starts up, one core of the
CPU goes to 100% and stays there, even though I am keeping it idle and
not performing any operation.
I tried JGR with both sun-java6-jdk and openjdk-6-jdk,
debian-liv:/home/liviu# update-alternatives --config java
There are 4 choices for the alternative
2009 Nov 09
1
trouble loading JGR on Debian
Dear developers
I am unable to (properly) load JGR on Debian testing. The JGR window
will pop out and R will start up, but it will not perform any of the
JGR specific library() calls (rJava, JavaGD, etc.) and will stuck at
100% CPU while the prompt will be non-responsive. The hack that helped
previously in such cases, accessing Help > About [1], works no more.
All R packages are installed via
2010 Feb 25
2
error using pvcm() on unbalanced panel data
Dear all
I am trying to fit Variable Coefficients Models on Unbalanced Panel
Data. I managed to fit such models on balanced panel data (the example
from the "plm" vignette), but I failed to do so on my real, unbalanced
panel data.
I can reproduce the error on a modified example from the vignette:
> require(plm)
> data("Hedonic")
> Hed <- pvcm(mv ~ crim + zn + indus
2010 Jan 18
0
ggobi and plug-ins issues
Dear all
I have issues with loading ggobi plug-ins in my Debian testing. In a R
--vanilla session I get a lot of error messages about being unable to
load the plug-ins (see at the end).
I understand that this issue has been previously addressed [1][2], and
the solution implemented in Debian:
liviu at debian-liv:~$ locate /usr/lib/ggobi/plugins
/usr/lib/ggobi/plugins
2010 Jan 16
0
'tcltk' crashes related to event-loops (PR#14187)
--0016e6d464cff5d753047d482362
Content-Type: text/plain; charset=UTF-8
I am experiencing some regular crashes on Debian Linux, 32- and
64-bit, involving 'tcltk' and 'cairoDevice' or 'RGtk2'. They make it
very difficult to use tcltk interfaces (Rcmdr) and GTK+ ones (rattle,
playwith, etc.) in the same R session.
NOTE: Before you continue, please read NOTE2 located towards
2010 Oct 23
1
command to start R and Rcmdr?
Dear all
I would like to start R with Rcmdr from the cli, without tweaking
Rprofile.site. This has been discussed in the past [1], but I don't
see a solution that (1) could be used with any working directory and
(2) would avoid starting Rcmdr on every R start-up.
Personally I tried the following, which starts R but not Rcmdr
liv at liv-laptop:~$ R --interactive -e 'require(Rcmdr)'
2010 Jun 11
2
R in Linux: problem with special characters
Hi,
I’m working with the 64 bit version of R 2.11.0 for Linux. My session info is:
R version 2.11.0 (2010-04-22)
x86_64-redhat-linux-gnu
locale:
[1] C
attached base packages:
[1] stats graphics grDevices utils datasets methods base
When I try to print words with special characters the result is that the expression printed has some kind of code substituting the special
2010 Nov 10
1
error on R CMD rtags
Dear all
I'm getting a strange error when trying to use rtags() to generate
tags in Emacs format.
root at liv-laptop:/usr/lib/R# R CMD rtags -o /usr/local/build/ETAGS
--no-Rd --no-c library/
Tagging R files under library/; writing to /usr/local/build/ETAGS
(overwriting)...
[..]
Error: '\.' is an unrecognized escape in character string starting "[.]*\."
Execution halted
2010 Jun 30
1
Sweave PDF files show plot symbols as "q"
I'm guessing this is a FAQ but I can't find it and that it is probably
not exclusive R related but relevant so I thought I'd ask:
When I view the PDF output from Sweave (e.g. Example 1 from the author's
web site at [1]) on a Linux system using the standard PDF viewer [2],
the circles for the outliers in the plot [boxplot(Ozone ~ Month, data =
airquality)] show up as the letter
2002 Feb 26
1
Locale problems on Solaris
Hi there.
With OpenSSH 3.0.2p1 on Solaris, the locale does not appear to get set
correctly at login, as it does with, say telnet:
/etc/default/init:
TZ=GB
CMASK=022
LC_COLLATE=en_GB.ISO8859-1
LC_CTYPE=en_GB.ISO8859-1
LC_MESSAGES=C
LC_MONETARY=en_GB.ISO8859-1
LC_NUMERIC=en_GB.ISO8859-1
LC_TIME=en_GB.ISO8859-1
When logging in via SSH:
scot /home/scot > locale
LANG=
2018 Nov 15
2
'date' format differences between CentOS 6 and 7 using the en_GB locale ?
Just noticed that the output of 'date' is different between CentOS 6 and
7 when using the 'en_GB' locale - e.g.:
CentOS 6:
% LANG=en_GB date
Thu Nov 15 11:42:46 GMT 2018
% LANG=en_US date
Thu Nov 15 11:42:56 GMT 2018
CentOS 7:
% LANG=en_GB date
Thu 15 Nov 11:43:07 GMT 2018
% LANG=en_US date
Thu Nov 15 11:43:11 GMT 2018
i.e. with LANG=en_GB on CentOS 7, the day
2009 Oct 14
3
currency conversion function?
Dear all
Is there any R function that would perform currency conversion using
up-to-date exchange rates? I would be looking for a function that
allows to download recent exchange rates (say, from Yahoo!) and then
use these in converting currencies (say, USD to EUR).
I am not sure whether r-sig-finance would be more appropriate, but the
(off-)topic feels general enough to me. Thank you
Liviu
--
2011 Oct 03
2
extracting p-values in scientific notation
Dear all
How does print.htest display the p-value in scientific notation?
> (x <- cor.test(iris[[1]], iris[[3]]))
Pearson's product-moment correlation
data: iris[[1]] and iris[[3]]
t = 21.65, df = 148, p-value < 2.2e-16
alternative hypothesis: true correlation is not equal to 0
95 percent confidence interval:
0.8270 0.9055
sample estimates:
cor
0.8718
Above the p-value comes