100% found this document useful (1 vote)
19 views

Getting started with R an introduction for biologists Second Edition Beckerman pdf download

The document is an introduction to the book 'Getting Started with R: An Introduction for Biologists' by Andrew P. Beckerman and Owen L. Petchey, which aims to teach biologists how to effectively use the R programming language for data management, visualization, and statistical analysis. It outlines the book's structure, emphasizing the importance of developing a workflow for data exploration and analysis, and provides guidance on getting started with R. The book is designed for individuals with some prior knowledge of statistics and data handling, offering practical insights and examples to facilitate learning.

Uploaded by

tolbyjarviwb
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
100% found this document useful (1 vote)
19 views

Getting started with R an introduction for biologists Second Edition Beckerman pdf download

The document is an introduction to the book 'Getting Started with R: An Introduction for Biologists' by Andrew P. Beckerman and Owen L. Petchey, which aims to teach biologists how to effectively use the R programming language for data management, visualization, and statistical analysis. It outlines the book's structure, emphasizing the importance of developing a workflow for data exploration and analysis, and provides guidance on getting started with R. The book is designed for individuals with some prior knowledge of statistics and data handling, offering practical insights and examples to facilitate learning.

Uploaded by

tolbyjarviwb
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 64

Getting started with R an introduction for

biologists Second Edition Beckerman download

https://ebookname.com/product/getting-started-with-r-an-
introduction-for-biologists-second-edition-beckerman/

Get Instant Ebook Downloads – Browse at https://ebookname.com


Instant digital products (PDF, ePub, MOBI) available
Download now and explore formats that suit you...

Getting Started with R An Introduction for Biologists


1st Edition Andrew P. Beckerman

https://ebookname.com/product/getting-started-with-r-an-
introduction-for-biologists-1st-edition-andrew-p-beckerman/

25 Recipes for Getting Started with R 1st Edition Paul


Teetor

https://ebookname.com/product/25-recipes-for-getting-started-
with-r-1st-edition-paul-teetor/

Getting started with Raspberry Pi Second Edition


Richardson

https://ebookname.com/product/getting-started-with-raspberry-pi-
second-edition-richardson/

Salesforce For Dummies 8th Edition for True Epub Liz


Kao & Jon Paz

https://ebookname.com/product/salesforce-for-dummies-8th-edition-
for-true-epub-liz-kao-jon-paz/
Of Spies and Spokesmen My Life As a Cold War
Correspondent Nicholas Daniloff

https://ebookname.com/product/of-spies-and-spokesmen-my-life-as-
a-cold-war-correspondent-nicholas-daniloff/

San Juan Edgardo Rodríguez Juliá

https://ebookname.com/product/san-juan-edgardo-rodriguez-julia/

From Reform to Growth Managing the Economic Crisis in


Europe 1st Edition Vít Novotný

https://ebookname.com/product/from-reform-to-growth-managing-the-
economic-crisis-in-europe-1st-edition-vit-novotny/

The Producer as Composer 1st Edition Virgil Moorefield

https://ebookname.com/product/the-producer-as-composer-1st-
edition-virgil-moorefield/

Uplifting the People Three Centuries of Black Baptists


in Alabama Religion American Culture 1st Edition Wilson
Fallin Jr.

https://ebookname.com/product/uplifting-the-people-three-
centuries-of-black-baptists-in-alabama-religion-american-
culture-1st-edition-wilson-fallin-jr/
Assimilation of Immigrants and Their Adult Children
College Education Cohabitation and Work 1st Edition
Ping Chen

https://ebookname.com/product/assimilation-of-immigrants-and-
their-adult-children-college-education-cohabitation-and-work-1st-
edition-ping-chen/
Getting Started with R
This page intentionally left blank
Getting Started with R
An Introduction for Biologists

ANDREW P. BECKERMAN
& OWEN L . PETCHEY

Department of Animal and Plant Sciences


University of Sheffield
&
Institute of Evolutionary Biology and
Environmental Studies
University of Zürich

1
1
Great Clarendon Street, Oxford, OX2 6DP,
United Kingdom
Oxford University Press is a department of the University of Oxford.
It furthers the University’s objective of excellence in research, scholarship,
and education by publishing worldwide. Oxford is a registered trade mark of
Oxford University Press in the UK and in certain other countries
© Andrew P. Beckerman and Owen L. Petchey 2012
The moral rights of the authors have been asserted
First Edition published in 2012
Impression: 1
All rights reserved. No part of this publication may be reproduced, stored in
a retrieval system, or transmitted, in any form or by any means, without the
prior permission in writing of Oxford University Press, or as expressly permitted
by law, by licence or under terms agreed with the appropriate reprographics
rights organization. Enquiries concerning reproduction outside the scope of the
above should be sent to the Rights Department, Oxford University Press, at the
address above
You must not circulate this work in any other form
and you must impose this same condition on any acquirer
British Library Cataloguing in Publication Data
Data available
Library of Congress Cataloging in Publication Data
Library of Congress Control Number: 2011945448
ISBN 978–0–19–960161–5 (hbk.)
978–0–19–960162–2 (pbk.)
Printed in China by
CC Offset Printing Co. Ltd
Links to third party websites are provided by Oxford in good faith and
for information only. Oxford disclaims any responsibility for the materials
contained in any third party website referenced in this work.
Table of Contents

Preface vii
What this book is about vii
What you need to know to make this book work for you viii
How the book is organized ix

Chapter 1: Why R? 1

Chapter 2: Import, Explore, Graph I—Getting Started 5


2.1 Where to put your data 7
2.2 Make a folder for your instructions (code, script) 10
2.3 How to get your data into R and where it is stored in R’s brain 10
2.4 Working with R—hints for a successful first (and more) interaction 11
2.5 Make your first script file 15
2.6 Starting to control R 18
2.7 Making R work for you—developing a workflow 19
2.8 And finally . . . 21
Chapter 3: Import, Explore, Graph II—Importing and Exploring 23
3.1 Getting your data into R 23
3.2 Checking that your data is your data 26
3.3 Summarizing your data—quick version 28
3.4 How to isolate, find, and grab parts of your data—I 28
3.5 How to isolate, find, and grab parts of your data—II 30
3.6 Aggregation and how to use a help file 31
3.7 What your first script might look like (what you should now know) 35
vi TABLE OF CONTENTS

Chapter 4: Import, Explore, Graph III—Graphs 39


4.1 The first step in data analysis—making a picture 39
4.2 Making a picture—bar graphs 40
4.2.1 Pimp my barplot 44
4.3 Making a picture—scatterplots 50
4.3.1 Pimp my scatterplot: axis labels 53
4.3.2 Pimp my scatterplot: points 54
4.3.3 Pimp my scatterplot: colours (and groups) 56
4.3.4 Pimp my scatterplot: legend 59
4.4 Plotting extras: pdfs, layout, and the lattice package 64
Chapter 5: Doing your Statistics in R—Getting Started 65
5.1 Chi-square 66
5.2 Two sample t-test 70
5.2.1 The first step: plot your data 72
5.2.2 The two sample t-test analysis 76
5.3 General linear models 77
5.3.1 Always start with a picture 78
5.3.2 Potential statistical and biological hypotheses—it’s all
about lines 80
5.3.3 Specifying the model 83
5.3.4 Plot, model, then assumptions 84
5.3.5 Interpretation 86
5.3.6 Treatment contrasts and coefficients 89
5.3.7 Interpretation 89
5.4 Making a publication quality figure 92
5.4.1 Coefficients, lines, and lines() 93
5.4.2 Expanded grids, prediction, and a more generic
model plotting method 94
5.4.3 The final picture 99
5.4.4 An analysis workflow 101
Chapter 6: Final Comments and Encouragement 105

