Hi, I'm having some problems installing packages from the source files on Windows, using R CMD INSTALL pkg. I'm running WindowsXP, and I've followed the instructions as per the README.packages file from the R installation. I ran into a hitch, with the install failing following a "hhc: not found" warning. I figured out that this was related to the html help workshop. Adding the HHW folder to the Path variable didn't help. README.packages mentions that HHW should be in the same drive as the other tools, which it is, but in a different folder. So I put a copy of hhc.exe in the Rtools/bin folder and everything seems to have worked out. My question is, is this going to cause me problems later on? Should I transfer all the HHW files to the Rtools/bin? Is there a better way to arrange the HHW files? I'm installing from source files instead of using the automated GUI feature because I want to read the original code to see how experienced users write functions. I'm using version 2.0.1 Patched (2005-04-16). Thanks for your time, Tyler -- Tyler Smith PhD Candidate Department of Plant Science McGill University tyler.smith at mail.mcgill.ca
I recall having this problem. I think I had a version that didn't work. Did you download the htmlhelp.exe from http://www.murdoch-sutherland.com/Rtools/ . The path does not matter as I have it in a folder on it's own. I think that I also had a path to the version that didn't work and I had to get my IT people to let me put my location first. Tom> -----Original Message----- > From: r-help-bounces at stat.math.ethz.ch > [mailto:r-help-bounces at stat.math.ethz.ch]On Behalf Of Tyler Smith > Sent: Friday, 22 April 2005 1:27 PM > To: R-Help > Subject: [R] Installing packages from source on WindowsXP > > > Hi, > > I'm having some problems installing packages from the source files on > Windows, using R CMD INSTALL pkg. I'm running WindowsXP, and I've > followed the instructions as per the README.packages file from the R > installation. I ran into a hitch, with the install failing > following a > "hhc: not found" warning. I figured out that this was related to the > html help workshop. Adding the HHW folder to the Path variable didn't > help. README.packages mentions that HHW should be in the same > drive as > the other tools, which it is, but in a different folder. So I > put a copy > of hhc.exe in the Rtools/bin folder and everything seems to > have worked out. > > My question is, is this going to cause me problems later on? Should I > transfer all the HHW files to the Rtools/bin? Is there a > better way to > arrange the HHW files? > > I'm installing from source files instead of using the automated GUI > feature because I want to read the original code to see how > experienced > users write functions. I'm using version 2.0.1 Patched (2005-04-16). > > Thanks for your time, > > Tyler > > -- > Tyler Smith > > PhD Candidate > Department of Plant Science > McGill University > > tyler.smith at mail.mcgill.ca > > ______________________________________________ > R-help at stat.math.ethz.ch mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide! > http://www.R-project.org/posting-guide.html >
Tyler Smith wrote:> Hi, > > I'm having some problems installing packages from the source files on > Windows, using R CMD INSTALL pkg. I'm running WindowsXP, and I've > followed the instructions as per the README.packages file from the R > installation. I ran into a hitch, with the install failing following a > "hhc: not found" warning. I figured out that this was related to the > html help workshop. Adding the HHW folder to the Path variable didn't > help. README.packages mentions that HHW should be in the same drive as > the other tools, which it is, but in a different folder. So I put a copy > of hhc.exe in the Rtools/bin folder and everything seems to have worked > out. > > My question is, is this going to cause me problems later on? Should INo, only if you want to update and forget to update that file as well. Uwe Ligges> transfer all the HHW files to the Rtools/bin? Is there a better way to > arrange the HHW files? > > I'm installing from source files instead of using the automated GUI > feature because I want to read the original code to see how experienced > users write functions. I'm using version 2.0.1 Patched (2005-04-16). > > Thanks for your time, > > Tyler >
Ok, I uninstalled my copy of HHW (and deleted the extra file from the Rtools/bin folder), and reinstalled from the murdoch-sutherland site. From what I read there I think it's the same version, and I actually get a warning that I already have a newer version installed on my machine (1.3.1) anyways. Just for good measure I installed it to C:\HTMLHelpWorkshop, instead of the default location in Program Files\HTML Help Workshop, in case the spaces in the folder names was an issue. I updated the Path variable and voila, everything seems to be working fine. So, whatever the actual problem was, it's gone now. Magic. Thanks!! On a related note, now that I seem to be on top of installing packages from source files, is there any advantage to installing the R software itself from source files? From the help files that sounds even trickier... Tyler -- Tyler Smith PhD Candidate Department of Plant Science McGill University CANADA tyler.smith at mail.mcgill.ca