[R] (no subject)
Uwe Ligges
ligges at statistik.uni-dortmund.de
Tue Sep 28 10:19:13 CEST 2004
YiYao_Jiang wrote:
> ******************************
> Could you perhaps describe exactly what "can't compile" means, please?
> It's hard to know what you've tried without a little more information.
> ******************************
>
> 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 "DESCRIPTION" and "README".
>
> 2). I type "> search()" but no "AnExample". What should I do to setup the package?
>
> Thanks.
As you already have been asked:
Please read the manual "Writing R Extensions"! It's in there!
Also read the content of the file .../src/gnuwin32/readme.packages how
to setup an appropriate environment (since you are on Windows, what you
have not told us before).
Uwe Ligges
>
> Best Regards
>
> YiYao Jiang
>
> Product Division/ product Testing Department
> Semiconductor Manufacturing International Corporation
> 18 ZhangJiang Road, PuDong New Area, Shanghai ZIP: 201203
> Tel:86-21-5080-2000 Ext. 15173
>
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
More information about the R-help
mailing list