Appendix: References and Datasets 109


Index 111
Preface

What this book is about

This is a book about how to use R, an open source programming language


and environment for statistics. It is not a book about statistics per se, but a
book about getting started using R. It is a book that we hope will teach you
how using R can make your life (research career) easier.
We love R. We use statistics in our everyday life as researchers and we
use R to do this. We are first and foremost evolutionary ecologists, but over
the past 10 years we have developed, at first in parallel and then together,
an affinity for R. We want to share our 20 years of combined experience
using R to show you how easy, important, and exciting it can be. This book
is based on a 3–5 day course we have given in various guises around the
world. The course is designed to give students and staff alike a boost up the
steep initial learning curve associated with R. We assume that course par-
ticipants already use some spreadsheet, statistical, and graphing programs
(such as Excel, GLIM, SAS, JMP, Statistica, and SigmaPlot). Most partici-
pants have some grasp of common statistical methods, including chi-
square tests, the t-test, and ANOVA. In return for a few days of their lives,
we give participants knowledge about how to easily use R, and R only, to
manage data, make figures, and do statistics. R changed our research lives,
and many participants agree that it has done the same for them.
The effort we put into developing the course and this book are, however,
miniscule compared to the effort of the R Core Development Team. Please
viii PREFACE

remember to acknowledge them when you use R to analyse and publish


your amazing results.

What you need to know to make this book work for you

There are a few things that you need to know to make this book, and our ideas,
work for you. Many of you already know how to do most of these things,
having been in the Internet age for long enough now, but just to be sure:

1. You need to know how to download things from the Internet. If


you use Windows, Macintosh, or Linux, the principles are the
same, but the details are different. Know your operating system.
Know your browser and know your mouse (both buttons!).
2. You need to know how to make folders on your computer and save
files to them. This is essential for being organized and efficient.
3. You need to understand what a “PATH” is on your computer. This
is the address of the folders and files (i.e. the path to a file). On
Windows, depending on the type you are using, this involves a
drive name, a colon (:) and slashes (\\ ’s or / ’s). On a Macintosh and
Linux/Unix, this requires the names of your hard drive, the name
of your home directory, the names of folders, and slashes (/).
4. You need to be able to type instructions that your computer (R,
actually) will attempt to carry out. Menus and the mouse are not
very important in R! You’ll eventually love this feature of R. You
might not like it in the beginning.
5. You need to know how to use Microsoft Excel or a program that
saves rows and columns of data as a “comma separated values file”
(“.csv”). While there are other ways of getting data into R, our
method is based on storing a copy of your raw data in a spread-
sheet, specifically as a .csv file (comma separated). Again, this is a
convention we take, and no more than that.
6. Finally, you need to know how to do, and why you are doing, sta-
tistics. We recommend that you know the types of questions a
PREFACE ix

t-test, a chi-square test, linear regression, ANOVA, and ANCOVA


are designed to help you answer BEFORE you use this book. As we
said, we are not aiming to teach you statistics per se, but how to do
some of the most common plotting and frequent statistics in R,
and understand what R is providing as output.

How the book is organized

In this book, we will show you how to use R in the context of every day
research in Biology. Our philosophy assumes that you have some data and
would like to derive some understanding from it. Typically you need to
manage your data, explore your data (e.g. by plotting it), and then analyse
your data. Before any attempt at analysis, we suggest that you always plot
your data. As always, analysing (modelling) your data involves first devel-
oping a model and testing critical assumptions associated with the statisti-
cal method (model). Only after this do you attempt interpretation. Our
focus is on developing a rigorous and efficient routine (workflow) and a
template for using R for data exploration, visualization, and analysis. We
believe that this will give you a functional approach to using R, in which
you always have the goal (understanding) in mind.
We start by providing in-depth instruction for how to get data into R,
manipulate and summarize your data, and make a variety of informative,
publication-quality figures common to our field. We then provide an
overview of how to do some common analyses. In contrast to other
books, we spend most of our time helping you to develop a workflow for
analysis and an understanding of how to tell R what to do. We also help
you identify core pieces of R output that are reported regularly in our
field. This is important because the output of all statistic packages is
different.
Chapter 1 is titled Why R? It is an (our) overview of why you might
spend a few days (and more!) of your valuable time converting your data
management, graphics, and analysis to R. There are many reasons, though
x PREFACE

we advise all readers to make a careful decision about whether the invest-
ment of time and effort will give sufficient return.
Chapters 2–4 are based on our tried and tested Import, Explore, Graph.
We walk you through one of the most difficult stages in using R—getting
your data into R and producing your first figure in R. Then we show you
how to explore your data, summarize it in various forms, and plot it in
various formats. Visualizing your data before you do statistics is vital.
These chapters also introduce you to the script—a permanent, repeatable,
annotated, shareable, cross-platform record of your analysis.
Chapter 5 introduces you to our workflow for implementing and inter-
preting t-tests, chi-square tests, and general linear models. General linear
models are a flexible set of methods that include the more well-known
concepts of regression, ANOVA, and ANCOVA. In the spirit of functional-
ity and making R work for you, our objective is to help you develop a re-
peatable and reliable workflow in R. We focus on helping you produce
interesting, appealing, and appropriate figures, interpreting the output of R
and crafting sensible descriptions of the methods and results for publica-
tion. Our focus is the workflow.
Throughout the book, we highlight where you can work along with us,
on your own computer, using R through the use of this symbol at the left.
Throughout the book, we use syntax (code) colouring as found in the
OSX R script editor. This should help visualize the instructions you need to
give R. We believe this book can be used as a self-guided tutorial. All of the
datasets we use are available online at http://www.r4all.org. There are also
13 boxes embedded in the book with extra detail about certain topics. Take
your time and learn the magic of R.
1
1
Why R?

S ome of you will have established research careers based around using a
variety of statistical and graphing packages. Some of you will be start-
ing with your research career and wondering whether you should use some
of the packages and applications that your supervisor/research group uses,
or jump ship to R. Perhaps your group already uses R and you are just look-
ing for that “getting started” book that answers what you think are embar-
rassing questions. Regardless of your stage or background, we think a
formal introduction to an approach to, and routine for using R, will help.
We begin by reviewing a core set of features and characteristics of R that we
think make it worth using and worth making a transition to from other
applications.
First, we think you should invest the effort because it is freely available
and cross-platform (e.g. it works on Windows, Macs [OS X], and Linux).
This means that no matter where you are and with whom you work, you
can share data, figures, analyses, and most importantly the instructions
(also known as scripts and code) used to generate the figures and analyses.
Anyone, anywhere in the world, with any kind of Windows, Macintosh, or
Linux operating system, can use R, without a license. If you, or your
2 GET TING STARTED WITH R

department, or your university invest heavily in multiple statistical pack-


