Displaying 20 results from an estimated 4000 matches similar to: "R help files -> S-Plus; par('mgp')"
2002 Dec 04
1
Converting R help files to S-Plus 6 sgml,html
I have help files in several formats. Up until now I have converted nroff files to S-Plus 6 sgml and html files using
Splus doc_to_S ... (creates .sgml file)
Splus HINSTALL ... (creates .sgm and .html files)
I maintain master help files in R .Rd files, and for some of my functions converting from .Rd to .sgm using R CMD Rdconv --type=Ssgm ... produces better .sgm files than beginning with
2003 Dec 24
1
par(mgp) - unexpected behaviour (PR#6045)
Full_Name: Nicholas Boers
Version: 1.8.1
OS: Windows XP Home Edition, Debian GNU/Linux 3.0
Submission from: (NULL) (24.68.84.10)
mgp[2] specifies the axis labels' margin line relative to that of the axis line
(mgp[3]). The `par' help does not document this behaviour.
The following code demonstrates my observation:
plot.new();
par(mgp = c(3, 2, 1));
box();
title(xlab =
2003 Dec 24
1
par(mgp) - unexpected behaviour (PR#6046)
Full_Name: Nicholas Boers
Version: 1.8.1
OS: Windows XP Home Edition, Debian GNU/Linux 3.0
Submission from: (NULL) (24.68.84.10)
mgp[2] specifies the axis labels' margin line relative to that of the axis line
(mgp[3]). The `par' help does not document this behaviour.
The following code demonstrates my observation:
plot.new();
par(mgp = c(3, 2, 1));
box();
title(xlab =
2000 Feb 15
1
par: mar and mgp dead?
I just installed 99.0a, and I can't set mar and mgp:
> par(mar(2,2,.1,.1))
Error in par(mar(2, 2, .1, .1)) : couldn't find function "mar"
I had the same happen with mgp.
Are these bugs or a problem in my installation (everything else seems
OK)?
Is R core going to kill mar and mgp? If so, how should I fix the
huge margins and huge space between axis title and axis? Try this
2002 Feb 27
2
PATCH: nroff detection wrong, by default uses mantype=cat
Hi,
Just tested the latest snapshot on RHL72 via building RPM's of it.
Nroff detection was wrong, and if no --with-mantype was specified, the
type would always revert to cat. This one-byter fixes it.
--
Pekka Savola "Tell me of difficulties surmounted,
Netcore Oy not those you stumble over and fall"
Systems. Networks. Security. -- Robert
2007 Apr 10
1
R CMD Rdconv drops sections: arguments, seealso, examples (PR#9606)
I've created a .Rd file (below), then converted that to .sgml using
R CMD Rdconv --type=Ssgm combn.Rd > combn.sgml
The output (shown below) is missing some of the sections:
arguments
seealso
examples
If instead I convert to .d (below), the same sections are missing,
and the "note" section is included but without the necessary newline.
2009 Dec 11
3
`mgp[1:3]' are of differing sign (PR#14130)
Full_Name: Cornell Gonschior
Version: 2.10.0
OS: Linux
Submission from: (NULL) (212.201.28.40)
Hi,
in the introduction to R, you can find the following sentence in the par()
chapter:
"Use tck=0.01 and mgp=c(1,-1.5,0) for internal tick marks."
I thought that's nice, because I wanted to have tick marks and tick labels
inside and the axis title outside.
But:
> plot(z, las=1,
2008 Jul 19
1
axis() ignores supplied value of argument mgp[3]?
It seems that when an argument 'mgp' is supplied to axis(),
the mgp[2] value (position of tick mark labels) is honoured
but the mgp[3] value (position of axis line) is ignored.
Example:
plot(1:5, xaxt='n', ann=FALSE)
par(mgp=c(0,2,1))
axis(1, at=2:4, mgp=c(0,-2,-3))
Axis line is plotted at margin line 1, tick mark labels at line -3.
Is this a bug?
J. R. M. Hosking
2009 Jul 16
1
axis label config mgp
I have long axis labels (8units) on the x axis and 2 unit number labels on
the y axis. I need to move the x axis title without moving the y axis
title. I have used mgp=c(title, label and line), but mgp moves both the x
and y titles. The following puts the y axis title way way out to the left.
Anyone know how to move just the x axis.
X11()
conif<-c("Control", "Switched
2001 Apr 19
2
controlling plot spacing?
Suppose I have the bottom axis of a plot that looks like:
----+----+----+----+----+----+----
| | | | | |
1 2 3 4 5 6
Axis title
1. How do I reduce the gap between the ends of the ticks and the axis
labels (numbers)?
2. How do I vary the gap between the bottom of the axis labels and the top
of the axis title?
I have looked in various places
2017 Dec 04
3
problem with the behaviour of dashed lines in R plots
dear R users,
I am performing a linear regression with lm, and I would like to plot
the regressor in dashed lines. I know that the lty=2 option is the way
out, but it has a very strange behaviour: the line starts dashed but
then the spaces between each dash becomes very tiny and so the line
become somehow continuous for the human eye. Do you know how to fix that
problem, in order to have a
2002 Apr 16
1
Can one aply 'mgp' to individual axis?
Dear R-wizards!
I want to move the axis label of the y-axis a little bit
more apart from the border of the plot (otherwise, it would overlap
with my horizontal numbering). 'par(mgp(3.5, 1, 0))' does it properly.
Unfortunately, it also moves the x-axis label which does not look good.
Is there a way to specify 'mgp' for each axis separately or
is there another way to move just
2000 Apr 14
1
Rd2Sd conversion: files (PR#520)
This is a multipart MIME message.
--==_Exmh_-19086308140
Content-Type: text/plain; charset=us-ascii
In addition to my previous message, here is the source Rd-file that I used in
R CMD Rdconv -d --type=Sd plot.mefista.Rd > plot.mefista.d
command.
--==_Exmh_-19086308140
Content-Type: text/plain ; name="plot.mefista.Rd"; charset=us-ascii
Content-Description: plot.mefista.Rd
2019 May 04
4
[PATCH] configure.ac: Add mandoc as valid formatter
Hi,
On systems that have mandoc installed but are missing an nroff binary,
the configure script will fall back to pre-formatted manual pages
despite the fact that mandoc could be used.
The proposed patch adds mandoc as a valid formatter to configure.ac. As
mandoc supports the -mdoc flag, it can simply be added to the list of
nroff-like binaries.
Wolfgang
-------------- next part --------------
2000 Nov 08
4
man pages won't work
Hi,
I am sorry about this stupid question but after compilation of openssh-2.3.0p1 the manpages were installed but a man ssh gives only unstructured response without underlined lines etc. A nroff -man sshd.8 gives the same output but the contents of the file shows a nroff-format.
Any ideas?
My system is a HP-UX 11.000 with the pam-patch.
regards
Stephan
--
LDS Brandenburg
Dr. Stephan Hendl
2001 Jan 12
1
No subject
Hello,
the man pages for openssh-2.3.0p1 look bad on our Tru64 Unix V4.0E
systems.
(Secure Shell) is a program for logging into a remote machine and
for executing commands on a remote machine. It is intended to
replace rlogin and rsh, and provide secure encrypted communica-
tions between two untrusted hosts over an insecure network. X11
connections and arbitrary TCP/IP ports can also be
2007 Dec 06
7
Fitting large titles in a plot
I want to fit a fairly long main title for a plot, supposedly by changing row
after a while. As for now it starts way outside the picture margin at the
left and continues way out right passed the right margins.
>plot(A,main="This is my really long title and it's so long that I can see
just about half of it.")
Any suggestions? Shouldn't be that hard.
--
View this message in
2001 Jun 06
1
Nroff -> .Rd -> R-ex; html
I am using R 1.2.3 on Linux Mandrake 7.2.
I have a ton of S Nroff help files that end
with source code typified by the following:
Last S statement in an example, e.g. X <- y
..KW models
..KW regression
..WR
When using R RMD Sd2Rd to create the .Rd file I get
X <- y
\keyword{models}
\keyword{regression}
}
The } matches a { in \examples{ at the beginning
of the example code (started in
2007 Apr 30
1
R CMD Rdconv drops sections: arguments, seealso, examples (PR#9645)
On Tue, 10 Apr 2007 timh at insightful.com wrote:
> I've created a .Rd file (below), then converted that to .sgml using
> R CMD Rdconv --type=Ssgm combn.Rd > combn.sgml
> The output (shown below) is missing some of the sections:
> arguments
> seealso
> examples
> If instead I convert to .d (below), the same sections are missing,
> and the "note"
2011 Oct 16
1
mgp and axis title positions
Hi all,
I consider myself a somewhat experienced user of R, but have struggled with this for a while now. to the point where I just end up pulling the entire graph together in powerpoint and fixing it up from there.
How does one adjust the horizontal/vertical positions of axis titles? I've tried using mgp in the par function, but that never produces anything satisfactory as x and y-axes are