Dear Hadley,
Thank you very much for your interest in the question proposed.
The Con class is a Reference Class. P and k are from class listCon.
I provide in the following lines a little more detail in order to be able
to reproduce the case.
#Class declaration
gCon <- setRefClass("Con", fields=l
Thanks. It worked.
I added the line "_R_CHECK_PKG_SIZES_=no" to /etc/Rcmd_environ (I am the only
user of this computer).
Regarding the 'du' executable, it is found in the first directory in the PATH
environment variable and came with Rtools for R 2.13.
Kind regards,
Stefan McKinnon Høj-Edwards
Dear Hadley and John,
My main interest in the question was to understand what was happening.
Thank you very much for your clarifications and the piece of code.
Manuel
El 11/05/11 18:32, "John Chambers" escribió:
>Good suggestion for this case.
>
>But the general problem is tricky. What abou
Hi,
On Wed, May 11, 2011 at 3:42 PM, Sean Robert McGuffee
wrote:
>
>
>
> On 5/11/11 3:13 PM, "Dan Tenenbaum" wrote:
>
>> On Wed, May 11, 2011 at 12:08 PM, Sean Robert McGuffee
>> wrote:
>>> Hi,
>>> Iąm trying to figure out how to put images into my packageąs help
>>> documentation. Iąve gotten
Thanks everyone for your help,
To summarize a resolution to my issue, it turns out that an image can be
include in a documentation file via html by putting an image file in the
inst/doc directory, for example inst/doc/myPic.png, and then pointing to it
in the man/myHelpPage.Rd file, for example as
On 5/11/11 4:20 PM, "Paul Gilbert" wrote:
> I thought the usual logic was that you might put graphs and images into a
> vignette, and you might refer to the vignette in an Rd help file, but you
> would not put the graphs into the help because ? access to the page cannot
> assume that you actua
> No one is
> checking that there's not a function in ggplot2 that secretly sends me
> all your code and data ;)
Well, it is open source so we could check it. Hopefully you are checking this
yourself, because it would be a criminal offense to do that. ;)
Paul
===
> But the general problem is tricky. What about reference objects contained
> in attributes or slots of other objects, etc? What is needed for total
> copying is a switch in the low-level duplication code that says to copy
> reference objects. It's also possible that one does NOT want all such
> Oh, my ... it's worse than I thought. Not only does it run things so you have
> to wait forever - it actually installs packages behind your back! Wow, now
> there is the nightmare abuse of \Sexpr - the malicious package retrieves
> private data from your machine and deletes your files... and
Thank you for clarifying this
We know there's no need to simulate at that point any more... we just had
limited time since we used the package with our students, next version would
be without simulation... but i guess next version will be without any image
;-).
2011/5/11 Simon Urbanek
> On May
On 11/05/2011 4:45 PM, Sean Robert McGuffee wrote:
On 5/11/11 4:20 PM, "Paul Gilbert" wrote:
I thought the usual logic was that you might put graphs and images into a
vignette, and you might refer to the vignette in an Rd help file, but you
would not put the graphs into the help because ? a
On 11/05/2011 4:35 PM, Simon Urbanek wrote:
On May 11, 2011, at 4:16 PM, Thomas Roth wrote:
Well, it takes 5 seconds on a regular notebook... which i have
Basically there's small simulation going on, so if you don't need any
simulation just a small plot it will go in less then a second. Hav
On May 11, 2011, at 4:43 PM, Thomas Roth wrote:
> i got the original idea from
>
> http://romainfrancois.blog.free.fr/index.php?post/2010/04/03/embed-images-in-Rd-documents
>
> i really won't mind if this is removed. i can put a "clean" package online.
> Didn't mean to do any harm.
>
Well, ex
On 5/11/11 4:20 PM, "Paul Gilbert" wrote:
> I thought the usual logic was that you might put graphs and images into a
> vignette, and you might refer to the vignette in an Rd help file, but you
> would not put the graphs into the help because ? access to the page cannot
> assume that you actua
i got the original idea from
http://romainfrancois.blog.free.fr/index.php?post/2010/04/03/embed-images-in-Rd-documents
i really won't mind if this is removed. i can put a "clean" package online.
Didn't mean to do any harm.
Thomas
2011/5/11 Simon Urbanek
>
> On May 11, 2011, at 4:16 PM, Thomas
On May 11, 2011, at 4:16 PM, Thomas Roth wrote:
> Well, it takes 5 seconds on a regular notebook... which i have
>
> Basically there's small simulation going on, so if you don't need any
> simulation just a small plot it will go in less then a second. Haven't seen
> any other solution :-)
>
I thought the usual logic was that you might put graphs and images into a
vignette, and you might refer to the vignette in an Rd help file, but you would
not put the graphs into the help because ? access to the page cannot assume
that you actual have a graphics device. Of course, examples in the
Well, it takes 5 seconds on a regular notebook... which i have
Basically there's small simulation going on, so if you don't need any
simulation just a small plot it will go in less then a second. Haven't seen
any other solution :-)
it only takes long because there's a simulation going on in the
On May 11, 2011, at 4:00 PM, Thomas Roth wrote:
> Hi,
>
> There's a possibility to put images into documentation files. Have a look at
> the package visualizationTools to see how it works. The original idea is/was
> by Romain Francois as far as i remember.
>
> For instance have a look at the do
Hi,
There's a possibility to put images into documentation files. Have a look at
the package visualizationTools to see how it works. The original idea is/was
by Romain Francois as far as i remember.
For instance have a look at the documentation for the function CLT
HTH
Thomas
2011/5/11 Hadley
> I¹m trying to figure out how to put images into my package¹s help
> documentation. I¹ve gotten to the point where I can put the images in the
> /inst/doc/ directory. I have also gotten to the point where I have package
> checks without any warnings. I couldn¹t find the terms ³picture,² ³image,²
>
On 5/11/11 3:13 PM, "Dan Tenenbaum" wrote:
> On Wed, May 11, 2011 at 12:08 PM, Sean Robert McGuffee
> wrote:
>> Hi,
>> I¹m trying to figure out how to put images into my package¹s help
>> documentation. I¹ve gotten to the point where I can put the images in the
>> /inst/doc/ directory. I have
On Wed, May 11, 2011 at 12:08 PM, Sean Robert McGuffee
wrote:
> Hi,
> I¹m trying to figure out how to put images into my package¹s help
> documentation. I¹ve gotten to the point where I can put the images in the
> /inst/doc/ directory. I have also gotten to the point where I have package
> checks
Hi,
I¹m trying to figure out how to put images into my package¹s help
documentation. I¹ve gotten to the point where I can put the images in the
/inst/doc/ directory. I have also gotten to the point where I have package
checks without any warnings. I couldn¹t find the terms ³picture,² ³image,²
or ³g
Good suggestion for this case.
But the general problem is tricky. What about reference objects
contained in attributes or slots of other objects, etc? What is needed
for total copying is a switch in the low-level duplication code that
says to copy reference objects. It's also possible that
I agree that homage is nice, but I really think you'll get more
confusion from "Rao" than you would from "score". You could always
label the column some other way, right? I mean, it doesn't have to be
exactly the same as the option. FWIW, I also have another vote for
"score" from Alan Agresti,
On 2011-05-11 07:30, peter dalgaard wrote:
On May 11, 2011, at 15:10 , Brett Presnell wrote:
Thanks for doing this Peter. I'll have to install the development
version to try this out.
One suggestion though. I'm pretty confident that plain old "score test"
is a more common terminology than
On May 11, 2011, at 15:10 , Brett Presnell wrote:
>
> Thanks for doing this Peter. I'll have to install the development
> version to try this out.
>
> One suggestion though. I'm pretty confident that plain old "score test"
> is a more common terminology than anything involving Rao's name
> (e
Hi Manuel,
The source code for copy is short and pretty readable, so I'd
encourage you to look at it:
> setRefClass("XXX")$copy
Class method definition for method copy()
function (shallow = FALSE)
{
def <- .refClassDef
value <- new(def)
vEnv <- as.environment(value)
selfEnv <- as.
Economists re-invented the Rao efficient score test, calling it the Lagrange
multiplier test. Please check the history of this test. Rao's paper was
published in 1947. That being said, "score" would be more consistent with
the survival and rms packages.
Frank
Brett Presnell wrote:
>
> Thanks f
Thanks for doing this Peter. I'll have to install the development
version to try this out.
One suggestion though. I'm pretty confident that plain old "score test"
is a more common terminology than anything involving Rao's name
(econometricians even call it the Lagrange multiplier test). In lig
2011/5/10 Manuel Castejón Limas :
> Dear all,
>
> I've just discovered the 'Reference Classes'.
> In a previous attempt ---a year ago--- to re-implement in a Object Oriented
> fashion the AMORE package using S4 classes I strongly felt the need of such
> capability. It's great to have the Reference
On Wed, 11 May 2011, Stefan McKinnon Høj-Edwards wrote:
Hi,
When I run RCMD check on my package, I receive the following error:
C:\R-packages\AnnotationFuncs>RCMD check --no-vignettes AnnotationFuncs
* using log directory 'C:/R-packages/AnnotationFuncs/AnnotationFuncs.Rcheck'
* using R version
Hi,
When I run RCMD check on my package, I receive the following error:
C:\R-packages\AnnotationFuncs>RCMD check --no-vignettes AnnotationFuncs
* using log directory 'C:/R-packages/AnnotationFuncs/AnnotationFuncs.Rcheck'
* using R version 2.13.0 (2011-04-13)
* using platform: i386-pc-mingw32 (32-b
I have just committed some code to the r-devel branch to implement the Rao
efficient score test. This is asymptotically equivalent to the LRT, but there
is some indication that it might have better properties in smaller samples
since it is based more directly on the distribution of the sufficien
Dear all,
>From the documentation of biplot.prcomp:
scale: The variables are scaled by 'lambda ^ scale' and the
observations are scaled by 'lambda ^ (1-scale)' where
'lambda' are the singular values as computed by 'princomp'.
>From the source code of prcomp:
lam <- x$sdev[choi
36 matches
Mail list logo