Follow me
-
Recent Posts
calendar
December 2024 M T W T F S S 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Recent Comments
- Stan on python argparse issues with the help argument (TypeError: %o format: a number is required, not dict)
- Cormac on Pandas : how to compare dataframe with None
- LP on AWK: the substr command to select a substring
- jrab on python argparse issues with the help argument (TypeError: %o format: a number is required, not dict)
- How to disable SSL verification for urlretrieve? – Peter's blog on python: certificate verified failed
Archives
Categories
Meta
Tag Archives: R
How to generate a PDF reference of an R package
If you have the Rd files in a man directory, then in a shell command, you can use this command: R CMD Rd2dvi –pdf –title=’Test of foo’ -o /tmp/foo.pdf man/*.RdR CMD Rd2dvi –pdf –title=’Test of foo’ -o /tmp/foo.pdf man/*.Rd
R: how to use command line arguments from R scripts
If you want to script R with arguments, you can type (under a Linux shell): R –no-restore –no-save –args 10 < script.RR –no-restore –no-save –args 10 < script.R where –args is a list of arguments that you want to use … Continue reading
Missing package in rpy2 (ggplot2)
When using rpy2, the python implementation of R, I quickly came up with the issue of having missing packages (e.g., ggplot2) With a fresh installation of rpy2 (and R-core), if you type the following code in your python shell: from … Continue reading