ages, R can save a great deal of money. When you change institutions, R
doesn’t become inaccessible, get lost, or become un-usable.
Second, R is a command line programming language. It does not in-
volve extensive use of menus. As a result you have to know what to ask R,
know why you are asking R for this, and know what to expect from R. You
can’t just click on menus and get some results. This means that by using R,
you continually learn a great deal about statistics and data analysis.
Third, it is free. Oh, we said that already. Actually, it’s more accurate to
state that it’s freely available. Lots of people put an awful lot of effort into
developing R . . . that effort wasn’t free. Please acknowledge this effort by
citing R when you use it.
Fourth, we believe that R can replace common combinations of pro-
grams that you might use in the process of analysing your data. For exam-
ple, we have, at times, used two to three of Excel, Minitab, SAS, Systat, JMP,
SigmaPlot, and CricketGraph, to name a few. This results in not only costly
licensing of multiple programs, but software specific files of various for-
mats, all floating around in various places on your computer (or desk) that
are necessary for the exploration, plotting, and analysis that make up a re-
search project. Keeping a research project organized is hard enough with-
out having to manage multiple files and file types, proprietary data formats,
and the tools to put them all together. Furthermore, moving data between
applications introduces extra steps into your workflow. These steps are re-
moved by investing in R.
Fifth, you can make publication-quality figures in R, and export them in
many different formats, including pdf. We now use only R for making
graphs, and when submitting manuscripts to journals we usually send only
pdf files generated directly from R. One of the nice things about pdfs is
that they are resolution independent (you can zoom in as far as you like
and they don’t get blocky). This means that publishers have the best possi-
ble version of your figure. And if the quality is poor in the published ver-
sion of your paper, you know it is down to something the publishers have
done!
WHY R ? 3

Finally, and quite importantly, R makes it very easy to write down and
save the instructions you want R to execute—this is called a script in R. In
fact, the script becomes a permanent, repeatable, annotated, cross-platform,
shareable record of your analysis. Your entire analysis, from transferring
your data from field or lab notebook, to making figures and performing
analyses, is all in one, secure, repeatable, annotated place.
So, if you have not already done so, go get R. Follow this link and locate
the server closest to you holding R:

http://cran.r-project.org/mirrors.html

Then click on the operating system (Mac OS X, Windows, and Linux) you
use. This will take you to a page specific to your operating system. For
Mac OS X users, look down until you see a link to something like R-2.13.
pkg. Click on this, and then install the downloaded file. For Windows
users, you get taken to a page where you click on the “base” link (you want
the “base” version of R); from here the on-screen instructions make it clear
what to do next. If you get stuck here, please read the instructions about
installation in the FAQs, linked at the bottom of every R homepage. Linux
users, and those of other operating systems, probably know how to get and
download R. If any of you are stuck at this stage, take a look at Box 2.1 and
Box 2.2 for more information on setting up your computer and getting
and installing R. If you’re still stuck, email one of us. Really.
This page intentionally left blank
2
2
Import, Explore, Graph I
Getting Started

O ne of the most frequent stumbling blocks for new students and sea-
soned researchers using R is actually just getting the data into R. This
is really unfortunate, since it is also most people’s first experience with R!
Let’s make this first step easy.
Assume you have some datasheets on your clipboard or in your lab
book. Perhaps these data are measures of the abundances of various
species in various places, or morphological measurements of individual
organisms. Obviously, you need to put this data into your computer in
order that you can then get it into R. And though we’ve implied that R is
good for everything, it is not so good for entering large amounts of
data.
Instead, use a spreadsheet application such as Microsoft Excel, Open
Office, or Numbers to enter your data. Make the first row of your spread-
sheet the names of your variables (column names). Keep these variable
names informative, brief and simple. Try not to use spaces or special sym-
bols, which R can deal with but may not do so particularly nicely. Also, if
you have categorical variables, such as sex (male, female) use the category
names rather than codes for them (e.g. don’t use 1 = male, 2 = female).
6 GET TING STARTED WITH R

R can easily deal with variables that contain words, and this will make sub-
sequent tasks in R much more efficient.
Finally, we highly recommend that you enter data so there is one obser-
vation per row. That is, make a dataset with column names like treatment1,
treatment2, replicate, response_variable. This will make your R-life much,
much easier, since many of the functions in R prefer data this way. If
you, for example, made a dataset with columns treatment1, treatment2,
response of replicate 1, response of replicate 2, and response of replicate 3,
you would have to do some data manipulation to get the data into the
correct shape for many R functions.
Next, print your entered data onto paper, and check that this copy of
your data matches the data on your original datasheets. Correct any mis-
takes you made when you typed your data in.
Now, don’t save your file as an .xls, .xlsx, .oo, or .numbers file. Instead,
save it as a “comma separated values” file (.csv file). In Excel, Open Office
or Numbers, after you click Save As . . . you can change the format of the file
to “comma separated values’, then press Save. Excel might then, or when
you close the Excel file, ask if you’re sure you’d like to save your data in this
format. Yes, you are sure! At this point in our workflow, you have your
original datasheets, a digital copy of the data in a .csv file, and a printed
copy of the data from the .csv file.
One of the remarkable things about R is that once a copy of your “raw
data” is established, the use of R for data visualization and analysis will
never require you to alter the original file any way (unless you collect more
data!). Therefore keep it very safe! In many statistical and graphing pro-
grams, your data spreadsheet has columns added to it, or you manipulate
columns or rows of the spreadsheet before doing some analysis or graphic.
With R, your original can always remain unmanipulated. If any adjust-
ments do occur, they occur in an R copy only and only via your explicit
instructions.
But how do you do actually get the data in this .csv file into R? How do
you go from making a dataset in a .csv file to having a working copy in R’s
brain to use for your analysis?
IMPORT, EXPLORE , GRAPH I : GET TING STARTED 7

2.1 Where to put your data

Part of keeping your data safe is putting it somewhere safe. But where? We
like to be organized and we want you to be organized too.
Make a new folder in the main location/folder in which you store your
research information—perhaps you have a Projects folder in MyDocu-
ments (PC) or in the Documents folder (Mac and e.g. Unbuntu); create a
folder inside this location. Give the folder an informative name—perhaps
“MyFirstAnalysis”.
Understanding where your data is stored is very important for learning
how to use R. The location, or address, for information on a computer is
known as the PATH. How do you find out the PATH to a folder or dataset on
a computer? First, note that there are some really easy ways to get the PATH
to your raw data file without having to type it in. This is important, since
typing in PATHs incorrectly is one of the most common early stumbling
blocks, and a very frustrating one. Essentially, the trick for getting paths is to
copy them from the Finder (OS X) or the Explorer (Windows) (see Box 2.1
for details). You shouldn’t ever have to type a PATH in, though sometimes
you might choose to. In case you do, here’s what you need to know.
In Windows, the location of things historically starts with a drive letter
followed by a colon and some slashes, for example “C:\\MyDocuments\\
project1\\raw data\\file.csv”. The conventions for the direction of the
slashes in Windows varies, depending on how old your version of Win-
dow’s is—they are either presented as single or double backslashes. On a
Macintosh or Linux/Unix machine, the location will usually be in some
folder in the path from your home directory, such as “Users/username/
Documents/project1/raw data/file.csv” or “~/Documents/project1/raw
data/file.csv”.
In R, the convention for writing a PATH is always a single forward slash.
So, whether you are on a PC or a MAC or a Linux/Unix box, the way you
describe where files are within your folders is consistent: one forward slash.
However, if you copy PATH information from Windows, you will probably
need to change backward slashes to forward slashes.
8 GET TING STARTED WITH R

