[Rd] Accessing functions from a package

2010-05-24 Thread Peter Holt
Hi All, I created a .R file with source code that accesses functions from a R package (example, fTrading). I then run the created application in two different configurations: 1. I started a R session, and then ran the application using the source ("my_application.R") command, and I measured the

Re: [Rd] possible bug in formals

2010-05-24 Thread Prof Brian Ripley
On Mon, 24 May 2010, Josef Leydold wrote: Dear Brian and Uwe, Thanks a lot for the clarification. I made the naive assumption that numeric constants in R are similar to those in C. Two questions still remain: (1) when I have a function f<- function(a=1,b=-1) { a+b } is it safe to use

Re: [Rd] possible bug in formals

2010-05-24 Thread Josef Leydold
Dear Brian and Uwe, Thanks a lot for the clarification. I made the naive assumption that numeric constants in R are similar to those in C. Two questions still remain: (1) when I have a function f<- function(a=1,b=-1) { a+b } is it safe to use val <- as.character(deparse(formals

Re: [Rd] S4 method defined but not used

2010-05-24 Thread Jombart, Thibaut
Dear Martin, thanks for giving it a try. I forgot to mention I had removed the .RData, and started R without using the .Rprofile. R --vanilla did not help. However, I made another try on another computer with the same packages, R version, and OS, and I fail to reproduce this error. Best regard