[R] question about message

Jeff Newmiller jdnewmil at dcn.davis.CA.us
Fri Apr 5 09:09:16 CEST 2013


Please keep your posts on the mailing list... I don't do one-on-one consulting without a contract.

Please carefully re-read my last email and follow its advice before posting again. You may yet have a problem that is on topic here, but until you can give us a reproducible example that runs or fails in R we won't be able to tell.

I will venture to guess that you ought to install and configure LaTeX as suggested on the RSTUDIO website if you want that error to go away... but that is not an R-help topic, and your questions don't indicate that generating PDF files is what you really want to be doing.
---------------------------------------------------------------------------
Jeff Newmiller                        The     .....       .....  Go Live...
DCN:<jdnewmil at dcn.davis.ca.us>        Basics: ##.#.       ##.#.  Live Go...
                                      Live:   OO#.. Dead: OO#..  Playing
Research Engineer (Solar/Batteries            O.O#.       #.O#.  with
/Software/Embedded Controllers)               .OO#.       .OO#.  rocks...1k
--------------------------------------------------------------------------- 
Sent from my phone. Please excuse my brevity.

"Tania Patiño" <taniuxpc at gmail.com> wrote:

>Hello Jeff, the next message appears on RStudio when the document
>should be
>compile to PDF.
>
>Unabled to find specified LaTeX program 'pdfLaTeX' on the system path.
>
>There are libraries that were installed correctly:
>
>library("tools" , lib.loc ="/usr/lib/R/library")
>library("RMySQL" , lib.loc ="/usr/lib/R/site-library")
>library("knitr",
>lib.loc="/home/tarea/R/i686-pc-linux-gnu-library/2.15")
>
>BUT,  RStudio throws a warnning No TeX installation detected. Please
>install TeX before compiling.
>
>Could you tell me please how to fix this issue?
>
>Thank you,
>
>Tania :  )
>
>
>2013/4/4 Jeff Newmiller <jdnewmil at dcn.davis.ca.us>
>
>> a) This is not the RStudio support forum
>>
>> b) Don't post using HTML on this list. It messes up R code. Truly.
>>
>> c) You have quoted a snippet of instructions to follow, but not
>provided
>> what you actually did.
>>
>> d) You also include errors having to do with knitr and latex, which
>seem
>> unrelated to the instructions you snipped. You may well be having
>some
>> problems we can help you with,  but we cannot tell from this info.
>>
>> Please read the Posting Guide (see the footer), and read about making
>> reproducible examples [1], and learn which question you really want
>to ask
>> and ask it in the correct forum. You may find it easier to
>distinguish
>> RStudio problems (off topic here) from R problems (on topic here) if
>you
>> use the RGui program to get things working at first.
>>
>> [1]
>>
>http://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example
>>
>---------------------------------------------------------------------------
>> Jeff Newmiller                        The     .....       .....  Go
>Live...
>> DCN:<jdnewmil at dcn.davis.ca.us>        Basics: ##.#.       ##.#.  Live
>> Go...
>>                                       Live:   OO#.. Dead: OO#.. 
>Playing
>> Research Engineer (Solar/Batteries            O.O#.       #.O#.  with
>> /Software/Embedded Controllers)               .OO#.       .OO#. 
>rocks...1k
>>
>---------------------------------------------------------------------------
>> Sent from my phone. Please excuse my brevity.
>>
>> "Tania Patiño" <taniuxpc at gmail.com> wrote:
>>
>> >Hello R, could you  tell me please, how to fix this issue?
>> >
>> >
>> >
>> >There is installed RStudio-2.15.2 and the next steps where follow
>but
>> >the message appears:
>> >
>> >
>> >
>> >http://cran.r-project.org/web/packages/RMySQL/INSTALL):
>> >>
>> >> 1. Download the RMySQL_0.9.tar.gz file to the folder C:\Program
>> >> Files\R\R-2.15.1\bin\x64
>> >> 2. Open a Windows command line, and change directory to that
>folder
>> >> 3. Enter the following commands:
>> >>       set MYSQL_HOME=C:\\Program Files\\MySQL\\MySQL Server 5.5
>> >>       R CMD INSTALL RMySQL_0.9.tar.gz
>> >
>> >
>> >
>> >
>> >
>> >BUT this message appears
>> >
>> >
>> >
>> >> grDevices::pdf.options(useDingbats = FALSE);
>> >utils::Sweave('proyecto1.Rnw', encoding='ISO8859-1')
>> >Writing to file proyecto1.tex
>> >Processing code chunks with options ...
>> > 1 : echo keep.source term verbatim
>> >
>> >Error:  chunk 1
>> >Error in library(RMySQL) : there is no package called 'RMySQL'
>> >Error en rle(filenames) : 'x' must be an atomic vector
>> >Calls: <Anonymous> -> <Anonymous> -> RweaveTryStop
>> >Ejecuci���n interrumpida
>> >
>> >
>> >
>> >Thank you!
>> >
>> >
>> >
>> >Tania : )
>> >
>> >       [[alternative HTML version deleted]]
>> >
>> >
>> >
>>
>>------------------------------------------------------------------------
>> >
>> >______________________________________________
>> >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.
>>
>>



More information about the R-help mailing list