Box 2.1: The PATH: Where are your files?

Linux/Unix
Our guess is that if you are using Linux/Unix to run R, you understand the PATH.

Macintosh
To make OSX show the PATH in the title of the Finder, you need to invoke a
command in the Terminal.
Go to Applications/Utilities/Terminal.app and double click.
At the prompt, type the following:

defaults write com.apple.finder _FXShowPosixPathInTitle -bool YES


Next, type the following (this restarts the finder).
killall Finder

Now, the top of your finder window should show the location where you are—
the PATH.
Note that Linux/Unix systems and Macintosh systems use the same convention
for describing the PATH—a forward slash separates all folders and documents in the
final folder.
One feature of OSX is that you can actually drag this information to another
document. If you click and hold the folder symbol, you can drag this information to
any text editor, including an R script. In fact, dragging ANY folder or document to
the script editor for the Macintosh will paste the path.

Drag the folder icon to the


other window (script)
IMPORT, EXPLORE , GRAPH I : GET TING STARTED 9

Windows
To make Windows show the path in the explorer, you need to set the preferences in
the Tools menu for the explorer. Tools->Folder Options->View Tab will take you to a
list of tick boxes. There should be a tick box labelled “Display full path . . .” which will
show the path to files in the address bar and the title bar.

IMPORTANT NOTE: In contrast to Linux/Unix and the Macintosh operating system,


Windows tends to present paths using a single backslash. The even older conven-
tion is two backslashes. R accepts either ONE forward slash or TWO backslashes to
read files from the hard drive into R. Even if you copy the path from the Explorer
into R, you will need to change the “slashes” to ONE forward, or TWO backwards.
10 GET TING STARTED WITH R

If you’re confused by any of that, don’t forget you can copy and paste
paths, and Box 2.1 provides a bit more detail about how to do this. We
assume that Linux/Unix users are familiar with PATHs.

2.2 Make a folder for your instructions (code, script)

Now, inside that folder you just made, make another folder called analyses
(i.e. “MyFirstAnalysis/analyses”). And perhaps another folder called
manuscript. Perhaps another one called Important PDFs. We think you
might be getting the point: use folders to organize separate parts of your
project. Your file of instructions for R—your script file—will go in the
analyses folder. We’ll build one soon. Be patient.☺
What is the script file? As we noted in the Preface, R allows you to write
down and save the instructions that R uses to complete your analysis. Trust
us, this is a desirable feature of R. As a result of making a script, you, as a
researcher, end up with a permanent, repeatable, annotated, shareable, cross-
platform archive of your analysis. Your entire analysis, from transferring
your data from notebook, to making figures and performing analyses, is all
in one, secure, repeatable, annotated place. We think you can see the value.

2.3 How to get your data into R and where it is stored in R’s brain

Now comes the fun part. You’ve organized your life a bit. You know where
your data is, and you know where you will store things associated with a
particular project/experiment/analysis. Let’s use R.
Wait! R? Where is it? If you have not installed it yet, Box 2.2 provides
detailed instructions on how to install R on your machine—be it a PC,
Macintosh, or Linux. It’s not hard, but there are some helpful hints in
there.
Now, assuming the installation has been successful, start R. Click the
icon on your desktop, navigate to the start menu, find the applications
folder, click on the icon in the dock . . . you know what to do. You are clever.
You know how to start an application on your computer!
IMPORT, EXPLORE , GRAPH I : GET TING STARTED 11

Starting R does the same thing on Windows and Macintosh machines.


The most obvious is the creation of at least one window, called the
R CONSOLE. This is the window into the engine of R. This is the window
which accepts commands from you, sends these commands to the little
people inside R that are really smart and talk in a language of 1s and 0s,
and then returns an answer.
The second type of window in R is called the SCRIPT. Not to labour the
point, but the SCRIPT is a permanent, repeatable, annotated, shareable,
cross-platform archive of your analysis. It is a bit like a word-processing
window that you write stuff in, but it tends to have at least one major feature
that word processors don’t—there are combinations of keyboard strokes
that send information from the SCRIPT to the R Console, automatically.
To make a new SCRIPT, simply go to the File menu and choose New
Document (OS X) or New script (Windows). Box 2.3 provides some added
insight into the built-in script editors in the Windows and Macintosh ver-
sions of R.
Now you are ready to use R. If you have been working along with us, you
will have a data file residing in a folder, R running as an application, and
two windows visible on your desktop—the CONSOLE and a SCRIPT
window.

2.4 Working with R—hints for a successful first


(and more) interaction

First, if you are a Windows users, consider downloading Rstudio (http://


www.rstudio.org/) and using it to run R. We’re pretty sure that you’ll like it
more than the Windows R application, simply for the script functionality.
Among other things, it does a much better job of keeping your different R
windows organized. And it has a nice script editor. You can use Rstudio on
a Macintosh, but there is a nice script editor already built in.
Second, we’d like to introduce a very special keyboard character. It is the
# character. It is important to find this character on your keyboard. It may
not be obvious on European keyboards, especially European Macintosh
12 GET TING STARTED WITH R

Box 2.2: Downloading and installing R

R software is maintained at the Comprehensive R Archive Network—CRAN. The R


Project Home Page is http://www.r-project.org/. However, there are many mirrors
providing local access to all software and documentation—physical locations
around the world with up to date copies of the latest versions of R and its associ-
ated packages.
We suggest that you locate the mirror closest to you:

You can bookmark your favourite mirror in your web browser. The mirror provides
all the files and instructions necessary for installing R on your computer. Here we
show the mirror at Bristol University, UK. Simply click on the link for your operating
system, READ THE INSTRUCTIONS, and proceed to enjoy R. There is a section at the
bottom of the boxes called “Questions About R”. If you think you might ignore these,
you are exactly the people they are written for.
IMPORT, EXPLORE , GRAPH I : GET TING STARTED 13

Prepared Binary Distributions and


Instructions for all operating systems
14 GET TING STARTED WITH R

Box 2.3: Script editors

Macintosh
The Macintosh version of R comes with a feature-rich script editor. It provides line
numbering, syntax colouring, and a keyboard combination for sending information
from the script to the console.

Line numbering

Syntax colouring:
Text is red (within quotes)
Numbers are green
Boolean operators are yellow
Function components are blue

To “send” this information from the script to the console, you may use the
keyboard combination:
cmd + return
or the leftmost icon in the script, with the red arrow (send this to the console).
If you simply press cmd + return, the line on which the cursor is on will be sent to
the console. Alternatively, you can select larger portions of the script, and then
press cmd + return. This will send the entire selection to R.
Because the Mac is now based on UnixBSD, it also has access to a variety of Unix/
Linux script editors including vi, emacs, and so on. The Mac version of emacs can be
fully functional and integrated with R (using Emacs Speaks Statistics).

Windows
The built in Windows script editor is currently as basic as it gets. It is simply a text
editor. It contains no line numbering or syntax highlighting. However, it does possess
a keystroke combination for sending lines or selections from the script to the console:
control + R
Despite the lack of features for the built in editor, there are numerous Windows edi-
tors that interface with R very well. The two most popular with our students seem to
be TinnR and Rstudio (which is actually available for Windows, Macintosh and Linux):
http://www.sciviews.org/Tinn-R/
http://rstudio.org/

