Displaying 20 results from an estimated 900 matches similar to: "Small encoding question"
2010 May 31
1
Suggested tidying up
Package grDevices has a function cm() to convert from inches to centimeters. Its definition is:
cm <- function(x) 2.54*x
As far as I can tell, the function is not used anywhere in the R sources (I grepped for "cm(", "cm)" and ", cm".) I did not check for all packages on CRAN, though.
May I propose to remove this apparently useless function from the sources?
[I
2007 Aug 27
1
R 2.5.1 - Rscript through tee
Hi, people.
I met a little problem for which someone might have a solution. Let's
say I have an executable file (named "pp.R") with this contents:
#!/usr/bin/Rscript
options(echo=TRUE)
a <- 1
Sys.sleep(3)
a <- 2
If I execute "./pp.R" at the shell prompt, the output shows the timely
progress of the script as expected. If I use "./pp.R | tee
2006 Feb 23
1
Tiny documentation error for ?options (PR#8633)
Hi, people. The output produced by "?options" contains:
'expressions': sets a limit on the number of nested expressions
that will be evaluated. Valid values are 25...500000 with
default 1000. [...]
and a bit further down:
The 'factory-fresh' default settings of some of these options are
[...]
'expressions'
2006 May 15
2
Truncated labels in hist (PR#8864)
Hi, people. Executing the following command:
hist(rpois(100,5), labels=TRUE)
yields a graphic in which some labels are truncated (on an X11 device).
The truncated labels are those over the highest bars. The hist function
should ideally manage enough room for the labels, automatically.
(Specifying ylim solves my problem, but yet, hist could be frienlier.)
--please do not edit the
2009 Nov 24
1
Encoding problems.
Hello,
I use:
R version 2.9.2 (2009-08-24)
Copyright (C) 2009 The R Foundation for Statistical Computing
ISBN 3-900051-07-0
on Ubuntu 9.10, I usually run R from ESS (5.4 on current Unbuntu) from
Emacs-22.2.1. But I also tried the following from the console and it
gave the same results.
I have a data file containing lots of European characters, French,
German, Italian and so on. I can read it
2007 Oct 27
1
having problems re-ordering a dataframe
Dear R users,
I need to reorder a dataframe using 3 variables for the determine the
sorting order.
When I create a simple dataframe to test the method, things work as I
expected:
a1 <- rep(1:10, each=8)
a2 <- rep(rep(1:2, each=4), 10)
a3 <- rep(c(1:4),20)
(a <- data.frame(a1, a2, a3))
for each combination of a1 and a2, a3 is increasing
t <- order(a$a1, a$a2, rev(a$a3))
b
2006 Feb 01
1
Difficulty with qqline in logarithmic context
Hi, R friends. I had some difficulty with the following code:
qqnorm(freq, log='y')
qqline(freq)
as the line drawn was seemingly random. The exact data I used appears
below. After wandering a bit within the source code for "abline",
I figured out I should rather write:
qqnorm(freq, log='y')
par(ylog=FALSE)
qqline(log10(freq))
par(ylog=TRUE)
2008 Sep 15
0
New version of actuar
=== actuar: An R Package for Actuarial Science ===
We are pleased to announce the immediate availability of version 1.0-0
of actuar. This release follows publication of our papers in JSS (*)
and R News (**). From the NEWS file:
Version 1.0-0
=============
NEW FEATURES
o Improved support for regression credibility models. There is now
an option to make the computations with the
2008 Sep 15
0
New version of actuar
=== actuar: An R Package for Actuarial Science ===
We are pleased to announce the immediate availability of version 1.0-0
of actuar. This release follows publication of our papers in JSS (*)
and R News (**). From the NEWS file:
Version 1.0-0
=============
NEW FEATURES
o Improved support for regression credibility models. There is now
an option to make the computations with the
2009 May 20
0
New version of actuar
Dear useRs,
A new version of actuar is available since last Friday. This is mainly
a bugfix release. From the NEWS file:
Version 1.0-2
=============
USER-VISIBLE CHANGES
o m<foo>() and lev<foo>() now return Inf instead of NaN for infinite
moments. (Thanks to David Humke for the idea.)
BUG FIXES
o Non-ascii characters in one R source file prevented compilation of
the package in
2009 May 20
0
New version of actuar
Dear useRs,
A new version of actuar is available since last Friday. This is mainly
a bugfix release. From the NEWS file:
Version 1.0-2
=============
USER-VISIBLE CHANGES
o m<foo>() and lev<foo>() now return Inf instead of NaN for infinite
moments. (Thanks to David Humke for the idea.)
BUG FIXES
o Non-ascii characters in one R source file prevented compilation of
the package in
2009 Jul 23
2
alternative to rbind within a loop
Hi,
I often have to do this:
select a folder (directory) containing a few hundred data files in csv
format (up to 1000 files, in fact)
open each file, transform some character variables in date-tiime format
make into a dataframe (involves getting rid of a few variables I don't
need
concatenate to the master dataframe that will eventually contain the
data from all the files in the
2009 Mar 10
4
puzzled by math on date-time objects
Hi,
I don't understand the following. When I create a small artificial set
of date information in class POSIXct, I can calculate the mean and the
median:
a = as.POSIXct(Sys.time())
a = a + 60*0:10; a
[1] "2009-03-10 11:30:16 EDT" "2009-03-10 11:31:16 EDT" "2009-03-10
11:32:16 EDT"
[4] "2009-03-10 11:33:16 EDT" "2009-03-10 11:34:16
2007 Mar 13
2
An example of "overloading" [
Hello:
Could anyone point me to a nice example where someone has created methods
for "[" on a user defined Class?
I looked at the package Matrix but that was a little daunting. I'm looking
for someone a little more introductory. I've tried to search the help
section and the web but its difficult since "[" isn't searchable.
Thanks in advance!
Greg
[[alternative
2016 Nov 14
0
Major update of package actuar
Dear useRs,
I'm happy to announce a substantial update of package actuar that bumps the version number to 2.0-0. This release focuses on additional support for continuous and discrete distributions, new functions to simulate data from compound models and mixtures, and revised and improved documentation.
A slightly shortened version of the NEWS file follows:
NEW FEATURES
? Support for the
2016 Nov 14
0
Major update of package actuar
Dear useRs,
I'm happy to announce a substantial update of package actuar that bumps the version number to 2.0-0. This release focuses on additional support for continuous and discrete distributions, new functions to simulate data from compound models and mixtures, and revised and improved documentation.
A slightly shortened version of the NEWS file follows:
NEW FEATURES
? Support for the
2009 May 04
2
Distribución log-logistica
Hola a tod@s,
Hace poco en la lista se discutieron algunas aproximaciones para determinar
la distribución de probabilidad que potencialmente podrían haber generado
los datos (ver [1]) y una de ellas fué el AIC. Haciendo uso del programa
enviado por Pablo Verde (ver [1]), estos son los resultados para mis datos:
weibull , AIC = 69839.44
exponential , AIC = 79488.77
gaussian , AIC = 69413.03
2007 Nov 16
0
New version of actuar
UseRs,
Version 0.9-4 of actuar should be making its way to CRAN mirrors. The
main highlights of this new version are speed enhancements for a few
functions, support for phase-type distributions and functions for ruin
theory.
The relevant section of the NEWS file follows
Version 0.9-4
=============
Maintenance and new features release.
NEW FEATURES -- LOSS DISTRIBUTIONS
o Functions
2007 Nov 16
0
New version of actuar
UseRs,
Version 0.9-4 of actuar should be making its way to CRAN mirrors. The
main highlights of this new version are speed enhancements for a few
functions, support for phase-type distributions and functions for ruin
theory.
The relevant section of the NEWS file follows
Version 0.9-4
=============
Maintenance and new features release.
NEW FEATURES -- LOSS DISTRIBUTIONS
o Functions
2007 Apr 23
0
New version of actuar
UseRs,
actuar is a package for Actuarial Science. A rather preliminary
version (0.1-3) of the package has been available on CRAN since February 2006.
We now announce the immediate availability of version 0.9-2 sporting a large
number of new features.
Non actuaries behold! There can be some features of interest for you,
especially those related to new probability distribution and to the