Displaying 20 results from an estimated 4000 matches similar to: "Read to the end of a stream (package Rstreams)"
2001 Dec 11
1
Using lib Rstreams and gzfile()
Hi all,
in the last time I've intensively used Rstreams to read and write from
binary files. Now I'm wondering if it is possible to use Rsteams
functions with gzipped files. But I haven't found the trick:
> p1c.gzip <- gzfile("daten/p1c_all.mea.gz", open="rb")
> readBin(p1c.gzip, integer(), n=64,size=2)
[1] 84 1 400 1 749 0 0 0
2000 Jun 29
1
Binary file functions in R
This is just to let people know that I'm going to try to put together
a little package of binary file read/write functions for R, along the
lines described in my message in r-help. I'm going to do it first in
R for Windows using a DLL written in Delphi; I'll let people comment
on that, and once the design settles down, I'll redo the external code
in C so that it should be portable
2001 Jun 01
1
Installing Rstreams lib
Dear R-helpers,
I am trying to install Rstreams library on the following platform:
----------------------------
platform alphaev67-dec-osf5.0
arch alphaev67
os osf5.0
system alphaev67, osf5.0
status
major 1
minor 2.3
year 2001
month 04
day 26
language R
---------------------------
Unfortunately, I get these error messages:
---------------------------
> [557] R
2002 Jul 02
2
sound lib - rstreams Mac OS 9 and X ???
Hello,
I'm looking for a working compiled library of "rstreams" for mac OS 9 and
for mac OS X.
I could find one (somewhere) but it is not loading.
It says in R 151 under OS 9.2:
Error in dyn.load(x, as.logical(local), as.logical(now)) :
unable to load shared library
"PRO-096-system:Applications:Languages:rm151:library:rstreams:libs:RstreamsL
ib":
error code -2807
2001 Jul 05
1
ERP software
I was just playing around with the R-streams package, reading in some data
from an old experiment we did here, and was again amazed by the flexibility
of the R environment. The eaze with wich I was able to generate simple plots
of my EEG data made me wonder if someone tried to implement an ERP package.
For the non-cognitive scientists ou there: EEG is electrical activity
measured from the scalp
2001 Jun 12
1
trouble to install the Rstream package
Dear R-users,
I successfully installed the package Rstreams under linux, but my first
attempt to do so on SGI IRIX 6.5 (64bits) lead to the following error
message.
--------------------
laurent at genome> R CMD INSTALL Rstreams
Installing source package `Rstreams' ...
creating cache ./config.cache
checking for ftruncate... yes
checking size of long double... 16
updating cache
2012 May 07
3
Problem in executing R-script
Hello. I'm a newbie here.
In my script (I name it readData.R), I wrote the followings:
readData <-function(){ med = read.csv("medicalData.csv");}
Then I tested the script by 'Source R Code' then on the command I typed 'readData()' then I typed 'med' to check if the variable contains the medical data but it returned 'Object med is not found'. What
2018 Feb 09
3
[PATCH]Add address overflow check
Hi,
I came into a crash when using 32-bit `speexdec` and found that there's an
address overflow in function `print_comments()`:
static void print_comments(char *comments, int length)
{
char *c=comments;
int len, i, nb_fields;
char *end;
if (length<8)
{
fprintf (stderr, "Invalid/corrupted comments\n");
return;
}
end = c+length;
2000 Nov 14
2
library doubt
Hi all.
I'm trying to install the packages Rstreams and RPgSQL, but with no
success.
I did R INSTALL name package but if I try library(Rstreams) I get the
following error:
Error in library.dynam("Rstreams",pkg,lib):
dynamic library 'Rstreams' not found
Error in library(Rstreams): .First.lib failed
Where did I go wrong? I'm using R 1-1-1 on a Debian GNU/Linux box.
2001 Jul 17
1
How to write the bytes 00 01 00 to a file/connection?
Is there any way to write (8-bit) bytes to a file which works on all [R]
platforms? I have been looking at
1) writeBin
2) writeChar
3) cat
and neither of them manage to write arbitrary sequences of bytes (0-255).
For instance, I would like to create a binary file of length three
containing the bytes 0, 1 and 0. I [R] I have the following vector of bytes:
bfr <- c(0,1,0)
1) For
2008 May 20
4
Can't get past the splash screen
Hi,
I have a remote frontend (it's kept in the room which I don't have access) which is installed with CentOS 4 and Rocks . So, to use the desktop(Gnome) of the frontend I use the freenx + nomachine following the guide in http://www.centos.org/modules/newbb/viewtopic.php?forum=20&topic_id=1640&viewmode=threaded. It worked. Then, I intended to add user, but I couldn't create the
2001 Apr 12
1
Install Packages
Hi,
I am trying to install "Rstrams" package, I have download the Rstreams_1.1-2.tar.gz in my computer and I tried the following
1. install.packages("Rstreams",lib=.lib.loc,"c:/R/package/Rstreams_1.1-2.tar.gz" )
I got
'lynx' is not recognized as an internal or external command,
operable program or batch file.
Error in httpclient(url,
2012 Aug 14
12
[TESTDAY] xl cpupool-create segfaults if given invalid configuration
# xl cpupool-create ''name="pool2" sched="credit2"''
command line:2: config parsing error near `sched'': syntax error,
unexpected IDENT, expecting NEWLINE or '';''
Failed to parse config file: Invalid argument
*** glibc detected *** xl: free(): invalid pointer: 0x0000000001a79a10 ***
Segmentation fault (core dumped)
Looking at the code
2014 Feb 02
1
Trouble implementing ov_callbacks, endless loop calling seek_func
Hello list,
I've been having a tough time adding windows resource support to my ogg
vorbise decoder, although I think I am close. Basically when I call
ov_open_callbacks(), it doesn't ever return and repeatedly calls my
seek_func.
I'm hoping it is something obvious, but I can't see why my seek_func is
being called endlessly. If the file is seekable, I should return 0, right?
If
2013 Jun 21
1
[LLVMdev] ASan for Android Applications
Evgeniy, thanks for your help.
> You need -eng build because preloading libraries into dalvik vm is not
> allowed in user builds. JellyBean includes several bugfixes in the
> dynamic loader that asan needs.
Do you have the sha1 hashes for any of those patches? I might be able
to track down a build that includes them.
> Was there any useful output in adb logcat when your program
1999 Jul 16
7
R:how to separate stuff?
Thanks for your help on moving files from
S+ to R and on attaching directories.
If attaching directories is NOT possible in R,
is there any other way to separate
objects into different folders or something similar?
For example, to keep user functions for multivariate
analysis in a different "place" than user functions on
time series, or to keep data objects of project_1
in a different
1999 Jul 16
7
R:how to separate stuff?
Thanks for your help on moving files from
S+ to R and on attaching directories.
If attaching directories is NOT possible in R,
is there any other way to separate
objects into different folders or something similar?
For example, to keep user functions for multivariate
analysis in a different "place" than user functions on
time series, or to keep data objects of project_1
in a different
2004 Aug 09
1
import data from splus
Dear Sir,
I am using R for the first time and I am looking for a function or a
command that allows to import Splus data into R. I have already heard about
functions called "readSdata" and readSfiles" in the "Rstreams" package. I
did not find the last new version of this package on the CRAN and its old
one did not work on R 1.8.0 (the vesrion that I am using).
Would you
2001 Oct 11
2
Where's MVA?
Hi All:
Package TSERIES is stated to depend on MVA. However, there is no MVA package to be found under the list of package sources.
Best wishes,
ANDREW
tseries: Package for time series analysis
Package for time series analysis with emphasis on non-linear and non-stationary modelling Version: 0.7-6
Depends: ts, mva, quadprog
Date: 2001-08-27
Author: Compiled by Adrian
2018 Feb 09
0
[PATCH]Add address overflow check
Pointers are unsigned so this shouldn't be an issue. I suspect you're
being hit by something else. That or your compiler is really broken.
Cheers,
Jean-Marc
On 02/09/2018 04:42 AM, Ruikai Liu wrote:
> Hi,
>
> I came into a crash when using 32-bit `speexdec` and found that there's
> an address overflow in function `print_comments()`:
>
>