General
There are innumerable scripting applications available for many platforms. A small
repository can be found here: http://www.sciviews.org/_rgui/index.html.
Exploring the Variety of Random
Documents with Different Content
ANVERS.
PORTE DE LA
MAISON
HYDRAULIQUE.
TERMONDE.
XII

ALOST.—TERMONDE.

Deux Hôtels de ville pittoresques.—Aventures et


catastrophes.—Sièges.—Pestes et incendies.

Alost, petite ville industrielle, à mi-chemin entre Gand et


Bruxelles, plus peuplée qu'il ne semble à première vue, n'a pas très
grand caractère, et n'éveillerait pas un intérêt bien considérable,
n'était la très belle maison de ville qui se dresse sur sa Grand Place.
C'est une très ancienne ville, il faut le dire, et qui a des annales
assez chargées. S'il ne lui est pas resté beaucoup de maisons ou
d'édifices de son vieux temps, si sa physionomie s'est un peu
banalisée, cela tient sans doute aux mauvais moments qu'elle eut à
passer dans le cours des siècles.
HOTEL DE VILLE DE
TERMONDE.

En 1360, un incendie réduisit en cendres les trois quarts de ses


maisons. Une terrible aventure la mit à mal deux siècles après; au
temps des guerres religieuses, la Furie espagnole de 1576 partit
d'Alost. C'est un corps d'Espagnols occupant la ville enlevée par
surprise, qui donna le signal. Réunis sur cette grande place d'Alost,
les soldats mutinés, rendus furieux par une série d'échecs et par les
misères de la guerre, furent harangués par Juan de Navarese et
l'élurent pour chef. Après avoir mis consciencieusement à sac la
malheureuse petite cité, ils marchèrent sur Anvers pour lui faire subir
le même sort.
Toujours comme Anvers, quelques années après, Alost eut à
subir la visite de l'armée du duc d'Alençon. D'autres visites ne furent
pas moins désastreuses pour les habitants; en 1485 et 1580, ce fut
la peste qui fit chaque fois un nombre considérable de victimes.
L'église principale, la collégiale Saint-Martin, possède un grand
tableau de Rubens rappelant ces tristes épisodes: Saint Roch et les
pestiférés ou Alost ravagée par la peste.
L'Hôtel de ville d'Alost est très particulier, non point par la
magnificence de son architecture, les exubérances du gothique
flamboyant ou la belle ordonnance, mais par un arrangement de
lignes et de détails curieux, et par le caractère pittoresque de
l'ensemble. Le beffroi, le pignon à tourelles, les morceaux ajoutés,
gothique et gothico-Renaissance, tout s'arrange de façon très
amusante.
ALOST.—ARRIÈRE FAÇADE DE
L'HOTEL DE VILLE.

Le beffroi est une tour carrée du quinzième siècle, terminée par


un campanile à carillon sur la jolie plate-forme. Sous deux statues
décorant une des faces et représentant d'anciens comtes d'Alost,
s'inscrit la date de 1200 juste. Si l'Hôtel de ville suivant l'habitude de
toutes les vieilles personnes, ne se vieillit pas un peu par
coquetterie, cela fait un bel âge, et comme il vient d'être restauré, il
semble porter très bien ses sept cents ans.—Ni espoir, ni crainte, dit
une inscription sur le beffroi, sans doute en souvenir des pestes,
assauts, mises à sac et autres catastrophes qui tombèrent sur la
ville. Brrr..., c'est beau le stoïcisme.
Le beffroi s'accompagne d'un beau pignon décoré avec un
second campanile à la pointe et une tourelle sur le côté. Sur l'angle
s'avance une annexe de la fin du quinzième siècle, très joli petit
édifice du gothique de la dernière période, très orné, très fleuri, à
pignon ondulé, avec des statues et des pinacles. Les décrochements
de la façade donnent des ombres nettes qui soulignent et ajoutent
au pittoresque des lignes et des détails.
Pour ajouter par la couleur quelque chose de plus, il y a au fond
de la place une rangée de maisons à pignons du seizième siècle
portées sur arcades, façades de briques avec encadrements de
pierres. Une statue au milieu de la place s'entoure des voitures, des
échoppes et des déballages du marché: c'est Thierry Mœrtens,
célèbre imprimeur, né à Alost, et qui fonda en sa ville natale un des
premiers établissements typographiques de Belgique.
L'Hôtel de ville a, par derrière, une deuxième façade plus sévère,
un grand pignon éclairé de belles fenêtres et flanqué aussi de
tourelles.
La vieille église Saint-Martin fait face au beffroi, au bout d'une
petite rue; la pauvre église serait probablement fort belle, si, ayant
échappé aux catastrophes de 1360 et de 1576, elle n'avait été
ravagée par un incendie en 1605. Elle n'a pour ainsi dire pas de
façade, on tourne autour par des petites rues et l'on ne trouve que
les entrées latérales, de jolis morceaux, des arrangements de
transepts, de chapelles et de toits très mouvementés.
Autre gentille petite ville, autre Hôtel de ville intéressant, à peu
de distance; c'est Termonde ou Dendermonde, au confluent de la
Dendre et de l'Escaut.
Dans la grasse verdure des prairies, parmi les bouquets d'arbres
où çà et là des maisonnettes mettent la note rouge d'un toit de
tuiles, la Dendre vire et sinue capricieusement, enserrant des
remparts, des talus de batteries, tournant autour des bastions bas et
s'élargissant en étang devant une porte. Il faut passer plusieurs
ponts, franchir plusieurs bras de rivière pour entrer en ville.
Termonde est une vieille place forte et elle a toujours compté l'eau
de ses rivières comme son principal rempart.
Toutes ces eaux qui font la beauté
et la fraîcheur de sa campagne lui ont
servi en 1667 lorsque Louis XIV,
arriva avec cinquante mille hommes,
se flattant de prendre rapidement la
ville, comme il venait d'enlever Alost
et la plupart des places de la Flandre
et du Hainaut. Mais, aux approches
de l'ennemi, les défenseurs de
Termonde n'eurent qu'à ouvrir leurs
écluses, la campagne fut transformée
en un lac, et l'armée française dut
aussitôt lever le siège.
Cependant, en 1706, l'armée de
Marlborough vint assiéger une
garnison française, c'est l'année de
Ramillies, le temps des tristesses et
des revers pour le grand Roy vieilli, et
cette fois Marlborough prend la place,
ÉGLISE D'ALOST. après six jours de tranchée ouverte.
Comme tous les Hôtels de ville de
Belgique, celui de Termonde vient d'être restauré. Sa large façade
claire compte trois pignons à gradins donnant du pittoresque au
grand comble; au milieu, monte le beffroi, haute tour carrée,
encastrant en haut l'horloge entre quatre tourelles, et couronnée
d'un gracieux petit campanile.
ALOST.—VIEILLES MAISONS.

Comme décoration de façade, ce sont des statues accrochées


