Hi, Duncan & Uwe:

Thanks for your suggestions. I uninstalled and reinstalled MiKTeX, and the problem went away.


MiKTeX seems to malfunction when installed anyplace but the default location. Because of security problems I had had with Vista, I've been installing things like R and MiKTeX under my user account, not the default "C:/Program Files (x86)". When I reinstalled it, I put it in the default location and eliminated this problem.


      Best Wishes,
      Spencer


On 12/17/2011 2:08 PM, Duncan Murdoch wrote:
On 11-12-17 11:26 AM, Spencer Graves wrote:
On 12/17/2011 4:27 AM, Duncan Murdoch wrote:
On 11-12-17 1:43 AM, Spencer Graves wrote:
Hello:


       What do you suggest I do to overcome "LaTeX Error:  File
'inconsolata.sty' not found", which I got running "R CMD check" on a
package using Rtools I downloaded yesterday?

That file should be installable as part of your LaTeX distribution.
If you are using MikTeX, you can install it from the MikTeX Package
Manager as part of package "inconsolata".


        Thanks.  I found the MiKTeX Package Manager, selected
"inconsolata", then Task ->  Install.  This produced, "MiKTeX Problem
Report:  Failure when receiving data from the peer".  I copied the
report to clipboard and pasted it (below).  All the directories there
seem to exist.  What else do you suggest?  (This is on a Windows 7
notebook.  Is this a feature of Windows 7?  I installed MiKTeX under
"C:\Users\sgraves" hoping to minimize these kinds of problems.)

Like Uwe, it works for me, so I don't really know what's going wrong for you. I would guess from the message that it is the download that is failing, rather than a problem on your system: you might want to just try again, or specify a different repository (via menus, "Repository | Change package repository..."). You might also need to specify a proxy, if that's how your system is set up. (You do this in "Connection settings" in the change repository dialog.)

Beyond that, I'd echo Uwe's suggestion to ask on a MikTeX list.

Duncan Murdoch



        Thanks,
        Spencer


MiKTeX Problem Report:  Failure when receiving data from the peer:


MiKTeX Problem Report
Message: Failure when receiving data from the peer
Data: mmk,
Source: Libraries\MiKTeX\PackageManager\CurlWebSession.cpp
Line: 402
MiKTeX: 2.9
OS: Microsoft Windows 7 Home Premium Edition, 64-bit (build 7600)
Invokers: explorer
SystemAdmin: yes
PowerUser: no
Root0: C:\Users\sgraves\AppData\Roaming\MiKTeX\2.9
Root1: C:\Users\sgraves\AppData\Local\MiKTeX\2.9
Root2: C:\ProgramData\MiKTeX\2.9
Root3: C:\Users\sgraves\pgms\MiKTeX\MiKTeX2.9x64
UserInstall: C:\Users\sgraves\AppData\Roaming\MiKTeX\2.9
UserConfig: C:\Users\sgraves\AppData\Roaming\MiKTeX\2.9
UserData: C:\Users\sgraves\AppData\Local\MiKTeX\2.9
CommonInstall: C:\Users\sgraves\pgms\MiKTeX\MiKTeX2.9x64
CommonConfig: C:\ProgramData\MiKTeX\2.9
CommonData: C:\ProgramData\MiKTeX\2.9


Duncan Murdoch



       I found a similar question to R-Help Nov. 3 (URL below), but
I've not
yet had success in replicating the solution outlined there.  I tried
several different sets of instructions for installing LaTeX packages,
none of which seemed to work for me.  I'm running Windows 7
[sessionInfo() below].


       Suggestions?
       Thanks,
       Spencer Graves


http://r.789695.n4.nabble.com/Problem-with-R-CMD-check-and-the-inconsolata-font-business-td3984596.html



R version 2.14.0 (2011-10-31)
Platform: x86_64-pc-mingw32/x64 (64-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

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



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


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

Reply via email to