Re: [Rd] dyn.load and function calls without 'PACKAGE' argument

2006-12-08 Thread Paul Gilbert
Jeff You might look at the package padi (and also dsepadi) in the dseplus bundle in the devel area of CRAN. This provides an R to Fame link, and I have tried to do it in a generic way that can potentially interface to other time series data bases. It also handles endian issues, if your servers

Re: [Rd] Pre-compilation and server-side parallel execution

2006-12-08 Thread Simon Urbanek
On Dec 8, 2006, at 9:51 AM, Erik van Zijst wrote: > 2. R's native C-api > [http://cran.r-project.org/doc/manuals/R-exts.html#The-R-API] does > not separate parsing from evaluation. Actually it does - see "R_ParseVector" and "eval". You're free to run the parser once (or even construct the ex

Re: [Rd] dyn.load and function calls without 'PACKAGE' argument

2006-12-08 Thread Jeffrey J. Hallman
Duncan Temple Lang <[EMAIL PROTECTED]> wrote: dtl> [EMAIL PROTECTED] wrote: >> dyn.load("/opt/fame/timeiq/lib/linux_x86/libjchli.so", local = F) >> library.dynam("fame", package = "fame") >> The code in fame.so uses functions found in libjchli.so, making the >> 'local = F' argument in dy

[Rd] empty pages in xyplot (2.4.0)

2006-12-08 Thread Vladimir Dergachev
In 2.4.0 (and SVN) I am seeing xyplot creating empty pages for high page counts in layout - contrary to the manual which says high page counts should not matter. Everything works fine in 2.3.1. library("lattice") A<-data.frame(x=1:10, y=sin(1:10), z=round(1:10/3)) xyplot(x~y|z, A, layout=c(1,1,

Re: [Rd] empty pages in xyplot (2.4.0)

2006-12-08 Thread Deepayan Sarkar
On 12/8/06, Vladimir Dergachev <[EMAIL PROTECTED]> wrote: > > In 2.4.0 (and SVN) I am seeing xyplot creating empty pages for high page > counts in layout - contrary to the manual which says high page counts should > not matter. Everything works fine in 2.3.1. > > library("lattice") > A<-data.frame(

Re: [Rd] dyn.load and function calls without 'PACKAGE' argument

2006-12-08 Thread Duncan Temple Lang
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 [EMAIL PROTECTED] wrote: > I'm writing a package that interfaces to the FAME database, via a > library of compiled C routines accessible through a Linux .so file. My > .onLoad() function loads the .so like this: > > dyn.load("/opt/fame/timeiq/lib/l

[Rd] dyn.load and function calls without 'PACKAGE' argument

2006-12-08 Thread jhallman
I'm writing a package that interfaces to the FAME database, via a library of compiled C routines accessible through a Linux .so file. My .onLoad() function loads the .so like this: dyn.load("/opt/fame/timeiq/lib/linux_x86/libjchli.so", local = F) and after that I also load my own fame.so via li

[Rd] Pre-compilation and server-side parallel execution

2006-12-08 Thread Erik van Zijst
Folks, My company operates a platform that distributes real-time financial data from exchanges to users. To extend our services I want to allow users to write and submit custom R scripts to our platform that operate on our streaming data to do real-time analysis. We have thousands of users dep

[Rd] [EMAIL PROTECTED]: dyn.load and function calls without 'PACKAGE' argument

2006-12-08 Thread Jeffrey J. Hallman
I sent this to r-help and then realized it should really go to r-devel. --- Begin Message --- I'm writing a package that interfaces to the FAME database, via a library of compiled C routines accessible through a Linux .so file. My .onLoad() function loads the .so like this: dyn.load("/opt/fame/t

Re: [Rd] mixed effects model and r-squared

2006-12-08 Thread Ben Bolker
Indermaur Lukas eawag.ch> writes: > > Heya > > I am fitting linear mixed effects model in R [snip] > > ts.model <- lme(LOG_FOC_MW ~ R_DN_SUM + ANIMAL + SEX+ YY, data = t.data, random = ~ 1 | ANIMAL, > correlation=corCAR1(0.2, form = ~1 | ANIMAL ), method='ML', na.action=na.omit)). > > Is

[Rd] How to get DLL paths in a package?

2006-12-08 Thread jhallman
I'm writing a package that I hope to make available on CRAN. The package interfaces to the FAME database via a .so file supplied by FAME, which should be loaded in the package .onLoad() function. Unfortunately, so far as I know, there is no standard location where this .so file can always be found