tout le long, sous des niches, un balcon bretèche au beffroi et en
bas un petit perron gardé par le lion de Flandre.
Sur le côté gauche de la place, un autre édifice important fait vis-
à-vis à l'Hôtel de ville, un grand bâtiment avec un toit énorme, de
hautes lucarnes à gradins et une fine tourelle sur le côté; c'était jadis
la Halle aux draps convertie aujourd'hui en Musée.
Il y a une église intéressante, Notre-Dame, qui peut montrer un
grand décor d'autel de Saint-Nicolas, des fonts baptismaux curieux,
et diverses œuvres d'art. David Téniers habita longtemps Termonde.
Etait-ce là qu'il portait ses tableaux à vendre au marché sur son âne?
LE MUSÉE A TERMONDE.
MALINES.—VIEUX PONT ET NOTRE-DAME-AU-DELA-DE-
LA-DYLE.
XIII

MALINES.—LOUVAIN.—AUDENARDE.

La Grand'Place.—La Tour géante de Saint-Rombaut.—Un


grand palais ruiné.—Vieux logis.—Orfèvrerie de pierres à
Louvain.—L'Eglise Saint-Pierre.—Autres tours géantes
écroulées.—L'Université.—La Grand'Place d'Audenarde et
l'Hôtel de ville.—Notre-Dame de Pamele.

La dominante architecturale de Malines, ce n'est pas un beffroi


de maison communale, c'est un clocher d'église: la très grosse et
très haute tour de Saint-Rombaut. La vieille cité catholique, la vieille
ville des dentelles,—très abandonné, le fuseau des dentellières,—
bien que modernisée sur ses grandes voies, conserve, dans les
quartiers serrés du centre, assez de vieux édifices pour faire cortège
à son imposante cathédrale au formidable clocher.
MALINES.—ANCIEN ÉCHEVINAGE.

La Dyle, une rivière pas bien large, tourne et retourne à travers


les maisons et se divise en plusieurs bras. De temps en temps, on
trouve un pont, une percée dans les vieilles murailles, c'est la Dyle
qui passe et disparaît sous des voûtes, sous des bâtisses
désordonnées, sous des verdures, dans des cours et des jardins.
MALINES.—ANCIENNES HALLES ET PALAIS
DU GRAND CONSEIL, AVANT LEUR
RESTAURATION.

La Grand'Place, qui se prolonge à droite et à gauche par d'autres


places, est admirablement encadrée de très beaux monuments. On
trouve d'un côté les Halles, ou plutôt le bâtiment composé des
Vieilles Halles et du palais bâti par Charles-Quint pour le Grand
Conseil. A gauche, l'ancienne Maison échevinale; en face, une
rangée de belles maisons du seizième siècle, accompagnant un Hôtel
de ville du dix-huitième, au-dessus desquelles maisons se dressent la
nef de Saint-Rombaut, l'abside avec ses magnifiques fenêtres et
toutes ses chapelles et la tour colossale.
Saint Rombaut était venu d'Ecosse prêcher le christianisme à
Malines vers l'an 700; l'église actuelle date des quatorzième et
quinzième siècles. Malines fut érigé en Archevêché pour le cardinal
Granvelle, le célèbre ministre de Philippe II, qui eut aussi le titre de
Primat des Flandres. C'était en 1559, le roi Philippe II procédait à la
réorganisation des Pays-Bas et nommait, entre autres, Guillaume
d'Orange, au gouvernement de Hollande,
et le comte d'Egmont à celui de Flandre
et d'Artois; la duchesse Marguerite de
Parme, fille naturelle de Charles-Quint,
était gouvernante générale.
La tour étonne par ses proportions et
charme quand on suit le détail des
lignes; ce sont d'énormes contreforts
habillés de belles sculptures, de niches,
de dais, de pinacles, de balustrades, et
cela monte à 97 mètres, jusqu'à une
belle plate-forme portant une amorce de
flèche qui n'a jamais été construite.
Cette géante de pierres, incomplète,
ressemble à la Tour Saint-Jacques de
Paris, mais elle est plus massive et plus
haute. On devait encore lui ajuster une
flèche proportionnée à sa taille, montant
d'une soixantaine de mètres encore, mais
les événements du seizième siècle ont
arrêté sa construction. Les habitants de
MALINES.—PIGNON SUR
Malines ne peuvent se consoler de ne
LA GRAND'PLACE.
point voir cette flèche dans leur ciel, et ils
accusent Guillaume d'Orange de leur
avoir volé les pierres amassées pour la construction, en vue de bâtir
la ville de Willemstadt, créée par lui au milieu des polders, en avant
de Rotterdam.
Pour se rendre exactement compte des proportions de la tour, il
suffit de regarder à ses pieds le pavé de la place. Au centre, s'élève
la statue de Marguerite d'Autriche, tante de Charles-Quint,
gouvernante des Pays-Bas, qui avait établi sa résidence à Malines.
On a reproduit, autour de la statue, sur le pavé, le cadran de
l'horloge placée tout en haut de la tour et ce cadran mesure 13m.70.
MALINES.—CATHÉDRALE
SAINT-ROMBAUT.

On vient de commencer la restauration de l'édifice composite, à


la fois Halles et Palais du Grand Conseil. Il en avait besoin; en
certaines parties, c'était presque une ruine, utilisée tant bien que
mal en maisons. Cela faisait tout récemment encore un amalgame
extrêmement pittoresque. La façade était en trois morceaux
distincts: un grand pavillon au centre, grande porte ogivale
surmontée d'une galerie crénelée et d'un pignon flanqué de
tourelles;—un pignon du seizième siècle à droite,—et sur le flanc
gauche, un édifice tronqué, découronné, d'une très belle architecture
du seizième siècle, fortement écorchée, montrant çà et là des
sculptures brisées ou grattées, avec les restes d'une jolie tourelle
d'angle au-dessus d'un estaminet, et des boutiques banales au rez-
de-chaussée, sous des galeries bouchées qui devaient avoir été fort
belles. D'ailleurs, sur toute la façade, de grandes ogives murées, des
rafistolages de plâtre, des blessures béantes, des estafilades et des
cicatrices, montraient combien outrageusement le pauvre palais de
Charles-Quint avait été maltraité.
C'était là que siégeait le Grand Conseil, la Consulte, au temps où
la Cour de la Gouvernante et les administrations établies par elle à
Malines apportaient à la ville animation et prospérité. Malines ne
produisait pas que des dentelles pour les fraises des nobles dames,
elle fondait des canons et des bombardes pour les armées
espagnoles.
MALINES.—MAISON DU QUAI AU SEL.

Mais les beaux jours avaient parfois de tristes lendemains: ce


