Displaying 20 results from an estimated 5000 matches similar to: "Segmentation fault with expression on linux"
2001 Mar 15
1
supressing linefeed at end of file
Hello,
I want to do simulations with an external simulation model. For this
purpose I wrote a R-script which makes the pre- and post-processing of
the data (generate scenarios, analyze results).
The R-script writes the input file for the simulation with e.g.
write(x, file="test.dat", ncolumns=10)
The problem is, however, that this command (and even constructions with
cat) will add a
2003 Sep 08
2
R video
Hi
Does anybody know of any R packages under Windows to produce video files
from a sequence of R graphs -- e.g. in .wmv or avi format?
Thanks
David
2001 Feb 05
1
get vector data from contour
I have carried out a spatial interpolation (Kriging) using surf.gls()
The contour plot looks very plausible and the image plot is o.k too.
The problem is, hovever, that I need the vectorized isoplethes, as in
contour().
Unfortunately, I found no solution to get the internal data from
contour().
Is there a possibility to extract contour lines as x-y-polygon from a
grid without hacking plot3d.c?
2001 Mar 16
2
Clip contour or image
Hi,
I am almost new to R. Would any one show me (please include an example)
how to clip a contour or image figure so that I only see the image or
lines inside a selected area?
Thank you very much
Han
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info",
2003 Sep 12
2
Getting greek letters in plot labels and title
Hi,
Does any one knows how to include greek letters in plot labels and plot
titles ?
Thanks a lot
paul
---
[[alternative HTML version deleted]]
2003 Mar 04
0
implementing ecological models in R
Hi all,
we found, that R is not only *the* superior data analysis, graphics and
statistics package, but it is also a general tool for implementing,
running and teaching ecological models. Last week we held our second
course "Modelling in Limnology" using R. Some material (code and docs)
was produced for this purpose and may be interesting to someone else, so
I put the tutorial
2004 Mar 11
4
Summary: do.call and environments
To use the modify the solution from Tony and I
so that you can pass the name of the function, rather
than the function itself, like this:
x <- 7
fx <- function(y) print(x*y)
f <- function(fun, x) {
fun <- get(fun)
environment(fun) <- environment()
do.call("fun",list(3))
}
f("fx",2)
---
Date: Thu, 11 Mar 2004 08:22:45 +0100
From:
2010 Nov 03
3
R package BibTex entries: looking for a more general solution
== Summary ==
* Problem: BibTeX entries extracted from R packages via citation()
require too much manual editing to be
of general use.
* Proposal: Date: fields should be made mandatory in package DESCRIPTION
files, perhaps
beginning with warnings from R CMD check
* Proposal: Package authors should be encouraged to use a (new)
Contributors: field in the DESCRIPTION file
rather than packing all
2005 Jul 27
4
odesolve/lsoda differences on Windows and Mac
Hi -
I am getting different results when I run the numerical integrator
function lsoda (odesolve package) on a Mac and a PC. I am trying to
simulating a system of 10 ODE's with two exogenous pulsed inputs to the
system, and have had reasonably good success with many model parameter
sets. Under some parameter sets, however, the simulations fail on the
Mac (see error message below). The
2013 Apr 18
3
Linux distribution with gcc 4.8 and AddressSanitizer ?
Dear R developers,
I've got an information from Prof. Ripley regarding a bug found with
AdressSanitizer in one of our packages. It is now fixed, thank you for
this information.
Now, I would like to run AddressSanitizer myself before submitting the
patched package to CRAN.
Is there a recommendation of a suitable Linux distribution with gcc 4.8,
ideally an ISO image or (even better) a
2004 Feb 24
4
Computing the mode
Hi all,
I think this question could be quite trivial, but I can?t find out the
solution... How can you compute the statistic "mode" of a sample, in
case it exists (as mode() returns the mode of an object)? I tried
help.search("mode") but I couldn't find a clue...
Any help would be much appreciated. Regards,
Aurora
2004 Feb 24
5
r: plots
hi all
i have another probably simple question.
I have three variables say x, y and z. x and y are quite large and z is
relative small.
how can one plot the three variables on the same graph with two separate
axis?
(one for x and y and the other for z)
e.g.
x<-c(101,110,150,167,120)
y<-c(120,135,175,95,200)
z<-c(0.001, 0.15, 0.6, 0.8, 1)
regards
Allan
2002 Jan 19
1
Synthesis of harmonic functions
Hello,
I try to synthesize harmonic functions with a subset of frequencies
determined by fast fourier transform. I wrote two different functions, a
looped version and a matrix multiplication version. As an example the
looped version takes 5 sec and the matrix-version takes 3-4 sec (R 1.4,
Athlon 1.2 GHz, 256 MB, Win ME), but the latter needs huge amount of
memory due to the matrices. So, none of
2016 Sep 02
1
CRAN packages maintained by you
On 2 September 2016 at 14:54, Thomas Petzoldt wrote:
| Hi,
|
| I have the same problem and, at a first look, the issues reported by the
| CRAN checks seemed easy to fix. However, after checking it again locally
| and on http://win-builder.r-project.org it appeared that GCC 4.9.3
| (Windows, Rtools 3.4), same also on win-builder reports even more
| issues, especially legacy Fortran (mainly
2013 Sep 13
1
numerical issue in contour.default?
Dear R developers,
I found a small issue while plotting contours of data containing both
"usual" and "very small" numbers. It appeared with both R 3.0.1 and
R-Devel on Windows, and I could reproduce it on Linux. Would it be
possible to solve this before the upcoming release?
Thanks a lot for developing this great software!
Thomas
Example:
########
set.seed(357)
z1 <-
2009 Mar 04
1
CRAN package check on MacOS: sh: line 1: gs: command not found
Dear R developers,
I recently observed a NOTE on several MaxOS X package checks:
sh: line 1: gs: command not found
!!! Error: Closing Ghostscript (exit status: 127)!
/usr/bin/texi2dvi: thumbpdf exited with bad status, quitting.
See for details:
http://www.r-project.org/nosvn/R.check/r-release-macosx-ix86/simecol-00check.html
or
2008 Mar 16
1
optim: why is REPORT not used in SANN?
Hello,
I wonder why the control parameter REPORT is not supported by method
SANN. Looking into optim.c I found an internal constant:
#define STEPS 100
... and decreasing this to 10 helped me fine-tuning the annealing
parameters in an actual problem.
Is there any reason why not passing nREPORT to samin and setting
something like:
STEPS = nREPORT / tmax
Thomas P.
--
Thomas Petzoldt
2009 Oct 17
2
linking to package directories broken in R >= 2.10 beta
Dear R developers,
some of our packages come with additional programming examples in a
directory called "/examples" which is created from "/inst/examples".
This directory is linked from the docs (e.g. in inst/doc/index.html):
<dl>
<dt><a href="../examples/">examples</a>:
<dd>Source code of examples
</dl>
Given, that we have a
2008 Dec 03
1
nlminb: names of parameter vector not passed to objective function
Dear R developers,
I tried to use nlminb instead of optim for a current problem (fitting
parameters of a differential equation model). The PORT algorithm
converged much better than any of optim's methods and the identified
parameters are plausible. However, it took me a while before spotting
the reason of a technical problem that nlminb, in contrast to optim,
does not pass names of the
2010 Sep 16
3
package test failed on Solaris x86 -- help needed for debugging
Dear R developers,
we have currently a 'mysterious' test problem with one package that
successfully passed the tests on all platforms, with the only exception
of Solaris x86 where obviously one of our help examples breaks the CRAN
test.
As we don't own such a machine I want to ask about a possibility to run
a few tests on such a system:
r-patched-solaris-x86
An even more recent