Re: [R] pdf package help files

2010-12-18 Thread Duncan Murdoch

On 18/12/2010 5:46 PM, Joel Schwartz wrote:

I think that should have been

help.start()


Yes, thanks.  What I need is a Thunderbird plug-in that understands R code.

Duncan Murdoch




Joel


-Original Message-
From: r-help-boun...@r-project.org
[mailto:r-help-boun...@r-project.org] On Behalf Of Spencer Graves
Sent: Saturday, December 18, 2010 1:35 PM
To: Duncan Murdoch
Cc: r-help@r-project.org; eric
Subject: Re: [R] pdf package help files

Hi, Duncan:


I'm confused:


help_start()
Error: could not find function "help_start"


Thanks,
Spencer
sessionInfo()
R version 2.12.0 (2010-10-15)
Platform: i386-pc-mingw32/i386 (32-bit)

locale:
[1] LC_COLLATE=English_United States.1252 [2]
LC_CTYPE=English_United States.1252 [3]
LC_MONETARY=English_United States.1252 [4] LC_NUMERIC=C [5]
LC_TIME=English_United States.1252

attached base packages:
[1] stats graphics  grDevices utils datasets  methods   base
  >


On 12/18/2010 1:19 PM, Duncan Murdoch wrote:

On 18/12/2010 2:20 PM, eric wrote:


Newbie here...just learning

Do most packages come with pdf versions of the help files

? If yes,

how to I access the entire pdf file to be able to print it

? Is there

a standard command for that ?


No, the pdf version is not normally installed.  If you want

to see the

same content on a locally installed package, run

help_start()

then browse to the package.  The pdf files are just concatenated
versions of all the help pages shown in that index.

You can produce the pdf using

R CMD Rd2dvi --pdf foo

where foo is a directory holding the source code to the package.
Alternatively, as others have suggested, just look at the

PDF on CRAN.


Duncan Murdoch

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide
http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.



__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide
http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.




__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


Re: [R] pdf package help files

2010-12-18 Thread Spencer Graves

Hi, Joel:


  Thanks.  That doubtless was what Duncan meant.  "help.start()" -> 
Reference:  Packages provides access to HTML versions of all the help 
pages from all the packages.



  However, it does NOT provide access to the PDF version of the 
help pages for a package.  For that, you need to go to CRAN or run "R 
CMD Rd2dvi --pdf foo", as Duncan suggested.  And for the latter to work, 
you need to source for the package, which you can get from CRAN for CRAN 
packages.



  Best Wishes,
  Spencer


On 12/18/2010 2:46 PM, Joel Schwartz wrote:

I think that should have been

help.start()


Joel


-Original Message-
From: r-help-boun...@r-project.org
[mailto:r-help-boun...@r-project.org] On Behalf Of Spencer Graves
Sent: Saturday, December 18, 2010 1:35 PM
To: Duncan Murdoch
Cc: r-help@r-project.org; eric
Subject: Re: [R] pdf package help files

Hi, Duncan:


I'm confused:


help_start()
Error: could not find function "help_start"


Thanks,
Spencer
sessionInfo()
R version 2.12.0 (2010-10-15)
Platform: i386-pc-mingw32/i386 (32-bit)

locale:
[1] LC_COLLATE=English_United States.1252 [2]
LC_CTYPE=English_United States.1252 [3]
LC_MONETARY=English_United States.1252 [4] LC_NUMERIC=C [5]
LC_TIME=English_United States.1252

attached base packages:
[1] stats graphics  grDevices utils datasets  methods   base
  >


On 12/18/2010 1:19 PM, Duncan Murdoch wrote:

On 18/12/2010 2:20 PM, eric wrote:

Newbie here...just learning

Do most packages come with pdf versions of the help files

? If yes,

how to I access the entire pdf file to be able to print it

? Is there

a standard command for that ?

No, the pdf version is not normally installed.  If you want

to see the

same content on a locally installed package, run

help_start()

then browse to the package.  The pdf files are just concatenated
versions of all the help pages shown in that index.

You can produce the pdf using

R CMD Rd2dvi --pdf foo

where foo is a directory holding the source code to the package.
Alternatively, as others have suggested, just look at the

PDF on CRAN.

Duncan Murdoch

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide
http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.





__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


Re: [R] pdf package help files

2010-12-18 Thread kamel gaanoun
Hi,

if your question is : how to get help in a pdf file

So do this :

options(help_type="pdf")
your next ?function will be in a pdf file with the name of the function.

2010/12/18 Joel Schwartz 