n'était pas assez de l'épouvantable catastrophe amenée par
l'explosion de son grand magasin à poudre, qui détruisit plusieurs
églises et trois cents maisons, en tuant ou blessant huit cents
personnes, Malines eut encore à souffrir des dévastations et des
mises à sac en 1566, 1578 et 1580. Alors disparurent bien des riches
logis et les édifices survivants reçurent de nombreuses blessures.
La vieille Maison échevinale, en meilleur état que le Palais de
Charles-Quint, n'a pas autant d'importance; c'est cependant un
bâtiment d'une assez jolie silhouette grâce à
un arrangement de pignons, à la tourelle
d'angle et au petit clocheton posé sur son
toit.
Sur les Bailles de fer,—joli nom d'allure
romantique,—qui commencent là, se voient
quelques pignons du dix-septième siècle
encadrant gentiment le marché. Ces Bailles
de fer, large rue plutôt que place,
conduisent au Grand Pont sur la Dyle, pont
du treizième siècle, mais fort abîmé, dont les
vieilles arches sombres tiennent à tout un
quartier de vieilles constructions patinées à
souhait.
En face, sur le Quai au sel, on trouve
MALINES.
quelques-unes des plus curieuses parmi les
TOURELLE SUR LES
maisons de Malines; la maison d'Adam et
BAILLES DE FER.
Eve a deux étages d'arcatures gothiques:
celles de rez-de-chaussée encadrent les
deux bas-reliefs qui ont fourni le nom à l'immeuble, la tentation
d'Eve, puis Adam et Eve chassés du Paradis. D'après d'anciennes
vues, la maison possédait jadis une belle tourelle d'angle disparue. A
côté, autre pignon, de bois cette fois, très fouillé, avec sirènes à
l'auvent et statuettes à chaque poteau d'encorbellement.
Il s'en trouve un peu plus loin un autre non moins remarquable,
en pierre, qui présente du haut en bas des encadrements de
fenêtres fort compliqués, arcs trilobés, surbaissés, avec une jolie
porte intacte comme sculptures et panneaux. Çà et là se montre
quelque haute tourelle de briques, tourelle d'escalier sans doute,
montant à une belle hauteur par-dessus les toits, ou surgissant dans
des cours de maisons jadis importantes.
Que voir encore de Malines au hasard des petites rues? Le Palais
de la Gouvernante, Marguerite de Parme, sert aujourd'hui de Palais
de justice, c'est un bel édifice de noble
architecture complètement restauré de nos
jours. Un débris des remparts apparaît
isolé parmi les arbres du boulevard, c'était
la porte de Bruxelles, ouvrant entre deux
fortes tours coiffées de bizarres poivrières,
énormes et renflées en haut. Combien cela
devait être plus joli avec l'avancée au-delà
du fossé, comme le montrent les estampes
d'autrefois.
Et les églises: Saint-Jean, belle tour,
jolie petite rosace au portail, Sainte-
Catherine, Notre-Dame d'Hanswyck,
coupole basse du seizième siècle, Notre-
Dame-au-delà-de-la-Dyle, plus
intéressante, ces deux dernières
s'arrangeant de façon très pittoresque
parmi le fouillis des masures et des arbres
au-dessus de la rivière.
Il n'y a pas un grand nombre de
kilomètres entre Malines et Louvain, toutes
MALINES.—MAISON DU les deux situées à une quinzaine de
SAUMON. kilomètres de Bruxelles et aussi sur la
même petite rivière, la capricieuse Dyle qui
la traverse divisée en plusieurs bras
enfermant des îlots de maisons, ou les blocs de grands bâtiments
des brasseries.
Louvain, vieille cité qui eut aussi ses jours de grandeur et
d'opulence, se trouve aujourd'hui, après une série de mauvaises
chances et de malheurs, très au large dans l'enceinte à peu près
circulaire tracée il y a cinq ou six siècles, qu'elle remplissait de ses
rues populeuses, de ses maisons serrées. Maintenant la ville s'est
comme recroquevillée sur elle-même, la campagne a refranchi
l'ancienne ligne des remparts et reconquis bien du terrain, de rue en
rue.

HOTEL DE VILLE DE
LOUVAIN.

Cette résidence des anciens ducs de Brabant était pourtant,


comme tant d'autres villes de métiers, importante avec ses
puissantes et riches corporations du drap et de la toile, et de plus
une ville d'Université depuis 1426.
MALINES.—ANCIEN PALAIS DE
MARGUERITE D'AUTRICHE.

Le temps de prospérité des drapiers et tisserands est le


quatorzième siècle: alors Louvain comptait deux cent mille âmes,
plus que la plupart des capitales d'alors. Son Université au siècle
suivant eut parfois huit mille étudiants répartis dans quarante-trois
collèges. Aujourd'hui, temps de renaissance après une éclipse
presque totale, elle en a deux mille.
MALINES.—PORTE DE BRUXELLES.

Au quinzième siècle, la draperie déclinait déjà; il fallut pour


l'achever que le siècle suivant apportât avec lui tous les malheurs, la
peste et la guerre. La peste s'acharna sur la malheureuse ville, elle
tua cinquante mille habitants, dépeupla l'Université de ses élèves et
finit par emporter tous les professeurs.
Ensuite les guerres de la Réforme survinrent, lesquelles
détruisirent, suivant les historiens, trois mille trois cents maisons, ce
qui faisait ressembler Louvain «moins à une ville qu'à une campagne
ravagée». Actuellement, la ville remonte la pente, puisque de vingt-
six mille habitants, en 1840, elle en compte maintenant plus de
quarante mille.
Il reste à Louvain, de son âge prospère, un splendide édifice, un
Hôtel de ville de toute magnificence, construit au milieu du
quinzième siècle, et qui semble véritablement le chef-d'œuvre d'une
confrérie d'orfèvres qui auraient travaillé la pierre, ou de maçons qui
auraient tenté d'imiter l'œuvre des dentellières.
Construit tout à fait sur le modèle de ces châsses merveilleuses
destinées à renfermer des reliques vénérées, il ne lui manque que
des émaux et des pierres précieuses étincelant et rutilant au bout de
ses pinacles ou dans les découpures de ses balustrades.
Cette fabuleuse architecture, ne pouvant être renfermée dans un
musée, brille au plein soleil sur une Grande Place, pas très grande,
étroite même, resserrée entre ce magnifique reliquaire d'art
gothique et l'église Saint-Pierre, autre très beau morceau, au point
de vue pittoresque surtout.
L'Hôtel de ville fait penser à une Sainte-Chapelle, c'est la même
simplicité de plan, la même netteté de lignes, un rectangle à deux
pignons lançant une svelte tourelle à chaque pointe, avec une autre
tourelle à chaque angle, mais le tout est fouillé et sculpté de la base
au faîte, fleuri de la première à la dernière pierre. Trois étages de
fenêtres entre chacune desquelles une colonnette engagée au bas
porte sur une saillie triangulaire, en guise de contreforts, une série
de statues superposées sous des dais délicatement ciselés; tout le
long du toit, règne une belle galerie de créneaux ajourés en
balustrade flamboyante. Les tourelles d'angle, à partir de là, ont
encore deux étages de plates-formes et une flèche aussi ajourée.
Sur le toit, quatre étages de lucarnes.
Et partout, du haut en bas des arcatures trilobées, un
hérissement de fleurons, de crochets, de pierres miraculeusement
frisées, dentelées, tortillées. Et l'ensemble est d'une grâce souriante
et épanouie. Il n'est pas d'architecture plus gaie que ce gothique
flamboyant; par tous les temps, à travers bourrasques, brumes,
tempêtes et révolutions, le gothique sourit toujours. Quelles lunettes
portaient donc les gens du dix-huitième siècle qui l'accusaient d'être
un art de tristesse!
Cet admirable monument était, comme tant d'autres, comme
presque tous les monuments du Moyen-Age, arrivé à notre époque
fort maltraité, et il a dû subir de nos jours une complète
restauration; bien entendu les statues manquaient ou se trouvaient
mutilées, il a fallu les refaire.
On fait commencer la décadence de Louvain à la fin du
quatorzième siècle, après les dissensions entre les nobles et les
artisans qui ensanglantèrent maintes fois la ville. Un des principaux
chefs des gens des métiers ayant été assassiné à Bruxelles par des
nobles chassés de Louvain, le peuple, quand la nouvelle en arriva, se
rua en fureur sur les logis des nobles qui durent chercher refuge à
l'Hôtel de ville.

