[Rd] Creating a reference class object from a class definition in a package fails

2011-02-02 Thread Jeffrey Horner
Hi, I'm trying to create a package that contains reference class definitions from which users can create reference objects, but there seems to be something awry. My toy example creates an empty package via package.skeleton('TestClass') to which I add the following R code: TestClass <- setRefClas

Re: [Rd] [.raster bug {was "str() on raster objects fails .."}

2011-02-02 Thread Simon Urbanek
On Feb 2, 2011, at 7:00 PM, Paul Murrell wrote: > Hi > > Martin Maechler wrote: >> On Wed, Feb 2, 2011 at 23:30, Simon Urbanek >> wrote: >>> On Feb 1, 2011, at 8:16 PM, Paul Murrell wrote: >>> Hi On 2/02/2011 2:03 p.m., Henrik Bengtsson wrote: > On Tue, Feb 1, 2011 at 4:46

Re: [Rd] [.raster bug {was "str() on raster objects fails .."}

2011-02-02 Thread Paul Murrell
Hi Martin Maechler wrote: On Wed, Feb 2, 2011 at 23:30, Simon Urbanek wrote: On Feb 1, 2011, at 8:16 PM, Paul Murrell wrote: Hi On 2/02/2011 2:03 p.m., Henrik Bengtsson wrote: On Tue, Feb 1, 2011 at 4:46 PM, Paul Murrell wrote: Hi On 1/02/2011 9:22 p.m., Martin Maechler wrote: Henrik B

Re: [Rd] [.raster bug {was "str() on raster objects fails .."}

2011-02-02 Thread Martin Maechler
On Wed, Feb 2, 2011 at 23:30, Simon Urbanek wrote: > > On Feb 1, 2011, at 8:16 PM, Paul Murrell wrote: > >> Hi >> >> On 2/02/2011 2:03 p.m., Henrik Bengtsson wrote: >>> On Tue, Feb 1, 2011 at 4:46 PM, Paul Murrell   >>> wrote: Hi On 1/02/2011 9:22 p.m., Martin Maechler wrote: >>

Re: [Rd] [.raster bug {was "str() on raster objects fails .."}

2011-02-02 Thread Simon Urbanek
On Feb 1, 2011, at 8:16 PM, Paul Murrell wrote: > Hi > > On 2/02/2011 2:03 p.m., Henrik Bengtsson wrote: >> On Tue, Feb 1, 2011 at 4:46 PM, Paul Murrell >> wrote: >>> Hi >>> >>> On 1/02/2011 9:22 p.m., Martin Maechler wrote: > > Henrik Bengtsson > on Mon, 31 Jan 2

Re: [Rd] [.raster bug {was "str() on raster objects fails .."}

2011-02-02 Thread Martin Maechler
On Wed, Feb 2, 2011 at 02:16, Paul Murrell wrote: > Hi > > On 2/02/2011 2:03 p.m., Henrik Bengtsson wrote: >> >> On Tue, Feb 1, 2011 at 4:46 PM, Paul Murrell >>  wrote: >>> >>> Hi >>> >>> On 1/02/2011 9:22 p.m., Martin Maechler wrote: > > Henrik Bengtsson >     on Mon, 31 J

Re: [Rd] Using MathJax in R's help system

2011-02-02 Thread Simon Urbanek
On Feb 2, 2011, at 12:08 PM, Gong-Yi Liao wrote: > > I think your "another CRAN package for mathjax" approach is better > > than modifying the base R's code. I am trying to find the possible > > way to implement it. > Note that R has already an extensible http server included (it's used for

Re: [Rd] Using MathJax in R's help system

2011-02-02 Thread Gong-Yi Liao
I think your "another CRAN package for mathjax" approach is better than modifying the base R's code. I am trying to find the possible way to implement it. On Wed, 2011-02-02 at 10:38 -0600, Hadley Wickham wrote: > > But the user still needs to get it in some way - an additional > installation

Re: [Rd] Using MathJax in R's help system

2011-02-02 Thread Gong-Yi Liao
Thank you for comments, 1. About MathJax's sheer size: I think we can consider the following two cases: A. The user starts nanohttpd on his/her own PC and read the help files in html (i.e.> options(help_type="html", browser="xdg_open")

Re: [Rd] Using MathJax in R's help system

2011-02-02 Thread Hadley Wickham
On Wed, Feb 2, 2011 at 10:33 AM, Gong-Yi Liao wrote: > Thank you for comments, > >   1.   About MathJax's sheer size: > >        I think we can consider the following two cases: > >        A.  The user starts nanohttpd on his/her own PC and read the >            help files in html >            (i.

Re: [Rd] Warning: you may need to use R-patched with recent R distros

2011-02-02 Thread Dominick Samperi
On Wed, Feb 2, 2011 at 6:03 AM, Prof Brian Ripley wrote: > On Wed, 2 Feb 2011, Simone Giannerini wrote: > >> I see the problem on my OpenSuse 11.3 box >> >> gcc (SUSE Linux) 4.5.0 20100604 [gcc-4_5-branch revision 160292] >> >> > sessionInfo() >> R version 2.12.1 Patched (2011-01-10 r53953) > > Pl

Re: [Rd] Using MathJax in R's help system

2011-02-02 Thread Hadley Wickham
Two comments: * one problem with mathjax is it's sheer size: 130 meg and >30,000 files. A hosted solution is in the works and will hopefully resolve that situations * you might also want to look at the helpr package, which is a ground up rewrite of the R documentation html renderer to provide

Re: [Rd] Using MathJax in R's help system

2011-02-02 Thread Ken.Williams
Very nice. I think this is a great idea too. -- Ken Williams Senior Research Scientist Thomson Reuters Phone: 651-848-7712 ken.willi...@thomsonreuters.com http://labs.thomsonreuters.com On 2/2/11 2:00 AM, "GONG-YI LIAO" wrote: >Hi, > > I am doing a small experiment to test if I can use

Re: [Rd] Warning: you may need to use R-patched with recent R distros

2011-02-02 Thread Simone Giannerini
I can confirm that the problem is not present anymore in R-patched, same box as before, compiled with standard optimizations flags. thank you Simone gcc (SUSE Linux) 4.5.0 20100604 [gcc-4_5-branch revision 160292] > sessionInfo() R version 2.12.1 Patched (2011-02-01 r54197) Platform: x86_64-un

Re: [Rd] Warning: you may need to use R-patched with recent R distros

2011-02-02 Thread Prof Brian Ripley
On Wed, 2 Feb 2011, Simone Giannerini wrote: I see the problem on my OpenSuse 11.3 box gcc (SUSE Linux) 4.5.0 20100604 [gcc-4_5-branch revision 160292] > sessionInfo() R version 2.12.1 Patched (2011-01-10 r53953) Please update this and let us know if it persists with current R-patched. P

Re: [Rd] Warning: you may need to use R-patched with recent R distros

2011-02-02 Thread Simone Giannerini
I see the problem on my OpenSuse 11.3 box gcc (SUSE Linux) 4.5.0 20100604 [gcc-4_5-branch revision 160292] > sessionInfo() R version 2.12.1 Patched (2011-01-10 r53953) Platform: x86_64-unknown-linux-gnu (64-bit) locale: [1] LC_CTYPE=en_US.UTF-8 LC_NUMERIC=C [3] LC_TIME=en_US.UTF-8