loading RMark help files

posts related to the RMark library, which may not be of general interest to users of 'classic' MARK

loading RMark help files

Postby mcallen » Wed Dec 16, 2009 10:06 am

From the RMark download site:
The rprofile.site file is also a good place to make generic modifications. For example, adding the command options(chmhelp=TRUE) will mean that the help command will use the compiled help tool for windows. Or you can use options(htmlhelp=TRUE) to use the non-compiled html help. Either of these is better than using the default which does not allow hyperlinks. If you set up either help option you can enter “?mark” to see all the help categories for RMark.


I have added the text "options(chmhelp=TRUE)" to the rprofile.site file, but still am unable to load any RMark help files in R (e.g., ?mark, ?mallard). I get this error message:

Error in print.help_files_with_topic(x) :
No text help for 'mark' is available:
corresponding file is missing
In addition: Warning message:
In print.help_files_with_topic("C:/Users/Mike/Documents/R/win-library/2.9/RMark/chm/mark") :
No CHM help for 'mark' in package 'RMark' is available:
the CHM file for the package is missing


Am I doing this right, or is there another way to access the help files?
mcallen
 
Posts: 31
Joined: Thu Nov 19, 2009 1:45 pm
Location: New Jersey

Postby jlaake » Wed Dec 16, 2009 10:16 am

I need to change the documentation and web site info. The newest version of RMark was built with R2.10 and they have dropped the compiled help option because Microsoft is no longer supporting it. Set:

options(htmlhelp=TRUE)

Then try ?mallard

You should be able to do that in R to test that it works before you change your Rprofile.site file. --jeff
jlaake
 
Posts: 1479
Joined: Fri May 12, 2006 12:50 pm
Location: Escondido, CA

Postby jlaake » Wed Dec 16, 2009 12:50 pm

Correction on the last posting. It is actually

options(help_type="html")

But I just tried that with r2.9 and I got:

> ?mark
Error in print.help_files_with_topic("C:/Users/Jeff Laake/Desktop/RHome/RLibraries/RMark/help/mark") :
No text help for 'mark' is available:
corresponding file is missing

So apparently to get help you'll need to update to R2.10 to use help with the newest version of RMark which was built with 2.10.
jlaake
 
Posts: 1479
Joined: Fri May 12, 2006 12:50 pm
Location: Escondido, CA

Just confirming help file mess

Postby dhewitt » Wed Dec 16, 2009 1:25 pm

This switch in help file handling was not terribly well described or advertised by the R developers in association with the release of 2.10.0. Had me confused and annoyed for a bit. I can confirm Jeff's last message as a solution and the need to upgrade to 2.10.0 to get the help working. I added the below two lines to Rprofile.site and it works fine.

options(help_type="html")
options(browser="C:\\Program Files\\Mozilla Firefox\\firefox.exe")
dhewitt
 
Posts: 150
Joined: Tue Nov 06, 2007 12:35 pm
Location: Fairhope, AL 36532

Re: Just confirming help file mess

Postby cooch » Wed Dec 16, 2009 1:45 pm

dhewitt wrote:This switch in help file handling was not terribly well described or advertised by the R developers in association with the release of 2.10.0.


And this surprises you....why? This is R we're talking about, after all.
cooch
 
Posts: 1652
Joined: Thu May 15, 2003 4:11 pm
Location: Cornell University


Return to RMark

Who is online

Users browsing this forum: No registered users and 0 guests