[R] Problem with package development

Joshua Wiley jwiley.psych at gmail.com
Fri Jun 3 06:21:25 CEST 2011


Hi,

I use MikTeX on Windows and it works like a charm.  Here's the link:
http://www.miktex.org/  I chose it after reading the installation
manual:

http://cran.r-project.org/doc/manuals/R-admin.html

The entire thing is very helpful, but particularly note Appendix D,
where you will find that for a complete build including PDF manuals,
you will need LaTeX (MikTeX is one version), and they give a handy
example of what your path might look like.

Cheers,

Josh


On Thu, Jun 2, 2011 at 8:48 PM, Nipesh Bajaj <bajaj141003 at gmail.com> wrote:
> This is how strange? How and from where I would know that I need to
> install something pdflatex separately? Can you point some legitimate
> link which says I need to install that (like Rtools?) Even this link
> 'http://www.math.rug.nl/~trentelman/jacob/pdflatex/pdflatex.html' do
> not provide any download link.
>
> This is my entire PATH variable in wondows (is anything less here?)
> C:\Rtools\bin;C:\Rtools\perl\bin;C:\Rtools\MinGW\bin;C:\Program
> Files\R\R-2.13.0\bin\i386;C:\Program Files\Common Files\Microsoft
> Shared\Windows Live;%GTK_BASEPATH%\bin;%systemroot%\system32;%systemroot%;%systemroot%\system32\wbem;c:\program
> files\common files\roxio shared\10.0\dllshared\;C:\Program
> Files\MATLAB71\bin\win32;C:\LINGO10\;C:\Program Files\Microsoft SQL
> Server\100\DTS\Binn\;C:\Program Files\Microsoft SQL
> Server\100\Tools\Binn\VSShell\Common7\IDE\;C:\Program Files\Microsoft
> SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft Visual Studio
> 9.0\Common7\IDE\PrivateAssemblies\;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;C:\strawberry\c\bin;C:\strawberry\perl\site\bin;C:\strawberry\perl\bin;C:\Program
> Files\Windows Live\Shared;C:\Program Files\QuickTime\QTSystem\
>
> Where it is incomplete? All people keep on saying
> I-need-to-do-something, I-need-to-do-something,
> I-need-to-do-something............ but pathetic to see anybody has
> been able to point specifically I-NEED-TO-DO-WHAT-THING.
>
> On Fri, Jun 3, 2011 at 3:44 AM, Sarah Goslee <sarah.goslee at gmail.com> wrote:
>> I don't use windows, but this error message you report:
>>>>> Error in texi2dvi("Rd2.tex", pdf = (out_ext == "pdf"), quiet = FALSE, :
>>>>> pdflatex is not available
>>>>> Error in running tools:: texi2dvi
>>
>> strongly indicates that you need to install pdflatex, don't you think?
>>
>> If you don't have non-R code (c or fortran) you can probably get away
>> without having the MinGW compiler tools, but you do need the rest of
>> the things listed in the admin manual as required for building
>> packages:
>> http://cran.r-project.org/doc/manuals/R-admin.html#The-Windows-toolset
>>
>> In addition, googling for "building R packages on Windows" turns up
>> very many detailed guides for going through the process, including
>> discussions of what additional software you need and how to install
>> it.
>>
>> Sarah
>>
>> On Thu, Jun 2, 2011 at 6:03 PM, Nipesh Bajaj <bajaj141003 at gmail.com> wrote:
>>> Still I am struggling to get some inputs from the experts here :(
>>> Definitely We can shere our experiences once I am done (really, it
>>> seems to me very hard nut to crack!) I strongly feel that related
>>> documentations should be more Statistician-friendly, than some Engg.
>>> guys
>>>
>>> Thanks,
>>>
>>> On Fri, Jun 3, 2011 at 2:55 AM, steven mosher <moshersteven at gmail.com> wrote:
>>>> I hope you're successful because I'm having issues as well building a simple
>>>> package on
>>>> windows.  maybe when you're finished  you can share back a step by step
>>>> guide.
>>>>
>>>> On Thu, Jun 2, 2011 at 12:21 PM, Nipesh Bajaj <bajaj141003 at gmail.com> wrote:
>>>>>
>>>>> I have run R CMD check trial1 and saw an error. This says that:
>>>>>
>>>>> * checking pdf version of manual without hyperrefs or index  ... ERROR
>>>>> Re-running with no redirection of stdout/stderr.
>>>>> Hmm... looks like a package
>>>>> Error in texi2dvi("Rd2.tex", pdf = (out_ext == "pdf"), quiet = FALSE, :
>>>>> pdflatex is not available
>>>>> Error in running tools:: texi2dvi
>>>>>
>>>>> Does this information hwlp you to suggest something? Please let me
>>>>> know what else I can provide.
>>>>>
>>>>> Thanks,
>>>>>
>> --
>> Sarah Goslee
>> http://www.functionaldiversity.org
>>
>
> ______________________________________________
> R-help at 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.
>



-- 
Joshua Wiley
Ph.D. Student, Health Psychology
University of California, Los Angeles
http://www.joshuawiley.com/



More information about the R-help mailing list