Re: [Rd] linking to package directories is NOT broken in R = 2.10 beta

2009-10-19 Thread Thomas Petzoldt
Prof Brian Ripley wrote: When you linked to ../examples/ R was not involved, and what you are seeing is what your browser did with a file:// url. Most browsers will support a wide range of file types, and list directories: but that is not something that was ever (AFAICS) documented to work.

[Rd] to connect R from ejb

2009-10-19 Thread pragathichi
How to call R from ejb, can i use Rserve? -- View this message in context: http://www.nabble.com/to-connect-R-from-ejb-tp25955127p25955127.html Sent from the R devel mailing list archive at Nabble.com. __ R-devel@r-project.org mailing list

[Rd] Use of lm on polynomial models (PR#14014)

2009-10-19 Thread michael_karsh
Full_Name: Michael Aaron Karsh Version: 2.8.0. OS: Windows XP Submission from: (NULL) (75.61.102.255) When I try lm(w ~ h^3 + h^2 + h) for example, it only gives coefficients for the intercept and for h. It does not give coefficients for h^2 or h^3.

Re: [Rd] Use of lm on polynomial models (PR#14014)

2009-10-19 Thread Prof Brian Ripley
RTFM time: h^3 is not the cube of h in an R formula (for that you need I(h^3)). See ?formula, for example. Simpler would be lm(w ~ poly(h, 3, raw=TRUE)) On Sun, 18 Oct 2009, michael_ka...@earthlink.net wrote: Full_Name: Michael Aaron Karsh Version: 2.8.0. OS: Windows XP Submission from:

[Rd] source and textConnection

2009-10-19 Thread Erich Neuwirth
Is this warning given on purpose? myconn-textConnection(print(11*11)) source(myconn) [1] 121 Warning message: In source(myconn) : argument 'encoding = native.enc' will be ignored Could it be omitted, since the docs state that encoding is only use if the corresponding argument is a file name

Re: [Rd] Use of lm on polynomial models (PR#14014)

2009-10-19 Thread Prof Brian Ripley
Others beware: this address does not accept replies, in defiance of the posting guide. On Mon, 19 Oct 2009, Prof Brian Ripley wrote: RTFM time: h^3 is not the cube of h in an R formula (for that you need I(h^3)). See ?formula, for example. Simpler would be lm(w ~ poly(h, 3, raw=TRUE)) On

Re: [Rd] Sweave output encoding in R-2.10.0beta on Windows (Rgui - Rterm)

2009-10-19 Thread Martin Becker
Dear developers, I am not really sure what causes the difference in the encoding of Sweave Soutput environments between Rgui.exe and R.exe/Rterm.exe in R-2.10.0beta (now R-2.10.0rc), but I suppose that the different behaviour of R-2.9.2pat and R-2.10.0rc is caused by changes concerning

Re: [Rd] to connect R from ejb

2009-10-19 Thread Romain Francois
On 10/19/2009 10:57 AM, pragathichi wrote: How to call R from ejb, can i use Rserve? yes -- Romain Francois Professional R Enthusiast +33(0) 6 28 91 30 30 http://romainfrancois.blog.free.fr |- http://tr.im/BcPw : celebrating R commit #5 |- http://tr.im/ztCu : RGG #158:161: examples of

Re: [Rd] Bug with .First in R 2.10

2009-10-19 Thread Duncan Murdoch
On 10/18/2009 6:58 PM, mark.braving...@csiro.au wrote: I started the same version of R in my usual starting directory (where there's a larger .RData, whose .First is running OK right now) and then did save( .First, file=whatever) I'm not sure exactly where the .First came from before that; I

[Rd] Changing options in R CMD SHLIB

2009-10-19 Thread Fabio Mathias CorrĂȘa
Dear, When trying to use directive OpenMP in my code, I observed that the directive ones were being considered as commentaries. Compiling with command R CMD SHLIB xxx.f95 - fopenmp and calling the function in the R verified that threads was not being considered. I was to observe the options

Re: [Rd] Changing options in R CMD SHLIB

2009-10-19 Thread Prof Brian Ripley
Please see the manual -- 'Writing R Extensions'. If you want to use custom compiler flags, you use a Makevars or personal .Makevars file. Something like PKG_FCFLAGS=-fopenmp (you haven't told us your OS or version of R). On Mon, 19 Oct 2009, Fabio Mathias CorrĂȘa wrote: Dear, When trying