similar to: open help files in browser

Displaying 20 results from an estimated 100000 matches similar to: "open help files in browser"

2002 Mar 07
2
Is it possible to open a specific file in the HTML browser like help(htmlhelp=TRUE) does?
Dear all/anyone, after generating a HTML file "result.html" from within [R], I would like to open the default HTML browser (like help.start() does) to show the file. Is it possible to do this (without trying to do a system dependent search for possible browsers)? I browsed the source of package 'base' (R v1.4.1 WinMe) and I found the following in help():
2011 Jul 29
2
Front ends handling help.search() results?
Which front ends process the help.search() results to produce nice clickable lists, instead of the simple text display that's the default? I know the R.app gui on Mac OS does; are there others? I'm asking because one of the decisions made when R Core met in Vienna was to allow vignettes to be returned as results of help.search(). All of those front ends will need to be able to
2017 Aug 29
1
BUG: HMTL-based help.search() on vignettes may generate error (with PATCH)
REPRODUCIBLE EXAMPLE: With the R.rsp package installed, the following search, which gives a hit: options(help_type = "html") help.search("rsp") generates: Error in if (nchar(Outfile)) Outfile else File : argument is not interpretable as logical in the browser (e.g. http://127.0.0.1:30410/doc/html/Search?results=1). Another example is
2011 Apr 12
1
Using help in Windows version of R with disabled browser
Dear colleagues, I am trying to get someone to use R on MS Windows with the browser disabled. My question is how does he/she get to use R-help which goes off the browser (and correspondingly complains about the inability to start firefox, etc). In linux, which is what I use, this is not a problem: what needs to be set in Windows to replicate this behavior? Sorry if I am not clear: please feel
2009 Sep 29
1
Problems connecting to httpd help server with some browsers
Hello, sorry to provide only very little testing, but with the release date nearing, I thought it better to report this quickly than to wait for an uncertain period until I find more time. I'm observing strange problems connecting to the httpd help server with konqueror (KDE 4.3.1): options (help_type="html") options (browser="konqueror") help ("print")
2012 Feb 15
3
help.search() in html?
Hi, I have options(help_type="html") in my .Rprofile and when I type ?foo, the man page appears as a new tab in my web browser (which is already running). Fine. However, when I type ??foo, rather than the results appearing in a new tab, a new instance of the web browser is spawned with the default homepage displayed. Same with help.search("foo"). Am I the only one seeing this?
2010 Aug 04
1
printing html help to the terminal
I'm trying to get help to print the help pages in html format to the terminal. This is in order to be able to see the html help files remotely. If I do printURL = function(file) {a=readLines(url(file));cat(a,sep="\n")} options(browser=printURL) options(help_type="html") then invoking help with ?print gets stuck. I think what happens is that the web server run by R that
2010 Mar 11
3
Help function "?" in R 2.10.1
Hello everyone, I have versions 2.7.2 and 2.10.1 installed on a machine that has no access to internet. In 2.7.2 I can use ? to get help on functions, which in 2.10.1 that does not work, all I see is "starting httpd help server...done" and then nothing. Have I downloaded 2.10.1 incorrectly (=forgot to tick some box for local help file repository) or is the internet help now the
2012 Oct 17
1
Do *not* pass '...' to NextMethod() - it'll do it for you; missing documentation, a bug or just me?
Hi, although I've done S3 dispatching for more than a decade now, I think I managed to overlook/avoid the following pitfall when using NextMethod(): If you explicitly pass argument '...' to NextMethod(), you will effectively pass those argument twice to the "next" method! EXAMPLE: foo0 <- function(...) UseMethod("foo0"); foo1 <- function(...)
2007 Apr 11
2
Open Browser Window help
When I previously designed my static sites in dreamweaver, I used an Open Browser Window behavior which opened a URL in a new window of fixed size by inserting the following: <a href="javascript:;" onclick="MM_openBrWindow(''example.html'', ... ''width=300,height=300'')</a> Is there a simple way to do the same thing in ruby?
2009 Dec 17
2
Wrong links in help help files? (PR#14155)
Dear R developers, ?help.search ...opens a tab in my browser (Firefox 3.5.6, Win XP): http://127.0.0.1:31642/library/utils/html/help.search.html When I click on the link for "?", (http://127.0.0.1:31642/library/utils/help/?) in the last line of "Details", I get an error message: "Server error: invalid response from R". Similarly, The link to "??"
2011 Feb 02
2
Using MathJax in R's help system
Hi, I am doing a small experiment to test if I can use MathJax ( official site: http://www.mathjax.org ) in R's html help pages (i.e. options(help_type='html')) and it seems working with some minor modifications. The screenshot (rendered by Firefox 4.0 beta and with STIX fonts) of the help page in html format with MathJax enabled is at the following url:
2012 Dec 25
5
aggregate / collapse big data frame efficiently
Hi, I need to aggregate rows of a data.frame by computing the mean for rows with the same factor-level on one factor-variable; here is the sample code: x <- data.frame(rep(letters,2), rnorm(52), rnorm(52), rnorm(52)) aggregate(x, list(x[,1]), mean) Now my problem is, that the actual data-set is much bigger (120 rows and approximately 100.000 columns) ? and it takes very very long
2020 May 29
1
HTML help files missing for some packages
After a clean install of R 4.0.0 (R-base only) on Mint 19.3, the directory /usr/lib/R/library/base/html is empty. However, the directory /usr/lib/R/library/boot/html contains files 00Index.html and R.css. Correspondingly, the command help(package="base", help_type="html") produces the text "No package index found for package base". The same occurs when clicking
2010 Jun 14
2
how to change default help settings from factory default html
Hi all Apologies if this is a trivial question- I have searched the lists and the online help files etc but have not managed to find anything. I recently downloaded the latest version of R, which has the help type set to htmlhelp as default (according to http://127.0.0.1:18380/library/utils/html/help.html) I would very much like to be able to access the help files when I am offline by typing
2013 Jan 11
3
aggregate data.frame based on column class
Hi, When using the aggregate function to aggregate a data.frame by one or more grouping variables I often have the problem, that I want the mean for some numeric variables but the unique value for factor variables. So for example in this data-frame: data <- data.frame(x = rnorm(10,1,2), group = c(rep(1,5), rep(2,5)), gender =c(rep('m',5), rep('f',5))) aggregate(data,
2009 Sep 24
1
R v2.10.0: Doc clarification for cross references and where are we heading?
Hi, in 'Writing R Extensions" of R v2.10.0, under Section 'Cross-references' (2009-09-07) it says: 1. "The markup \link{foo} (usually in the combination \code{\link{foo}}) produces a hyperlink to the help for foo. Here foo is a topic, that is the argument of \alias markup in another Rd file (possibly in another package)." 2. "You can specify a link to a different
2009 Nov 04
1
Activating html help in R 2.10
After reading the news about the release of R 2.10 I expected that typing for example ?cut would automatically open a web browser. But I don't see any difference in how help is displayed under Ubuntu Linux (karmic). How does one activate the new dynamic html help? Thanks Frank platform x86_64-pc-linux-gnu arch x86_64 os linux-gnu system x86_64,
2011 Aug 22
2
test if vector contains elements of another vector (disregarding the position)
Hi, I have the following problem: I have two vectors: i <- c('a','c','g','h','b','d','f','k','l','e','i') j <- c('a', 'b', 'c') now I would like to generate a vector with the length of i that has zeros where i[x] != any element of j and 1 where i[x] == any element of j.
2011 Sep 09
3
split variable / create categories
Hi, is there a function or an easy way to convert a variable with continuous values into a categorial variable (with x levels)? here is what I mean: I want to transform x: x <- c(3.2, 1.5, 6.8, 6.9, 8.5, 9.6, 1.1, 0.6) into a 'categorial'-variable with four levels so that I get: [1] 2 2 3 3 4 4 1 1 so each element is converted into its rank- value / categorial-value (in