Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9137883
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T09:11:05+00:00 2026-06-17T09:11:05+00:00

I am trying to build a package in R . I made the skeleton,

  • 0

I am trying to build a package in R. I made the skeleton, and ran the command R CMD check package1. I got an an error described here.
I followed the solution steps, and the results are:

  1. package devtools not available for R 2.15.1

  2. punched in R CMD Rd2pdf package1.

Hmm.. Looks like a package
Converting Rd files to LaTeX
Creating pdf output from LaTeX
Error in texi2dvi(file=file, pdf=true, clean=clean, quiet=quiet, : pdflatex not available
Error in running tools::texi2pdf
  1. I looked up this amongst other things, installed the complete tex live & MiKTeX. Same error message showed up.
  2. I navigated to the directory where pdflatex is located and tried running the command from there. Didn’t help.

Is there something I’m missing here, or is there a workaround? Or maybe, Is there a way to suppress pdf generation during package creation?

UPDATE: This error was not thrown when I tried it in LINUX (CentOS).

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T09:11:05+00:00Added an answer on June 17, 2026 at 9:11 am

    Although you have installed MikTeX under Windows, this does not make it available to R. You need to add the location of the latex executables to your PATH environment variable. How to do this exactly depends on your Windows version. For example, this link describes how to do this for Windows 7. Googling for change environment variables (windows 7|windows xp|windows 95) will tell you how to change your environment variables.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to build a Debian package, but I've got this weird pseudo-directory problem.
I am trying to build a .rpm package. I have just followed the steps
I am trying to build a package from source and ./configure tells me I
I'm trying to find the best way to build/package an Android app for 6+
I am trying to build a package (libnet) in Solaris and I found that
I'm trying to build a netowrk app. I have succesfully made a server that
I'm trying to build a Web Deploy package via msbuild on a new machine
hi Trying to build my own spring application,I made a page to input name
I'm trying to build a Python package (pyregion) that contains a *.pyx file and
I am trying to build an R package so reading the manual on CRAN.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.