> I think that should have been
>
> help.start()
>
>
> Joel
>
> > -Original Message-
> > From: r-help-boun...@r-project.org
> > [mailto:r-help-boun...@r-project.org] On Behalf Of Spencer Graves
> > Sent: Saturday, December 18, 2010 1:35 PM
> > To: Duncan Murdoch
> > Cc: r-help@r-project.org; eric
> > Subject: Re: [R] pdf package help files
> >
> > Hi, Duncan:
> >
> >
> >I'm confused:
> >
> >
> > help_start()
> > Error: could not find function "help_start"
> >
> >
> >Thanks,
> >Spencer
> > sessionInfo()
> > R version 2.12.0 (2010-10-15)
> > Platform: i386-pc-mingw32/i386 (32-bit)
> >
> > locale:
> > [1] LC_COLLATE=English_United States.1252 [2]
> > LC_CTYPE=English_United States.1252 [3]
> > LC_MONETARY=English_United States.1252 [4] LC_NUMERIC=C [5]
> > LC_TIME=English_United States.1252
> >
> > attached base packages:
> > [1] stats graphics  grDevices utils datasets  methods   base
> >  >
> >
> >
> > On 12/18/2010 1:19 PM, Duncan Murdoch wrote:
> > > On 18/12/2010 2:20 PM, eric wrote:
> > >>
> > >> Newbie here...just learning
> > >>
> > >> Do most packages come with pdf versions of the help files
> > ? If yes,
> > >> how to I access the entire pdf file to be able to print it
> > ? Is there
> > >> a standard command for that ?
> > >
> > > No, the pdf version is not normally installed.  If you want
> > to see the
> > > same content on a locally installed package, run
> > >
> > > help_start()
> > >
> > > then browse to the package.  The pdf files are just concatenated
> > > versions of all the help pages shown in that index.
> > >
> > > You can produce the pdf using
> > >
> > > R CMD Rd2dvi --pdf foo
> > >
> > > where foo is a directory holding the source code to the package.
> > > Alternatively, as others have suggested, just look at the
> > PDF on CRAN.
> > >
> > > Duncan Murdoch
> > >
> > > __
> > > R-help@r-project.org mailing list
> > > https://stat.ethz.ch/mailman/listinfo/r-help
> > > PLEASE do read the posting guide
> > > http://www.R-project.org/posting-guide.html
> > > and provide commented, minimal, self-contained, reproducible code.
> > >
> >
> > __
> > R-help@r-project.org mailing list
> > https://stat.ethz.ch/mailman/listinfo/r-help
> > PLEASE do read the posting guide
> > http://www.R-project.org/posting-guide.html
> > and provide commented, minimal, self-contained, reproducible code.
> >
> >
>
> __
> R-help@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
> http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>



-- 
Kamel Gaanoun
(+33) (0)6.76.04.65.77

[[alternative HTML version deleted]]

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


Re: [R] pdf package help files

2010-12-18 Thread Joel Schwartz
I think that should have been

help.start() 


Joel

> -Original Message-
> From: r-help-boun...@r-project.org 
> [mailto:r-help-boun...@r-project.org] On Behalf Of Spencer Graves
> Sent: Saturday, December 18, 2010 1:35 PM
> To: Duncan Murdoch
> Cc: r-help@r-project.org; eric
> Subject: Re: [R] pdf package help files
> 
> Hi, Duncan:
> 
> 
>I'm confused:
> 
> 
> help_start()
> Error: could not find function "help_start"
> 
> 
>Thanks,
>Spencer
> sessionInfo()
> R version 2.12.0 (2010-10-15)
> Platform: i386-pc-mingw32/i386 (32-bit)
> 
> locale:
> [1] LC_COLLATE=English_United States.1252 [2] 
> LC_CTYPE=English_United States.1252 [3] 
> LC_MONETARY=English_United States.1252 [4] LC_NUMERIC=C [5] 
> LC_TIME=English_United States.1252
> 
> attached base packages:
> [1] stats graphics  grDevices utils datasets  methods   base
>  >
> 
> 
> On 12/18/2010 1:19 PM, Duncan Murdoch wrote:
> > On 18/12/2010 2:20 PM, eric wrote:
> >>
> >> Newbie here...just learning
> >>
> >> Do most packages come with pdf versions of the help files 
> ? If yes, 
> >> how to I access the entire pdf file to be able to print it 
> ? Is there 
> >> a standard command for that ?
> >
> > No, the pdf version is not normally installed.  If you want 
> to see the 
> > same content on a locally installed package, run
> >
> > help_start()
> >
> > then browse to the package.  The pdf files are just concatenated 
> > versions of all the help pages shown in that index.
> >
> > You can produce the pdf using
> >
> > R CMD Rd2dvi --pdf foo
> >
> > where foo is a directory holding the source code to the package. 
> > Alternatively, as others have suggested, just look at the 
> PDF on CRAN.
> >
> > Duncan Murdoch
> >
> > __
> > R-help@r-project.org mailing list
> > https://stat.ethz.ch/mailman/listinfo/r-help
> > PLEASE do read the posting guide
> > http://www.R-project.org/posting-guide.html
> > and provide commented, minimal, self-contained, reproducible code.
> >
> 
> __
> R-help@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide 
> http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
> 
>

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


Re: [R] pdf package help files

2010-12-18 Thread Spencer Graves

Hi, Duncan:


  I'm confused:


help_start()
Error: could not find function "help_start"


  Thanks,
  Spencer
sessionInfo()
R version 2.12.0 (2010-10-15)
Platform: i386-pc-mingw32/i386 (32-bit)

