Mail Archives: cygwin/2015/04/17/14:58:20
X-Recipient: | archive-cygwin AT delorie DOT com
|
DomainKey-Signature: | a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
|
| :list-unsubscribe:list-subscribe:list-archive:list-post
|
| :list-help:sender:to:from:subject:date:message-id:references
|
| :mime-version:content-type:content-transfer-encoding; q=dns; s=
|
| default; b=l0ZPECEciTPb1LQ8Ux3X2XbIJ0xxrkcHIRV/4LbDxC6LPLwpF2fuv
|
| TqCjxN26GysNa6EwhCvDYZEaXPJVpETs3BQMrS0KSgMxKmZdP5w3o4vJARbbFngW
|
| vG/ko7zbOP1Y2ck2bOMHeG2NjTghVEQjEUaOHQGtEi/CclzS0SU02w=
|
DKIM-Signature: | v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
|
| :list-unsubscribe:list-subscribe:list-archive:list-post
|
| :list-help:sender:to:from:subject:date:message-id:references
|
| :mime-version:content-type:content-transfer-encoding; s=default;
|
| bh=q5UjPMss4NlzyDOdwC9qH8wlXVc=; b=qqq+tdPV+2B3vdEcZjXX8Q+YyM2+
|
| VBPsnzksVAdVlSBCJIdtuXuAzmL0TZ+K/CCfCzodlGxazo42VdESBrKkNJL5mZkc
|
| OsxOnBax1heCAc/SrHhzaxePoD08g+h6A45I6cD+/dEVefPuz0qsHkAYc7yW6L4u
|
| M+J7bONLYI48UKc=
|
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm
|
List-Id: | <cygwin.cygwin.com>
|
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com>
|
List-Archive: | <http://sourceware.org/ml/cygwin/>
|
List-Post: | <mailto:cygwin AT cygwin DOT com>
|
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
|
Sender: | cygwin-owner AT cygwin DOT com
|
Mail-Followup-To: | cygwin AT cygwin DOT com
|
Delivered-To: | mailing list cygwin AT cygwin DOT com
|
Authentication-Results: | sourceware.org; auth=none
|
X-Virus-Found: | No
|
X-Spam-SWARE-Status: | No, score=-1.6 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,KAM_ASCII_DIVIDERS,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS,SPF_PASS,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2
|
X-HELO: | plane.gmane.org
|
To: | cygwin AT cygwin DOT com
|
From: | paul <paul DOT domaskis AT gmail DOT com>
|
Subject: | Re: "R" help leaves out lines of text
|
Date: | Fri, 17 Apr 2015 18:57:50 +0000 (UTC)
|
Lines: | 205
|
Message-ID: | <loom.20150417T205208-167@post.gmane.org>
|
References: | <loom DOT 20150416T161942-544 AT post DOT gmane DOT org> <552FF744 DOT 5080707 AT gmail DOT com>
|
Mime-Version: | 1.0
|
User-Agent: | Loom/3.14 (http://gmane.org/)
|
X-IsSubscribed: | yes
|
Marco Atzeri <marco.atzeri <at> gmail.com> writes:
>> I am ramping up on the R statistical analysis environment. I find
>> that the help leaves out entire lines of text. The pager is
>> /usr/lib/R/bin/pager. I changed it to /bin/less, but I see the
>> same symptom. The problem shows up both in xterm and mintty. The
>> computer is in a locked down environment, so a straight update of
>> cygwin packages is not an option. From the R forum, the problem
>> might be due to improper handling of line endings by the R port to
>> cygwin.
>>
>> Is there anything further I can try to circumvent the problem?
>>
>> My version info is:
>>
>> 64-bit Cygwin DLL version 1.7.28
>> R version 3.0.1-1
>>
>
> Are the input files Unix style or DOS style ?
> Can you give an example to replicate your finding ?
>
> I can that test than if the last R-3.1.3-1 package behaves correctly
> or not. R-3.0.1-1 package is almost 2 years old.
I can't actually find the help files; I suspect that they are not just
plain text. I tried looking for html versions of the help pages by
ferruting through the R.home() subtree. Haven't found them so far.
There are package pages in subdirectories <package>/html/00Index.html,
but they just contain links to html files that don't reside in my
R.home() subtree. There are also subdirectories <package>/help, but
they contain pages that I don't recognize (*.rds, *.rdb, *.rdx).
As an example, I've attached the output from ?help at the very end
below. My current workaround is to use the following in my
~/.Rprofile, which forces the help to a browser:
options(browser="cygstart")
options(help_type="html")
Here's the bad result from help(help,help_type="text"):
help package:utils R Documentation
<....multiple blank lines...>
Documentation
<....multiple blank lines...>
Description:
<....multiple blank lines...>
Usage:
<....multiple blank lines...>
help(topic, package = NULL, lib.loc = NULL,
verbose = getOption("verbose"),
try.all.packages = getOption("help.try.all.packages"),
help_type = getOption("help_type"))
<....multiple blank lines...>
Arguments:
<....multiple blank lines...>
lines 1-23------------------------- ("less" prompt)
<....multiple blank lines...>
Details:
<....multiple blank lines...>
The following types of help are available:
<....multiple blank lines...>
Plain text help
<....multiple blank lines...>
If a package is specified, (text or, in interactive use only, HTML)
information on the package, including hints/links to suitable
help topics.
<....multiple blank lines...>
lines 24-46------------------------- ("less" prompt)
<....multiple blank lines...>
Offline help:
<....multiple blank lines...>
Note:
<....multiple blank lines...>
References:
<....multiple blank lines...>
Becker, R. A., Chambers, J. M. and Wilks, A. R. (1988) _The New S
Language_. Wadsworth & Brooks/Cole.
<....multiple blank lines...>
See Also:
<....multiple blank lines...>
Examples:
<....multiple blank lines...>
help()
help(help) # the same
<....multiple blank lines...>
lines 47-69------------------------- ("less" prompt)
help(lapply)
<....multiple blank lines...>
help("for") # or ?"for", but quotes/backticks are needed
<....multiple blank lines...>
try({# requires working TeX installation:
help(dgamma, help_type = "pdf")
## -> nicely formatted pdf -- including math formula -- for help
(dgamma):
system2(getOption("pdfviewer"), "dgamma.pdf", wait = FALSE)
})
<....multiple blank lines...>
help(package = "splines") # get help even when package is not loaded
<....multiple blank lines...>
topi <- "women"
help(topi)
<....multiple blank lines...>
try(help("bs", try.all.packages = FALSE)) # reports not found (an
error)
help("bs", try.all.packages = TRUE) # reports can be found
# in package 'splines'
<....multiple blank lines...>
## For programmatic use:
topic <- "family"; pkg_ref <- "stats"
help((topic), (pkg_ref))
<....multiple blank lines...>
lines 70-92------------------------- ("less" prompt)
<....multiple blank lines...>
help("for") # or ?"for", but quotes/backticks are needed
<....multiple blank lines...>
try({# requires working TeX installation:
help(dgamma, help_type = "pdf")
## -> nicely formatted pdf -- including math formula -- for help
(dgamma):
system2(getOption("pdfviewer"), "dgamma.pdf", wait = FALSE)
})
<....multiple blank lines...>
help(package = "splines") # get help even when package is not loaded
<....multiple blank lines...>
topi <- "women"
help(topi)
<....multiple blank lines...>
try(help("bs", try.all.packages = FALSE)) # reports not found (an
error)
help("bs", try.all.packages = TRUE) # reports can be found
# in package 'splines'
<....multiple blank lines...>
## For programmatic use:
topic <- "family"; pkg_ref <- "stats"
help((topic), (pkg_ref))
<....multiple blank lines...>
lines 71-93/93 (END)------------------------- ("less" prompt)
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
- Raw text -