[Rd] Download R package on HP-UX ia64 Server

2011-06-28 Thread Zhou, Hong
Hi, I am new to R, is there R package for HP-UX ia64 server? In another word, is it possible to compile R from source on HP-UX ia64 system? Any advice would be greatly appreciated! Thanks, Hong Hong Zhou, MS, MIS Senior Systems Analyst Center for Outcomes Research The Children's Hospit

[Rd] How does R handle interrupts?

2009-03-12 Thread Zhou Fang
something. Unless there's some reason why allowing this is a very bad idea? Thanks for any help that can be provided. Zhou Fang __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] Arithmetic bug? (found when use POSIXct) (PR#10776)

2008-02-17 Thread Bo Zhou
Yea I thought that would be the story behind it. Thanks. > Date: Sun, 17 Feb 2008 16:15:27 -0500 > From: [EMAIL PROTECTED] > To: [EMAIL PROTECTED] > Subject: Re: [Rd] Arithmetic bug? (found when use POSIXct) (PR#10776) > CC: [EMAIL PROTECTED] > > OK. Good point. > > Note that that article was

Re: [Rd] Convert multiple C strings into an R character vector

2007-08-10 Thread Jonathan Zhou
Hey, I'm actually passing the R objects between hosts through a middleware software called Symphony. I'm not sure if R_Serialize/Unserialize will be of use to me. On that note, after searching through the R manuals and using "RSiteSearch", I wasn't able to find any documentation regarding R_Ser

Re: [Rd] Convert multiple C strings into an R character vector

2007-08-10 Thread Jonathan Zhou
Thanks Seth I got the code to work. I've actually got a followup question. The strings were created from reading a file where an R object was placed in using "dput", meaning the strings hold R objects in character string format. My original intention for doing this was so that the character

[Rd] Convert multiple C strings into an R character vector

2007-08-10 Thread Jonathan Zhou
I was hoping someone could tell me how to convert multiple C character strings into an R character vector. Thanks, Jon -- View this message in context: http://www.nabble.com/Convert-multiple-C-strings-into-an-R-character-vector-tf4249882.html#a12095059 Sent from the R devel mailing list arch

Re: [Rd] Manipulating R objects in C++

2007-08-10 Thread Jonathan Zhou
Nevermind about the boolean object, after thinking about it for 2 seconds, I figured it out. Just going to translate the boolean to an integer object with 1 representing true and 0=false and send that to C :P. -- View this message in context: http://www.nabble.com/Manipulating-R-objects-in-C%

Re: [Rd] Using R_MakeExternalPtr

2007-07-25 Thread Jonathan Zhou
Hi Hin-Tak, Here is the R code function in where I called the two C++ and further below are the 2 C++ functions I used to create the externalptr and use it : soam.Rapply <- function (x, func, ..., join.method=cbind, njobs,

Re: [Rd] Using R_MakeExternalPtr

2007-07-25 Thread Jonathan Zhou
Hi all, Here is the R code function in where I called the two C++ and further below are the 2 C++ functions I used to create the externalptr and use it : soam.Rapply <- function (x, func, ..., join.method=cbind, njobs,

[Rd] Using R_MakeExternalPtr

2007-07-25 Thread Jonathan Zhou
Hi all, I've been writing a package and I've run into a problem that I'm unsure how to solve. I am looking to pass a C++ class object to R so that it may be passed back to another C++ function later on to be used. I'm quite new to R and this is my first time writing a package, so I hope you ca

[Rd] increase size of the limit of memory (PR#8885)

2006-05-20 Thread zhou
Full_Name: Shouhao Zhou Version: 2.2.1 OS: windows Submission from: (NULL) (128.59.110.149) if you run the following code in R after version 2.1.1: n.sims<-6000;n<-3 y<-array(NA,c(n.sims,n)) with output: Error: cannot allocate vector of size 703125 Kb In addition: Warning me

[Rd] Borland C++ and [R] dyn.load() for windows

2005-10-26 Thread huanyu zhou
Hi, I compiled a C program file on Borland C++ 5.5 compiler to get one dll output (as instructed in the file readme.package). The C program file is just the example on page 31 of "writing R extensions": void convolve(double *a, int *na, double *b, int *nb, double *ab) { int i, j, nab = *na + *n