Questions tagged [par]

This tag has no Wiki Excerpt yet!

par is a paragraph reformatter, vaguely similar to fmt, but better. It can format, justify, align, slice and dice using a bewildering array of options. See http://www.nicemice.net/par/

par is a filter which copies its input to its output, changing all white characters (except newlines) to spaces, and reformatting each paragraph. Paragraphs are separated by protected, blank, and bodiless lines (see the Terminology section for definitions), and optionally delimited by indentation (see the d option in the Options section). Each output paragraph is generated from the corresponding input paragraph as follows:

  1. An optional prefix and/or suffix is removed from each input line.
  2. The remainder is divided into words (separated by spaces).
  3. The words are joined into lines to make an eye-pleasing paragraph.
  4. The prefixes and suffixes are reattached.

If there are suffixes, spaces are inserted before them so that they all end in the same column.

In scientific software for statistical computing and graphics, par is a use function to set or query graphical parameters. Many parameters can also be passed as arguments to plotting functions. See ?par.

213 questions
3
votes
1 answer

Several or multiple timeseries plot outputs from a single data frame

Hello, I have been struggling with this problem for a while now and anyone who can help me out I would greatly appreciate it. First off, I am working with time series data in a single data frame containing multiple time series. Too many to output…
c0ba1t
  • 241
  • 2
  • 15
3
votes
1 answer

How to determine symbol size in x and y units

I would like to know the approximate dimensions of symbol in my plot area. I think that par()$ps only really refers to text size. So how is a symbol size calculated using the cex parameter? For example, below is a plot of a single point of size…
Marc in the box
  • 11,769
  • 4
  • 47
  • 97
2
votes
1 answer

Installing PAR::Packer on Windows, dmake error 255

I am trying to create a binary of a perl script for Windows, and I cannot afford commercial applications such as perl2exe and Active Perl Dev Kit (I am aware there are trial versions). Because of this I have installed strawberry perl on a Windows…
bag-man
  • 1,423
  • 2
  • 19
  • 23
2
votes
1 answer

How to share common things among par::packer generated exe files?

I've just tried to generate *.exe files from Perl scripts by using Par::Packer, the tool works fine as expected. The situation now is I would like to distribute my Perl based application as a group of utilities (exe files), for each of them there…
Ripley
  • 664
  • 1
  • 6
  • 16
2
votes
2 answers

PAR Packer Executable Size

I have been using PAR:Packer (pp) to create binaries for windows for a while. They have always been understandably large (around 6-8MB), recently I updated my packages (I use stawberry perl on windows) and now it is producing binaries that are…
Eric Seifert
  • 1,946
  • 2
  • 17
  • 31
2
votes
1 answer

How to share the same X axis in a combined plot without ggplot2?

I'm trying to combine two time series into a plot sharing the same values of the X axis. When I use the code below I got these goals. However, I'd like to display just one X axis for both the series and I also would like to remove the Y axis in the…
2
votes
1 answer

Increase margin in png plot using par mar and oma not working

I want to increase distance between y-axis label and axis numbers (in the example: more space between "Height" and "1.5"), and also have more space to the left of the axis label. Changing mar and oma in par does not do anything. Some similar…
owl
  • 1,841
  • 6
  • 20
  • 30
2
votes
1 answer

Strawberry Perl and PAR - run time error on other Windows machine: LWP will support https URLs if the LWP::Protocol::https module is installed

I have two Windows 10 machines, and on one of them, I have installed Strawberry Perl (version 5.30.1 if it matters). My script is using REST::Client, and on this machine, the script runs perfectly. I'm using PAR to make an .exe I can run either the…
2
votes
3 answers

Self Updating Exe par on Windows

I am trying to create a script that will "self update" when it detects a new version on a server. Initially the idea I had was, when a new version is detected, download the file, then starts a DOS batch file that simply overwrites the original exe…
Eric Seifert
  • 1,946
  • 2
  • 17
  • 31
2
votes
2 answers

PAR2 lib for Java

I am searching for a PAR2 library to be used in a custom Java application. It seems the only lib available on sourceforge (JPar2) is in planning status since 2008, no update since then. Any of guys had better luck? Thanks in advance!
Matthias
  • 9,817
  • 14
  • 66
  • 125
2
votes
2 answers

Warnings when restoring graphical parameters

I am writing my first R package and currently working on a function to make a plot using some particular graphical parameters. I want the user defined graphical parameters to get restored after the plot is made but always get same warning…
Cris
  • 325
  • 1
  • 5
  • 20
2
votes
1 answer

Detect whether compiled perl script dynamically loads modules

I am running Windows 10 with Strawberry Perl. I use the PAR::Packer module to make executable versions of some of my Perl scripts. I find that some modules e.g. XML::LibXML, require a Perl installation in order to run the executable. Since I'm…
Wes
  • 423
  • 3
  • 12
2
votes
1 answer

Compiling PAR for Perl under Windows

I've downloaded PAR from http://par.perl.org/wiki/Main_Page and compiled it after reading the README file. I've used dmake-4.12-20090907 instead of nmake ('cause 1.5 does not work) from http://search.cpan.org/dist/dmake/. No problems during the…
lngo
  • 21
  • 1
2
votes
1 answer

How to change the color palette of a plot using R and par() command?

I'm using the glmtools library for my master thesis, however, the default color palette is not aesthetically pleasing. There is not an argument about the color palette in the glmtools::plot_temp help, only says that other arguments are passed to…
Daniel Valencia C.
  • 2,159
  • 2
  • 19
  • 38
2
votes
2 answers

How do I run a PAR packed file in Windows Vista or Windows 7 running with higher privileges?

Does anyone know how to make a PAR packed Perl application run with higher privileges? I've read that there must be somewhere some kind of manifest file, but how should this file look like and how to combine it with the PAR packed executable? This…
Pawel
  • 171
  • 2
  • 5