É
LOUVAIN.—ÉGLISE SAINT-PIERRE.

Mais la foule les y pourchassa et enfonça toutes les portes, les


nobles furent impitoyablement massacrés et jetés par les fenêtres
sur les piques du populaire entassé sur la place.
Les massacres suscitèrent d'autres massacres en représailles, il
en résulta une longue guerre qui se termina mal pour Louvain. Le
duc de Luxembourg, Wenceslas, futur empereur d'Allemagne, petit-
fils de Jean de Luxembourg, le roi de Bohême aveugle qui mourut à
Crécy, amena une armée pour châtier la ville où il entra par la
brèche en janvier 1382. C'est alors que la fabrication des draps
commença à décliner et que beaucoup d'artisans portèrent leurs
Métiers en Angleterre.
Cette décadence n'empêcha pourtant pas Louvain de construire
l'admirable Hôtel de ville actuel, pour remplacer celui qui avait été le
théâtre de cette défenestration, et que sans doute la guerre avait
ruiné comme une énorme quantité de maisons en ville.
Presque en face de l'Hôtel de ville s'ouvre le porche latéral de
l'église Saint-Pierre. Ce côté de la place est tout à fait pittoresque, il
y a encore de vieilles petites maisons rouges, à lucarnes flamandes
pourvues de frontons à volutes, sous les chapelles de l'église. Pourvu
qu'on ne les démolisse pas! l'abside est déjà complètement dégagée
et il y a bien des démolitions en train autour de Saint-Pierre. Cela fait
si bien partout, ces églises surgissant au-dessus des maisons basses
serrées, nichées, pour ainsi dire, dans le giron du grand monument.
Ici comme ailleurs, l'église y prend une majesté et une grandeur
remarquables, cet entourage cadre très bien avec l'architecture rude
du porche devant lequel s'avancent les bases d'un portail
commencé, et les deux étages de fenêtres, d'un joli dessin, les
pignons des chapelles et tous les arcs-boutants ajoutent encore du
mouvementé.
LOUVAIN. CHAIRE DE
L'ÉGLISE SAINT-
PIERRE.
HOTEL DE VILLE
D'AUDENARDE.

Pour l'intérieur, il faudrait comme à presque toutes les églises,


répéter qu'il est majestueux et riche en monuments et œuvres d'art:
jubé gothique, grand tabernacle, tombeaux, retables, tableaux,
chaire décorative posée sur un gros rocher de bois sculpté formant
grotte, avec arbres, feuillages sculptés et statues, particulièrement
un saint Paul de grandeur naturelle tombant de cheval sur la route
d'Ephèse.
LOUVAIN.—ÉGLISE SAINT-JACQUES.

Notons encore un Christ singulier, vêtu d'une robe de velours, et


très vénéré parce qu'un jour, suivant une légende, il détacha un bras
de sa croix pour saisir un voleur en train d'enlever le calice de l'autel.
LOUVAIN.—RESTE DES REMPARTS AU PARC SAINT-
DONAT.

Il paraît que jadis, au-dessus de la façade, une énorme tour


montait à 175 mètres, sans la croix, entre deux autres de 140.
C'était de toute l'Europe la pointe monumentale la plus haute. Le 31
janvier 1604, un ouragan formidable soufflait sur Louvain; la grosse
tour, orgueil de la ville, vacilla soudain sur ses deux voisines qui
fléchirent, et toutes trois s'écroulèrent sur les maisons voisines,
pendant que la grande croix emportée passait par-dessus les
maisons de la Place et s'en allait au loin tomber dans la Dyle.
Ici, comme dans toutes les villes, les riches corporations
possédaient des Halles monumentales. Les anciennes Halles aux
draps, actuellement occupées par l'Université, ne sont qu'un débris
de l'édifice primitif du treizième siècle; il reste le rez-de-chaussée,
très dénaturé extérieurement, sur lequel au dix-septième siècle, on a
construit un étage sans beauté. Cependant
la grande salle d'entrée est d'un beau
caractère, avec son double escalier dans le
fond, son plafond à grosses poutres, porté
par une épine de fortes colonnes
gothiques.
Partout on rencontre l'eau dans la ville,
la Dyle que l'on passe et repasse; partout
fument de grandes brasseries: c'est la ville
de Gambrinus, partout roulent de grandes
voitures chargées de tonneaux. Dans
toutes ces rues où l'atmosphère a l'odeur et
le goût de la bière, on peut rencontrer un
certain nombre de vieilles maisons ou de
choses intéressantes, mais sans
exagération.
Il y a, non loin de l'Université, un beau
et grand pignon de briques à rosaces
curieuses, qui provient peut-être de
quelque collège; plus loin, un reste de tour
avec un morceau de rempart dans un parc. VIEUX PIGNON, RUE
Dans la rue de Bruxelles, se voit, près de DE NAMUR.
l'Hôpital, un vieux portail roman assez
curieux appliqué à une chapelle moderne.
ÉGLISE SAINTE-WALBURGE, A
AUDENARDE.

Parmi les églises, Sainte-Gertrude et Saint-Jacques surtout, ont


quelque intérêt, le grand pignon de Saint-Jacques et sa flèche, se
découpent pittoresquement sur le ciel. Quant aux bâtiments de
l'Abbaye du Parc aux portes de la ville, ils ont été modernisés au dix-
huitième siècle.

Audenarde, c'est encore un Hôtel de ville de premier ordre,


encore un très merveilleux édifice qui peut bien se mettre au
premier rang, à côté de celui de Louvain. Il est dans le même
caractère et tout autant ciselé, tout autant fouillé et travaillé, avec la
délicieuse fantaisie du gothique le plus flamboyant, et même il
possède, pour le distinguer de la Châsse de Louvain, quelque chose
de plus, un beffroi superbe.
C'est pourtant une bien petite ville par le chiffre actuel de sa
population, six mille habitants, mais il ne lui suffit pas d'avoir pour
Hôtel de ville un chef-d'œuvre de l'art gothique, elle a encore deux
belles et grandes églises. D'ailleurs Audenarde jadis était artiste, ce
n'est pas des draps qu'elle fabriquait, mais des tapisseries de haute
lisse très fameuses, et c'est même chez elle qu'on vint chercher, à la
fondation des Gobelins, des ouvriers habiles et le maître tapissier
Jans pour les diriger.

AUDENARDE.—NOTRE-DAME DE PAMELE.
Welcome to our website – the ideal destination for book lovers and
knowledge seekers. With a mission to inspire endlessly, we offer a
vast collection of books, ranging from classic literary works to
specialized publications, self-development books, and children's
literature. Each book is a new journey of discovery, expanding
knowledge and enriching the soul of the reade

Our website is not just a platform for buying books, but a bridge
connecting readers to the timeless values of culture and wisdom. With
an elegant, user-friendly interface and an intelligent search system,
we are committed to providing a quick and convenient shopping
experience. Additionally, our special promotions and home delivery
services ensure that you save time and fully enjoy the joy of reading.

Let us accompany you on the journey of exploring knowledge and


personal growth!

ebookname.com

You might also like