Skip to Main Content
R Programming for Bioinformatics
book

R Programming for Bioinformatics

by Robert Gentleman
July 2008
Intermediate to advanced content levelIntermediate to advanced
328 pages
10h 53m
English
Chapman and Hall/CRC
Content preview from R Programming for Bioinformatics
R Language Fundamentals 55
2.12.6 Other topics
One should be careful to dierentiate between a side eect and a value.
A simple example of that dierence comes from the print function. In the
following code we will use print to print the value of an object, which is a side
eect, and then we will show that the return value of the call to print is the
object itself. Hence, we have both a side eect and a value. All R functions
return values; sometimes the value is NULL, but a value is always returned. If
the last statement in the body of the function is a call to invisible, then the
value will not be printed, but it is still returned.
The code below
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Computation in BioInformatics

Computation in BioInformatics

S. Balamurugan, Anand T. Krishnan, Dinesh Goyal, Balakumar Chandrasekaran, Boomi Pandi
R for Data Science Cookbook (n)

R for Data Science Cookbook (n)

Prabhanjan Narayanachar Tattar, Yu-Wei, Chiu (David Chiu)

Publisher Resources

ISBN: 9781420063677