[Rd] Fwd: Understanding R's Environment concept

2011-07-18 Thread Nipesh Bajaj
*Initially, I posted this topic in R-help however, folks there
suggested me to post this in R-devel forum. Here is my
problem*


Hi all, I am trying to understand the R's environment concept
however the underlying help files look quite technical to me. Can
experts here provide me some more intuitive ideas behind this concept
like, why it is there, what exactly it is doing in R's architecture
etc.?

I mainly need some non-technical intuitive explanation.

Thanks,

__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel


[Rd] Creating package Vignette

2011-07-14 Thread Nipesh Bajaj
Hi all, I was trying to create some vignette files for my newly
developed package, however wondering whether there could be any
simpler way to do so. In writing R extension it is advised to go
through Sweave route, however I have already got a big pdf file and
want to use this as package vignette.

So far I have manually created the inst/doc folder in the main package
skeleton, and put that file into this, which is not working by calling
vignette(file_name) after I build  and load the package. I am
getting following error without opening that pdf file: vignette
'file_name' *not* found

So I like to know, is there any way to use any arbitrary pdf file as vignette?

Any suggestion is highly appreciated.

Thanks,

__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel


[Rd] How to put indentation in Rd documentation?

2011-06-25 Thread Nipesh Bajaj
Dear all, can somebody please guide me on, if I want to put some
**indentation** in my .Rd documentation then, what is the correct
syntax? I have tried with \tab but with that the corresponding HTML
help paged is not openning, saying can not recognize \tab.

Thanks for your help.

__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel


[Rd] How to see source Rd files from the html help pages for R functions

2011-06-15 Thread Nipesh Bajaj
Hello again, I am wondering wherether it is possible to get the source
Rd file, looking at the html help page, for any r function. I am
fighting hard to put few mathematical expressions in my help files for
my custom package. Therefore I would like to learn from some existing
html help pages how to put those expressions.

Any help will be highly appreciated.

Thanks,

__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel


[Rd] How to add a welcome message in Package development?

2011-06-10 Thread Nipesh Bajaj
Dear all, it is my first post in R-devel list, and hope that this is
the right place to ask question related to package development.

I have created my first package in Windows through the usual route.
Now I want to add some ***Welcome message*** as soon as user loads my
package into their R console, using library() function. However I
could not figure out where and how should I add this functionality in
entire package development procedure, and the Writing R Exts
document also seem to be mum on this issue.

Can somebody help me how to add this functionality in the development
route of package. I believe this is possible as in many existing
packages that functionality is present.

Thanks,

__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel