Displaying 2 results from an estimated 2 matches for "headerr".
Did you mean:
header
2006 Jul 18
2
send a list from R to C
...,1),
"TestFile") ) to C. I have no problems, if I don't use character and I have
also no problems to give a character vector form R to C. But, if I combine
real and strings in a list then I don't know the correct syntax.
I try it with following (an example):
SEXP writeFile(SEXP headerR){
Image *SaveImage;
PROTECT(headerR = AS_VECTOR(headerR));
SaveImage->Xmin = (float) REAL(VECTOR_ELT(headerR, 0))[0];
SaveImage->Ymin = (float) REAL(VECTOR_ELT(headerR, 0))[1];
strcpy(SaveImage->Description, CHAR(STRING_ELT(headerR, 1)));
}
where
typedef struct {
float Xmin;
float Y...
2000 Jan 13
1
Printing woes
Hi,
I've been using Samba for a while, and I'm now running all network
printing here from Samba. However, while printing itself works fine, my
users can neither view the print queue, nor delete jobs from it, and
this is beginning to get annoying. I'm using LPRng to do all the
printing. All the clients are NT4 workstations. Here's some selected
bits of /etc/smb.conf and