similar to: Off-topic: Pretty-printing R (or S) code with GNU a2ps

Displaying 20 results from an estimated 4000 matches similar to: "Off-topic: Pretty-printing R (or S) code with GNU a2ps"

2007 May 23
0
a2ps bug in 4.5?
Hi, My desktops which have gone from 4.4 tot 4.5 (i386) have a problem with a2ps. 'a2ps file.txt' dumps to the terminal instead of to the printer. 'a2ps -P printername file.txt' dumps to a file 'printername' 'lpr' still seems to work correctly. Any ideas about what can cause this? Regards, -- Henk van Lingen, Systems Administrator & DBA (o-
2007 Jan 08
2
rpm scriptlet failed
I have a system (Centos 4.4 all packages uptodate) where almost every rpm or yum operation fails with a message like e.g.: error: %preun(a2ps-4.13b-41.i386) scriptlet failed, exit status 255 some times the error is on %post() the last few lines of output from rpm -e -vv a2ps are D: ========== --- a2ps-4.13b-41 i386-linux 0x1 D: erase: a2ps-4.13b-41 has 316 files, test = 0 D: opening db
2012 Nov 01
1
How to nicely display R code with the LaTeX package 'listings'?
Dear expeRts, What's a 'good' (nice-looking, easy-to-read) setup for the LaTeX package 'listings' to display R code? The two versions below are partly inspired by the settings of the package SweaveListingUtils and http://r.789695.n4.nabble.com/R-How-to-format-R-code-in-LaTex-documents-td816055.html Any suggestions, comments, or improvements are welcome. Cheers, Marius ###
2006 Mar 14
1
Printing problem
Hi. I've been running CentOS 4 since it was released (since 4.0). I did a fresh install and have kept it updated using up2date and yum so at present my system is running CentOS 4.2. I mostly use my system as a super-user and so I can mostly do everything without worrying too much about permissions. Not too long ago I created a "general" user account which is automatically logged
2006 Mar 13
1
Printing from apps as a regular user...
Hi. I mostly use my system as a super-user and so I can mostly do everything without worrying too much about permissions. Not too long ago I created a "general" user account which is automatically logged in after a few seconds for others to have (limited) access to the system. Mostly everything works (ie. CD/DVD writing, sound, floppy access, etc.) But when it comes to printing, only
2006 May 17
3
Off topic --- help in locating a source.
Apologies for the off-topic question; as usual I'm trying to draw upon the unparalleled knowledge and sagacity of the r-help list. Please reply off-list if you can help me out. A collaborator of mine found a formula we need, on sheets which he had photocopied out of a book, some years ago. He cannot remember which book (he's getting to be as senile and forgetful as I am, poor bloke!).
2001 May 15
8
New printing concept of wine
Hi, I´m allways using the recent versions from cvs (prebuild from dailywine) and I stated that I have to reconfigure my wine printing. Before I used the wineps.drv driver but now wine seams to work with the printers defined in /etc/printcap. But there are some little questions left by me although I got it printing well: 1. How can I make another printer as default printer different from the
2002 Dec 15
0
[LLVMdev] Re: llvm-gcc goes 10 rounds against the GNU mascot and loses, film at 11
Brian was kind enough to test llvmgcc against a bunch of GNU code. This exposed all kinds of bugs, fixes below. > recode -- fails (bad headers, many ICEs) Can you give me a list of headers it wants? It's usally pretty easy to add them if I know what it needs... > cpio -- fails (dstring.c -- weird ssa bug) Fixed. This was a C frontend bug (problem assigning temporary reg nums).
2005 Jun 20
1
Off Topic: UPS units and heat generation
Hi all A slightly off topic post, but one that I think someone out there in the NUT community could probably help me with. Summer is coming, and my office at home is getting hot... helped in part by the APC 3KVA UPS I have sitting under my desk. It kicks out heat like a bar-heater, even when there is almost no load on it (idle load is one PC, one switch, one wireless AP, and thats it). It is
2007 Mar 13
1
IAX2 Question (Asterisk 1.4 tarball)
I've got IAX2 setup between two servers with this config: I have two servers on a switch: asteriskm is 192.168.0.160 and asterisk1 is 192.168.0.161 asteriskm has a Sangoma T1 card in it. I want to route calls from asteriskm to asterisk1 which will run an AGI IVR for the call. Config is below, but my problem is that 90-95% of the time when I start asterisk on the two servers I get the
2006 Sep 25
3
Best use of LaTeX listings package for pretty printing R code
This is what I have been using. Does anyone have a better way? In particular I would like to see letters in comment strings not stretched so much. Thanks -Frank \documentclass{article} \usepackage{listings,relsize} \lstloadlanguages{R} \newcommand{\lil}[1]{\lstinline|#1|} \begin{document} \lstset{language=R,basicstyle=\smaller,commentstyle=\rmfamily\smaller, showstringspaces=false,%
2012 Mar 15
2
Importing multiple worksheets from one Excle/ csv file into R
Dear R experts, I am trying to import some data from some Excle files into R. My Excle file contains about 50 sheets. One solution I can think about is to convert my Excle file into csv file first and then load data into R using 'read.csv'. But it seems to me that 'read.csv' only supports reading one sheet (or 'one file') each time, so that seems I have to create 50 csv
2014 Jun 04
2
R latex ubuntu
Buenas noches Instale ubuntu 14.04, corro un archivo que me funcionaba en windows, pero no se que librería debería cargar (instalar) para solucionar el problema. El codigo R dice: function(x) tools::texi2pdf El error dice: Error en texi2dvi(file = file, pdf = TRUE, clean = clean, quiet = quiet, : Running 'texi2dvi' on ' Otro archivo se compilo sin problemas (lyx con sreave).
2024 Jan 30
1
R interpreting numeric field as a boolean field
Dear friend Duncan, Thank you so much for your kind reply. Yes, that is exactly what is happening, there are a lot of NA values at the start, so R assumes that the field is of type boolean. The challenge that I am facing is that I want to read into R an Excel file that has many sheets (46 in this case) but I wanted to combine all 46 sheets into a single dataframe (since the columns are exactly
2024 Jan 30
1
R interpreting numeric field as a boolean field
If you are using the read_excel() function from the readxl package, then there's an argument named col_types that lets you specify the types to use. You could specify col_types = "numeric" to read all columns as numeric columns. If some columns are different types, you should specify a vector of type names, with one entry per column. Allowable names are "skip",
2011 Jul 13
7
Error when writing to Excel files using the packages xlsx and xlsx2
Dear group, I am working on a rather big project where the output data frames have dimensions of 3000 x 15 or greater. We are using xlsx and xlsx2 to write the data.frames to Excel sheets. Since recently we get the following error, when trying to write the data frames to the excel sheets: Error in ls(envir = envir, all.names = private) : invalid 'envir' argument We figured out that
2009 Jul 02
2
read.xls: number of sheets
Hi, I'm trying to read several Excel sheets from an Excel file into a list. I'm using read.xls from package 'gdata'. I would like to know how I can check the number of sheets before the loop (in the example below) so that I could adjust the loop counter? Any suggestions? DF.list <- list() for (i in 1:4) { DF.list[[i]] <- read.xls("sample_file.xls", sheet=i,
2024 Jan 30
1
R interpreting numeric field as a boolean field
Incidentally, "didn't work" is not very useful information. Please tell us exactly what error message or apparently aberrant result you received. Also, what do you get from: sapply(your_dataframe, "class") nrow(your_dataframe) (as I suspect what you think it is, isn't). Cheers, Bert On Tue, Jan 30, 2024 at 11:01?AM Bert Gunter <bgunter.4567 at gmail.com>
2009 Jul 08
1
RDCOMClient: how to close Excel process?
Hi, I?m using R package RDCOMClient (http://www.omegahat.org/RDCOMClient/) to retrieve data from MS Excel workbook. I?m using the code below to count the number of sheets in the workbook and then loop the data from sheets in to a list. ############# R code ################### library(gdata) library(RDCOMClient) xl <- COMCreate("Excel.Application") sh <-
2010 Jul 13
3
export tables to excel files on multiple sheets with titles for each table
Hello R-users, Checking the archives, I recently came across this topic: "export tables to Excel files" (http://r.789695.n4.nabble.com/export-tables-to-Excel-files-td1565679.html#a1565679), and the following interesting references have been proposed: http://rwiki.sciviews.org/doku.php?id=tips:data-io:ms_windows