locale:
[1] LC_COLLATE=English_United States.1252
[2] LC_CTYPE=English_United States.1252
[3] LC_MONETARY=English_United States.1252
[4] LC_NUMERIC=C
[5] LC_TIME=English_United States.1252

attached base packages:
[1] stats graphics  grDevices utils datasets  methods   base
>


On 12/18/2010 1:19 PM, Duncan Murdoch wrote:

On 18/12/2010 2:20 PM, eric wrote:


Newbie here...just learning

Do most packages come with pdf versions of the help files ? If yes, 
how to I

access the entire pdf file to be able to print it ? Is there a standard
command for that ?


No, the pdf version is not normally installed.  If you want to see the 
same content on a locally installed package, run


help_start()

then browse to the package.  The pdf files are just concatenated 
versions of all the help pages shown in that index.


You can produce the pdf using

R CMD Rd2dvi --pdf foo

where foo is a directory holding the source code to the package. 
Alternatively, as others have suggested, just look at the PDF on CRAN.


Duncan Murdoch

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide 
http://www.R-project.org/posting-guide.html

and provide commented, minimal, self-contained, reproducible code.



__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


Re: [R] pdf package help files

2010-12-18 Thread Duncan Murdoch

On 18/12/2010 2:20 PM, eric wrote:


Newbie here...just learning

Do most packages come with pdf versions of the help files ? If yes, how to I
access the entire pdf file to be able to print it ? Is there a standard
command for that ?


No, the pdf version is not normally installed.  If you want to see the 
same content on a locally installed package, run


help_start()

then browse to the package.  The pdf files are just concatenated 
versions of all the help pages shown in that index.


You can produce the pdf using

R CMD Rd2dvi --pdf foo

where foo is a directory holding the source code to the package. 
Alternatively, as others have suggested, just look at the PDF on CRAN.


Duncan Murdoch

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


Re: [R] pdf package help files

2010-12-18 Thread Spencer Graves
  The best way to get a pdf version of any CRAN package is to your 
favorite CRAN mirror, click "Packages", then find the package of 
interest.  "Reference manual" is a pdf version of the package 
documentation.  This also includes other information such as Vignettes, 
which can be extremely valuable for getting an introduction to the package.



  The standard "R CMD check" process for compiling a package 
produces a pdf version of the manual.  However, this is not normally 
retained with the installed package.



  Hope this helps.
  Spencer


On 12/18/2010 12:44 PM, David Winsemius wrote:


On Dec 18, 2010, at 2:20 PM, eric wrote:



Newbie here...just learning

Do most packages come with pdf versions of the help files ? If yes, 
how to I

access the entire pdf file to be able to print it ? Is there a standard
command for that ?


There may be one but I don't know it if there is. The pdf files to 
which you refer are usually in the doc directory for each package (and 
can be found at CRAN as well). For example on my standard nstallation 
of R2.12 the pdf describing the gsubfn package is found it in:
/Library/Frameworks/R.framework/Versions/2.12/Resources/library/gsubfn/doc/gsubfn.pdf 



Each OS is different but once you find the root of R's installation 
there should be "library" and package sub-directories with "doc" 
sub-sub-directories. Not all packages have such a directory. The first 
one I looked in was lattice and I could not find one.




--
View this message in context: 
http://r.789695.n4.nabble.com/pdf-package-help-files-tp3093926p3093926.html

Sent from the R help mailing list archive at Nabble.com.

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide 
http://www.R-project.org/posting-guide.html

and provide commented, minimal, self-contained, reproducible code.


David Winsemius, MD
West Hartford, CT


__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


Re: [R] pdf package help files

2010-12-18 Thread David Winsemius


On Dec 18, 2010, at 2:20 PM, eric wrote:



Newbie here...just learning

Do most packages come with pdf versions of the help files ? If yes,  
how to I
access the entire pdf file to be able to print it ? Is there a  
standard

command for that ?


There may be one but I don't know it if there is. The pdf files to  
which you refer are usually in the doc directory for each package (and  
can be found at CRAN as well). For example on my standard nstallation  
of R2.12 the pdf describing the gsubfn package is found it in:
/Library/Frameworks/R.framework/Versions/2.12/Resources/library/gsubfn/ 
doc/gsubfn.pdf


Each OS is different but once you find the root of R's installation  
there should be "library" and package sub-directories with "doc" sub- 
sub-directories. Not all packages have such a directory. The first one  
I looked in was lattice and I could not find one.




--
View this message in context: 
http://r.789695.n4.nabble.com/pdf-package-help-files-tp3093926p3093926.html
Sent from the R help mailing list archive at Nabble.com.

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


David Winsemius, MD
West Hartford, CT

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


[R] pdf package help files

2010-12-18 Thread eric

Newbie here...just learning

Do most packages come with pdf versions of the help files ? If yes, how to I
access the entire pdf file to be able to print it ? Is there a standard
command for that ? 
-- 
View this message in context: 
http://r.789695.n4.nabble.com/pdf-package-help-files-tp3093926p3093926.html
Sent from the R help mailing list archive at Nabble.com.

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.