File: r.rst

package info (click to toggle)
python-fluids 1.1.0-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 13,108 kB
  • sloc: python: 59,520; f90: 481; lisp: 342; ansic: 337; cpp: 228; ruby: 145; haskell: 118; perl: 106; makefile: 59; javascript: 49
file content (23 lines) | stat: -rw-r--r-- 491 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
R Integration
=============

This example demonstrates how to use fluids from R.

Source Code
-----------

.. literalinclude:: check_fluids_can_be_called_from_r.R
   :language: R
   :linenos:

Requirements
------------

- Python with fluids installed
- reticulate https://cran.r-project.org/web/packages/reticulate/index.html

Usage Notes
-----------

- The example demonstrates basic integration with fluids
- 90 microsecond friction factor, 170 microsecond tank creation observed by author