Displaying 20 results from an estimated 500 matches similar to: "Saving a plot in R-LINUX"
2007 Jan 31
7
features of save and save.image (unexpected file sizes)
Hi,
Today I came upon unexpected R behaviour. I did some modelling and the
result was R object, about 28MB size (nested list, with matrixes as
list elements). When I was saving the session with save.image, the
resulting .RData file was 300MB. There were no other large objects:
>
2006 Aug 09
2
optim error
Dear all,
There have been one or two questions posted to the list regarding the optim
error "non-finite finite-difference value [4]." The error apparently means
that the 4th element of the gradient is non-finite. My question is what
part(s) of my program should I fiddle with in an attempt to fix it?
Starting values? Something in the log-likelihood itself? Perhaps the data
2005 Nov 03
4
shared-mime-info (PR#8278)
Full_Name: Vaidotas Zemlys
Version: 2.1.1
OS: Ubuntu 05.10
Submission from: (NULL) (213.197.173.50)
Hi,
This is really a feature request, not a bug. I wrote the mail to R-devel,
but nobody answered it.
I use Gnome on my computer and sometimes I use its default text editor
gedit. It uses gtksourceview library for syntax highlighting. I
decided that it would be nice if gedit supported R
2005 Dec 29
0
calculating recursive sequences
Hi,
I was trying to repeat the estimation of threshold GARCH models from
the book "Analysis of Financial Time Series" by Ruey S. Tsay, and I
was succesfull, but I had to use "for" loop, which is quite slow. The
loop is necessary, since you need to calculate recursive sequence. Is
there a faster way to do this in R, without using loops?
The model is such:
r_t = \mu + \alpha_2
2017 May 17
2
r-cran-rjava dependencies on debian jesse, library(rJava) fails when default-jre is missing
Hi,
> Le 17 mai 2017 ? 00:42, Dirk Eddelbuettel <edd at debian.org> a ?crit :
>
>
> On 8 May 2017 at 15:39, Vaidotas Zemlys wrote:
> | Hi,
> |
> | Dirk Eddelbuettel advised me to write here. Here is my original letter to him:
> |
> | I would like to enquire about package r-cran-rjava on Debian jesse. It seems that if default-jre package is not installed, but
2006 Jan 17
2
Calculation of daily max
Good day everyone.
I have a large dataset of 1 min wind speeds
covering 5 years.
How can I make an array of maximum daily values?
The vectors I have are: 'VDATE' with dates in format
'%Y-%m-%d' (like '1992-10-28') and 'WS' with wind speed data
(same number of elements as VDATE).
I want an array with 2 columns: Max daily wind speed and
corresponding day.
Has
2017 May 08
3
r-cran-rjava dependencies on debian jesse, library(rJava) fails when default-jre is missing
Hi,
Dirk Eddelbuettel advised me to write here. Here is my original letter to him:
I would like to enquire about package r-cran-rjava on Debian jesse. It seems that if default-jre package is not installed, but openjdk-7-jre is installed, then library(rJava) in R fails. I?ve been bitten by this today and I wonder whether this an issue of mine, or is this a possible bug.
My server admin used
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
2006 Feb 02
3
15-min mean values
Good day everyone,
I want to use zoo(aggregate) to calculate
15-min mean values from a wind dataset which
has 1-min values. The data I have looks like this:
vector VDATE vector WS
1 1998-10-22:02:11 12.5
2 1998-10-22:02:12 10.1
3 1998-10-22:02:13 11.2
4 1998-10-22:02:14 10.5
5 1998-10-22:02:15 11.5
.
.
.
n
2007 Feb 23
2
Extracting a subset from a dataframe
Good day everyone,
Can anyone suggest an effective method to solve
the following problem:
I have 2 dataframes D1 and D2 as follows:
D1:
dates ws wc pwc
2005-10-19:12:00 10.8 80 81
2005-10-20:12:00 12.3 5 15
2005-10-21:15:00 12.3 3 15
2005-10-22:15:00 11.3 13 95
2005-10-23:12:00 12.3 13 2
2005-10-24:15:00 10.3 2 95
2005-10-25:15:00 10.3 2 2
D2:
2002 Oct 18
7
RAM usage
Hi,
I'm having problems while working with large data sets with R 1.5.1 in
windows 2000. Given a integer matrix size of 30 columns and 15000 rows
my function should return a boolean matrix size of about 5000 rows and
15000 columns.
First of all I tried to run this function on computer with 256 MB of
RAM. I increased memory limit of R with memory.limit() up to 512 MB. I
was inspecting
2006 Jun 30
1
Empirical CDF
Good day everyone,
I want to assess the error when fitting a Gram-Charlier
CDF to some data 'ws', that is, I want to calculate:
Err = |ecdf(ws) - GCh_ser(ws)|
The problem is, I cannot get the F(x) values from the
ecdf.
'Summary(ecdf())' returns some of the x-axis values,
but how do you get the F(x) values?
Thank you for any help you can provide.
Regards,
Augusto
2002 Nov 08
1
Using R --gui=GNOME
Hi,
Is it possible to make R start not from terminal with option
--gui=GNOME? Now if in the launcher preferences checkbox run from
terminal is not checked, R with option --gui=GNOME doesn't start. If
started with checked checkbox, i.e. from terminal, besides R, terminal
window also appears, but it is of no use. Yet if it is closed, the R
window closes together. Is this a feature, or is
2006 Jan 10
1
Interfacing with user in R
Good day everyone,
I am new in R programming (my question may sound
trivial to you): is there any way to ask the user
to enter a string within an R process, say a filename,
make R to recognise it and open the given file?
It is a simple exercise in other languages.
I am using R2.1.1 in a LINUX machine.
Thanks for your help.
Augusto
--------------------------------------------
Augusto
2006 Feb 22
1
Gram-Charlier series
Good day everyone,
I want to use the Gram-Charlier series expansion to model
some data. To do that, I need functions to:
1) Calculate 'n' moments from given data
2) Transform 'n' moments to 'n' central moments, or
3) Transform 'n' moments to 'n' cumulants
4) Calculate a number of Hermite polynomials
Are there R-functions to do any of the above?
2006 Nov 28
3
ML fit of gamma distribution to grouped data
Hello,
we have a set of biological cell-size data, which are only available as
frequencies of discrete size classes, because of the high effort of
manual microscopic measurements.
The lengths are approximately gamma distributed, however the shape of
the distribution is relatively variable between different samples (maybe
it's a mixture in reality).
Is there any ML fitting (or
2002 Nov 18
2
No subject
Subject: Error: cannot allocate vector of size 554 Kb
X-Mailer: VM 7.00 under 21.4 (patch 6) "Common Lisp" XEmacs Lucid
Reply-To: fjmolina at lbl.gov
FCC: ~/mail/sent
Does anyone know how I can avoid this error?
Error: cannot allocate vector of size 554 Kb
I think my computer should have enough memory to allocate such vector.
2006 Mar 28
2
[Q] How to make a multi-line title with expression()
Dear R-lister
Could anyone know how to make a multi-line title for a plot with
expression()?
In my plot, the title should be writeen in two lines (because it is two long
for one line) and it should use a mathematical expression. I tried to use
"\n", but "\n" is ignored in expression() call:
hist(diffChangeRequestHintsBeforeAnswering[,4], br = 50, xlab = "Skill
Change in
2002 Sep 13
3
subset
Dear list,
I have a simple question. If I need to run linear regression on a subset of
the dataset, will
the following two commands give the same output:
lm(y ~ as.factor(x1) + as.factor(x2), data, subset = z==Z[1])
and
lm(y ~ as.factor(x1) + as.factor(x2), data[data$z==Z[1],] )
I have got different results running the two commands. Am I missing
something here, or it
there a bug on the
2006 Mar 10
2
Date and Times a la Dalgaard
Does anyone know of a resource for learning the basics of how to manage and
manipulate dates and times in R? I have been reading "Introductory
Statistics with R" by Peter Dalgaard which is fantastic. But alas, I could
find no reference to date and time. I have looked at the reference manual
but it is particularly unapproachable. So rather than dense technical talk I
would rather see a