Displaying 20 results from an estimated 10000 matches similar to: "arrays in binary files"
2003 Apr 09
1
'Apparently' trouble with name spaces and Sweave...
Ben Bolstad experienced something odd while running R CMD check over
a package of ours using r-devel (yesterday's fresh).
He tracked down the problem to a vignette calling 'library(MASS)'.
Please kindly ignore if this is a known (and temporary) issue.
Laurent
----- Forwarded message from Ben Bolstad <bolstad@stat.berkeley.edu> -----
Return-Path:
2001 Dec 31
2
Extracting/setting elements from/in a matrix/array
Dear all,
I had to extracts/set elements from/in a matrix. Let say I have two
vectors dim1 and dim2 of indices in the respective two dimensions of a
matrix: I want to extract all the corresponding elements. I the case of a
nxn matrix, dim1 <- 1:n and dim2 <- 1:n would extract the diagonal.
I know one way would be to use the functions 'row' and 'col', but the
matrixes I
2001 Oct 24
0
Re: Compiling R v 1.3.1 under Irix 6.5 on SGI Origin
Hello Laurent, Ray and Greg,
I tried the gmake settings.
Yet, I still got an Error code 1 message when I run the test.
running regression tests
don't know how to make ../library/base/R/base (bu42).
*** Error code 1 (bu21)
Thanks you if you have any idea.
Manuel
-----Message d'origine-----
De : Laurent Gautier [ mailto:laurent at genome.cbs.dtu.dk
<mailto:laurent at
2001 Jul 19
1
Compiling R-1.3.0-patched on OSF1
Dear R-users,
I currently have trouble in trying to compile R-1.3.0-patched on Compaq
OSF1.
--------
>uname -a
OSF1 adenine.fysik.dtu.dk V4.0 1229 alpha
--------
The 'configure' step ended seemingly corretly:
-----------------------
R is now configured for alphaev6-dec-osf4.0f
Source directory: .
Installation directory: /home/adenine/sysman/laurent/share/
C
2001 Oct 27
1
trouble with data.matrix
Dear all,
The following causes me trouble:
> a <- data.frame(2:5,3:6,4:7)
> str(a)
`data.frame': 4 obs. of 3 variables:
$ X2.5: int 2 3 4 5
$ X3.6: int 3 4 5 6
$ X4.7: int 4 5 6 7
> str(data.matrix(a))
int [1:4, 1:3] 2 3 4 5 3 4 5 6 4 5 ...
- attr(*, "dimnames")=List of 2
..$ : chr [1:4] "1" "2" "3" "4"
..$ : chr
2001 Oct 22
1
No subject
Dear all,
I may have overlooked something but the following piece of code causes me
trouble:
> a_data.frame(1:4)
> a
X1.4
1 1
2 2
3 3
4 4
> apply(a,2,cat)
1 2 3 4Error in ans[[1]] : subscript out of bounds
> apply(a,1,cat)
1234NULL
Is this the fact my data.frame has only one dimension ?
(and do I forget somewhere (but where ?) to specify not to 'drop'
2003 Mar 11
1
R CMD check (again)
Hi,
R-devel causes me still trouble. It dies with
Error: couldn't find function "predict.loess"
Execution halted
for the package affy, but
bash-2.04$ grep predict.loess ~/R-devel/src/library/modreg/R/*.R
/misc/homes/laurent/R-devel/src/library/modreg/R/loess.R:predict.loess <- function(object, newdata = NULL, se = FALSE, ...)
bash-2.04$
..the function seems to be there...
2001 Jul 16
2
Trouble with the memory allocation
Dear R-users,
I am currently facing what appears to be a strange thing (at least to my
humble understanding).
If I understood correctly, starting with the version 1.2.3, R memory
allocation can be done dynamically,
and there is no need to fiddle with the --nsize and --vsize parameter
any longer...
So far this everything seemed to go this way (I saw the size of my
processes growing when I was
2001 Aug 13
1
jpeglib.h in a strange place
Dear All,
Would anybody have any advice to give on that:
The Facts:
- I installed (compiled) R on SGI IRIX (6.5)
- I am not root
- I discovered the jpeg device I need now badly doesn't work
(postscript is not so happy with 19 millions spots)
- after investigation, it appeared the jpeglib.h was detected not recent
enough at configure time
- the jpeglib.h in /usr/include is version 6a
- the
2001 Nov 19
2
reading tiff files
Dear all,
I am looking for a way to read tiff data into R (this could be something
the pixmap package users could find intersting).
I could not find anything related but I suspect something to
exists...somewhere... is it really the case ?
Thanking in advancing for help/pointers,
Laurent
--
Laurent Gautier CBS, Building 208, DTU
PhD. Student D-2800 Lyngby,Denmark
tel: +45 45 25
2001 Oct 15
0
R-package and configure
Dear R-helpers,
I have been trying to use the 'configure' feature offered to package
writters... but could make it work.
The matter may have been discussed before, and a rtfm answer with the
place the answer is found is perfect (but I read the 'writing R
extensions' manual).
The problem is:
In my C code I have code conditional to a defined macro. I used autoconf
the naive way
2001 Oct 25
0
X11() and XFree4.1.0 (and probably also MS truetype fonts)
Dear all,
I updated ('almost' painlessly =) ) the XFree version of my suse
distribution 7.1 (could not wait any longer as the screensaver was
crashing everything with irregular periodicity)... I have now Xfree 4.1.0
running (with OpenGL 3D going through the Mesa library), and I downloaded
MS truetype fonts (as suggested by Mr. Suse).
R seems to work... except (so far) the output of the
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
2003 Mar 15
0
configure, IBM AIX and checking whether leap seconds are treated according to POSIX...
Hi,
I am trying to compile R for 64 bits on a mainframe running
IBM AIX. Setting the environment variable OBJECT_MODE=64
leads to hanging while checking whether leap seconds are treated according to POSIX...
Interestingly, it works fine when OBJECT_MODE=32...
Any pointer would help me much...
Thanks,
L.
--
--------------------------------------------------------------
currently at the
2003 Feb 10
0
Memory allocation, IBM-AIX and R-1.6.2
Dear all,
I compiled R-1.6.2 for IBM-AIX (using the native compilers)
and I am facing problems to instanciate (rather) large
matrices.
I have:
> m <- matrix(0, 640*640, 102)
Error: cannot allocate vector of size 326400 Kb
I am not truly familiar with AIX, but this does not
seem to be caused by kernel/user limitations:
ulimit -Ha gives:
core file
2001 Nov 24
4
about the function order()
Dear all,
I have recently experienced something with the function order I cannot
explain:
The help(order) (which I admit having overlooked before) rises even more
my confusion...
The following lines made me think order() was returning the 'order' each
value in a vector would take when sorted.
> a <- c(4.1, 3.2, 6.1)
> order(a)
[1] 2 1 3
Doing
> plot(a,
2003 Mar 18
1
Building hdf5 for ms-windows
I am trying to build hdf5 for ms-windows. I downloaded the hdf5_1.4.7.tar.gz, gunzipped it and got a tar file. I extracted everything into a directory tree called hdf5. I also found a Makevars.win and libhdf5.def in the R help archives from March 2002. I put those two in hdf5 as well.
I issued the command Rcmd build --binary hdf5
but got this message complaining it can''t find
2019 Dec 14
0
Inconsistent behavior for the C AP's R_ParseVector() ?
Laurent,
the main point here is that ParseVector() just like any other R API has to be called in a correct context since it can raise errors so the issue was that your C code has a bug of not setting R correctly (my guess would be your'e not creating the initial context necessary in embedded R). There are many different errors, your is just one of many that can occur - any R API call that
2013 Jan 20
0
[LLVMdev] Clang's approach to anonymous struct pointer parameters
Hi Rick,
this is a bug in Clang's LLVM-IR code generator:
http://llvm.org/bugs/show_bug.cgi?id=14920
Best,
Florian
On Sunday, January 20, 2013 01:57:37 Rick Mann wrote:
> For the following code:
>
> struct XBeePacket;
>
> typedef void (*CompletionProc)(XBeePacket* inPacket, void* inParam2);
>
> struct
> XBeePacket
> {
>
2019 Dec 09
0
Inconsistent behavior for the C AP's R_ParseVector() ?
On 12/9/19 2:54 PM, Laurent Gautier wrote:
>
>
> Le?lun. 9 d?c. 2019 ??05:43, Tomas Kalibera <tomas.kalibera at gmail.com
> <mailto:tomas.kalibera at gmail.com>> a ?crit?:
>
> On 12/7/19 10:32 PM, Laurent Gautier wrote:
>> Thanks for the quick response Tomas.
>>
>> The same error is indeed happening when trying to have a
>>