Displaying 7 results from an estimated 7 matches for "anexample".
2004 Nov 20
0
Creating vignette pdf on Windows
...hat "R CMD build will
automatically create PDF versions of the vignettes for distribution"
however, I have not been successful on Windows 2.0.1 beta.
I tried creating a simple package by entering the code in
the ?package.skeleton example then adding the Rnw file from
the utils package to AnExample\inst\doc but when I ran
R CMD build
it did not seem to create a tex or pdf file. What am I
doing wrong?
... In R
R> f <- function(x,y) x+y
R> g <- function(x,y) x-y
R> d <- data.frame(a=1,b=2)
R> e <- rnorm(1000)
R> pack...
2003 Sep 02
2
FW: Creating a Package with Windows XP.
...ofessional.
> I have followed the package.skeleton example and have downloaded the
> necessary files found at http://www.stats.ox.ac.uk/pub/Rtools/tools.zip.
>
> and perl5, available via http://www.activestate.com/Products/ActivePerl/.
>
> When I run the command "Rcmd BUILD AnExample" I get the following output
> and error message:
>
>
> C:\Program Files\R\rw1071\bin>Rcmd BUILD AnExample
> * checking for file 'AnExample/DESCRIPTION' ... OK
> * preparing 'AnExample':
> * cleaning src
> * checking whether 'INDEX' is up-to...
2004 Sep 28
2
(no subject)
...n.
******************************
1). I type these command:
f <- function(x,y) x+y
g <- function(x,y) x-y
d <- data.frame(a=1,b=2)
e <- rnorm(1000)
package.skeleton(list=c("f","g","d","e"), name="AnExample")
This is an example in "package.skeleton" . And I find a new folder "AnExample" created in "D:\ R\ rw109\ ". Enter the "AnExample" folder , there are 4 folders "data", "mam", "R","src" and 2 files "DESCRIPT...
2003 Sep 02
0
: Creating a Package with Windows XP.
...ofessional.
> I have followed the package.skeleton example and have downloaded the
> necessary files found at http://www.stats.ox.ac.uk/pub/Rtools/tools.zip.
>
> and perl5, available via http://www.activestate.com/Products/ActivePerl/.
>
> When I run the command "Rcmd BUILD AnExample" I get the following output
> and error message:
>
>
> C:\Program Files\R\rw1071\bin>Rcmd BUILD AnExample
> * checking for file 'AnExample/DESCRIPTION' ... OK
> * preparing 'AnExample':
> * cleaning src
> * checking whether 'INDEX' is up-to...
2004 Jul 12
1
Creating a minimal package
...t; From: Gabor Grothendieck
>
[snip]
>
> The objective should be that creating a package is as easy as this:
>
> f <- function()1; g <- function()2; d <- 3; e <- 4:5
> package.skeleton(list=c("f","g","d","e"), name="AnExample")
> library(AnExample)
> f()
>
> which means that the package needs to be inserted where library will
> find it. It should not be necessary to have an understanding of this.
To the best of my knowledge (which is not saying much, admittedly) no
version of R on any OS w...
2003 Dec 29
2
Rcmd check package failure
Hi all,
recently, i tried making a package with my own functions - which worked fine, until i reinstalled MikTex (in Win2000). Now i get the error message:
* checking for working latex ... NO
* using log directory 'C:/Rlibs/R4PG.Rcheck'
* checking for file 'R4PG/DESCRIPTION' ... OK
* checking if this is a source package ... OK
ERROR
Installation failed.
But i set the path to
2004 Nov 07
4
writing a simple package in R 2.0 under Windows XP
...ols functions delivered work fine (ex: ls, etc...)
R has been installed "at the root" of C:\ to avoid any blank in directory
names: C:\R\rw2000
The PATH has been defined as environment variable in Windows XP as:
C:\Perl\Rtools;C:\Perl\bin;...;C:\R\rw2000\bin
A trial package named "AnExample" has been prepared as indicated in the
example of package.skeleton() of the library "utils" and put in C:\
from there I have typewritten:
C:\>RCMD build AnExample
With this result:
Can't open perl script "C:\R\rw2000/bin/build": No such file or directory
I coul...