Displaying 20 results from an estimated 10000 matches similar to: "Accumulating data row by row into a data frame"
2000 Oct 11
5
"Executing" a string
In Matlab or Octave I can evaluate (evalf) the content of
a string. In R I have looked around in the docs, but have not
found a way to do something equivalent (which is possible, I think).
Can anybody give me a pointer?
=============================================================================
Thomas Hoffmann, Institut fuer Halbleiter- und Mikrosystemtechnik, TU Dresden
E-mail: hoffmann at
1999 Oct 15
2
IEEE_754 logic
Can anybody of the architects of R enlighten me about the reasoning behind the selection of the IEEE 754
mode for the building of R, please?
Special points of interest are:
1. The selection seems to be based on the availability of isnan() and finite(). Is this a common way
to test for IEEE 754?
2. The C9x draft introduces isfinite() instead of finite() (and as I see, some systems, e.g. the
2001 Mar 16
1
Catching error messages (from nls(), e.g.)
I try to fit subsequentially different nonlinear models to data.
Up to now I tried a first model and if I could not fit this one
proceeded to another one.
Now I would like to handle this automatically. But much to my
chagrin I did not find a way for dealing with the error messages
from nls(), e.g. getting them as "control information" or at least
just returning from nls() without a
1999 Oct 25
1
gc_inhibit_torture definition twice?
I have a problem to understand the way gc_inhibit_torture is defined.
In include/Defn.h it is declared as extern, using the __MAIN__ trick this leads to
a definition in main/main.c.
But in main/memory.c you define (and initialize) gc_inhibit_torture again:
int gc_inhibit_torture = 1; /* gets set to zero after initialisations */
Then, in e.g. unix/system.c immediately at the beginning of
2001 Apr 09
1
Support for compartment models / matrix exponential method
I try to fit reaction kinetic data to a given hypothetical model
consisting of 3 ODEs. After some reading in Bates/Watts and the literature
cited there (e.g. Jennrich/Bright) I looked in R for functions that support
the use of the matrix exponential method. Until now I used for a similar
(but simpler) problem the nls package and fitted against the the parameterized
solution function. But this
2000 Sep 15
3
R on HP-UX, again: modreg.sl fails, 1 arith test fails
I want to report the progress of my attempts to get R running on HP-UX
with gcc:
Firstly, I could work around the PIC problem by leaving out all the lib stuff
(I rebuilt gcc with --enable-share, but this (alone) did not help), e.g. the
line
gcc -shared -fPIC -o ctest.sl ansari.o fexact.o kendall.o ks.o prho.o swilk.o -L/usr/local/lib -lg2c
-lm -L/lib/pa1.1 -L/usr/lib/pa1.1 -u main
2000 Sep 13
0
Compiling R on HP-UX: "DP relative code"
I tried to build R-1.1.1 on my HP-UX 10.20 box. For this I installed
gcc 2.95.2 and built g77 (version 2.95.2 19991024 (release)).
Making R runs to the point, where shared libs are linked. There it reports:
make[4]: Entering directory `/disk4/hoffmann/Work/rwork/src/library/ctest/src'
gcc -I../../../../include -I/usr/local/include -fPIC -g -O2 -c
2000 Oct 04
5
postscript preview
gday R friends,
I was wondering if anyone could help me with some graphics issues please.
I'm processing R in batch on redhat6.2 with some graphics to be imported
into msword on NT. For scaling within my doco I want some vector type
graphics. win.metafile doesn't seem to be supported on redhat which gives
me postscript. postscript is ideal but doesn't contain a preview so I
2001 Mar 30
5
PICT output?
hi, all. I use R on a unix (linux) box and am quite happy with it.
However, sometimes I need to create a graph that needs to be used with
Microsoft Word or Powerpoint (ug). I can create a png or jpeg format
picture, but the text look pretty crummy because jpeg is bitmapped. I
can also create a PS/EPS version (my preference), but then it doesn't
display properly in word or powerpoint (but it
1999 Oct 13
3
main/character.c (et.al): dangerous AllocBuffer()
I was hit by ugly crashes of R, when I tried to read big data sets ("volcano").
So I looked into the code and found the following in character.c (triggered by substr()):
I assume that the helper function AllocBuffer() shall facilitate an economic memory management. But
the use of realloc() in the else-branch does not conform to ANSI and may hit you with certain
compilers.
When called
1999 Oct 13
3
main/character.c (et.al): dangerous AllocBuffer()
I was hit by ugly crashes of R, when I tried to read big data sets ("volcano").
So I looked into the code and found the following in character.c (triggered by substr()):
I assume that the helper function AllocBuffer() shall facilitate an economic memory management. But
the use of realloc() in the else-branch does not conform to ANSI and may hit you with certain
compilers.
When called
1999 Oct 12
1
Looking for R_Home ...
This is my first question to this list and possibly a bit dumb, but anyway:
Can anybody tell me, where, e.g. in the "unix" reference release a DEFINITION of
char * R_Home can be found? Via Defn.h the "extern" DECLARATION is everywhere,
but when I derived a somewhat other main() program my linker complained about the
missing definition.
Thomas Hoffmann.
2000 Mar 09
1
Conditional for XDR code left out in saveload.c (PR#478)
Full_Name: Thomas Hoffmann
Version: 1.0.0
OS: OS/2 Warp 4.0 FP 11
Submission from: (NULL) (141.30.125.20)
I autoconfigured/configured the src'es w/o having XDR (#undef HAVE_RPC_XDR_H).
In saveload.c , at the beginning of the file the XDR code is enclosed by
matching #ifdefs.
But in the NEW_SAVE_FORMAT section, there are no #ifdefs around the XDR code.
Does this imply that using the new
1999 Oct 13
1
formatReal()-bug (or Is there anybody out there w/o IEEE754?)
On a system with IEEE_754 undefined, I run into an bug, when the value
of an element of the first argument (e.g., x[0]) of formatReal() is NA:
1. (format.c:235) if (!R_FINITE ..) gives nanflag=1 (!naflag remains 0)
2. (format.c:272..288) *m gets an value of -2147483643 (from the format
fiddling, should not matter to us)
3. (format.c:289) because naflag is zero, m does not
1999 Nov 04
1
R_OpenSiteFile: Do not use a null ptr as filename in fopen (PR#312)
I get crashes when I call R without any arguments and having no
environment variables R_PROFILE and RPROFILE.
The reason is, that in unix/sys-common.c in R_OpenSiteFile() fopen
is called with a null ptr as filename (because this is the outcome
of getenv()).
Although most compilers seem to interpret this as "file not found",
this is an undefined behavior concerning to all C standards
2002 Sep 13
4
tcltk documentation
> Dear all,
> I am looking for basic examples of the use of tcltk in R.
> Thank you in advance for any information, R-script, ...
Most of us started from the handful of examples you can see via
demo("tcltk")
There are also some good examples in the mailing list archives
though some of the R to Tcl/Tk interfaces changed slightly in
recent releases.
--
According to the
2005 Sep 26
0
Accumulating latency in nsv stream
Greetings:
We have a problem with accumulating latency in a 1 fps nsv video
stream; the delay is about 5 sec. when the stream is first mounted
but after about 10 hours it is up to 1/2 hour and after 24 hours
it is almost an hour (no frames are dropped, a client viewing the
stream just sees video delayed by those amounts).
I have commented-out the <burst-on-connect> and <burst-size>
2005 Sep 27
0
Accumulating latency in nsv stream
Greetings:
We have a problem with accumulating latency in a 1 fps nsv video
stream; the delay is about 5 sec. when the stream is first mounted
but after about 10 hours it is up to 1/2 hour and after 24 hours
it is almost an hour (no frames are dropped, a client viewing the
stream just sees video delayed by those amounts).
I have commented-out the <burst-on-connect> and <burst-size>
2006 Jun 29
0
@response.body accumulating in functional tests?
I have two functional tests for my user controller:
def test_bad_registration
post :register, :email => "tester1@foo.com"
assert_response :success
assert_not_nil @response.body =~ /^\<error/
assert_nil assigns[''user'']
end
def test_good_registration
@response.body = nil
post :register, :username => "tester",
2006 Dec 30
1
Accumulating Physdev Counts
When using v2 we would modify the saved /var/lib/shorewall/restore file to
modify logging so we had separate counts by the physical device the
packets (actually, NEW connections, not total packet counts), such as:
-A LogStuff -j LOG etc
-A LogStuff -m physdev --physdev-in eth1 -j DROP
-A LogStuff -m physdev --physdev-in eth2 -j DROP
which gave us an idea where dropped traffic cam from