similar to: cat with backspace and newline characters

Displaying 20 results from an estimated 9000 matches similar to: "cat with backspace and newline characters"

2006 May 05
1
Problems with input and AIX
I noticed an odd side effect of the different implementations of backspace (erase) through clients such as PuTTY and SecureCRT and the input functions like fgets (I noticed this originally in ssh-keygen). On our AIX system, if the option to use ^? as the backspace key is chosen, fgets will actually put the control code for 'DEL' in the buffer (0x7f) instead of deleting the last character
2009 Apr 15
2
Backspace in strings and patterns
Interesting. Not what I expected. This is Ruby 1.8.6. > irb irb(main):001:0> str = "abx\bc" => "abx\bc" irb(main):002:0> str.length => 5 irb(main):003:0> s = str.sub(/.\b/, '''') => "ab\bc" irb(main):004:0> s.length => 4 irb(main):005:0> s = str.sub(/.\x08/, '''') => "abc"
2011 Oct 28
3
R CMD check and error in an \Sexpr in an Rd file
Hi, another Rd related issue I encountered is that if an error occurs in an \Sexpr in an Rd file, then on get the following error: * checking for portable compilation flags in Makevars ... OK * checking for portable use of $(BLAS_LIBS) and $(LAPACK_LIBS) ... OK * checking examples ... ERROR Error in paste(before, x, after, sep = "") : object 'exfile' not found Execution halted
2012 Jun 08
4
Multiple sub-architecture: linking issue
Hi again, following my previous post on RCurl, I cannot install Rcpp either: g++ -m32 -I/home/renaud/bin/R/2.15/lib64/R/include -I/home/renaud/bin/R/2.15/lib64/R/include/i386 -DNDEBUG -I../inst/include/ -I/usr/local/include -fpic -g -O2 -c r_cast.cpp -o r_cast.o g++ -m32 -shared -L/usr/local/lib64 -o Rcpp.so Date.o DateVector.o Datetime.o DatetimeVector.o Dimension.o DottedPair.o
2012 Jun 08
4
Multiple sub-architecture: linking issue
Hi again, following my previous post on RCurl, I cannot install Rcpp either: g++ -m32 -I/home/renaud/bin/R/2.15/lib64/R/include -I/home/renaud/bin/R/2.15/lib64/R/include/i386 -DNDEBUG -I../inst/include/ -I/usr/local/include -fpic -g -O2 -c r_cast.cpp -o r_cast.o g++ -m32 -shared -L/usr/local/lib64 -o Rcpp.so Date.o DateVector.o Datetime.o DatetimeVector.o Dimension.o DottedPair.o
2012 Dec 18
1
Call function only when running via R CMD check?
Hi Henrik (and list), I am interested in a similar feature, and would be happy to see the suggestions you got off-line :) Have you come up with a robust solution, which would work in a variety of situations (in examples, tests, \Sexpr calls, etc..)? Thank you. Bests, Renaud -- Renaud Gaujoux Computational Biology - University of Cape Town South Africa
2012 Apr 17
1
url, readLines, source behind a proxy
Hi, when I run R CMD check with flag --as-cran, the process hangs at stage: * checking CRAN incoming feasibility ... I am pretty sure it is a proxy issue. I looked at the check code in the tools package and it seems that the issue is in the local function `.repository_db()` (defined in `tools:::.check_package_CRAN_incoming()`), which eventually calls `url()` with argument
2010 Sep 10
3
Non identical numerical results from R code vs C/C++ code?
Hi, suppose you have two versions of the same algorithm: one in pure R, the other one in C/C++ called via .Call(). Assuming there is no bug in the implementations (i.e. they both do the same thing), is there any well known reason why the C/C++ implementation could return numerical results non identical to the one obtained from the pure R code? (e.g. could it be rounding errors? please
2004 Aug 06
1
termcapsupport not found
I try to make an asterisk system and downloaded and unzipped the file asterisk-1.0-RC1.tar.gz. When I do the first make I got the following messages: ..... checking for tgetent in ltermcap.......no checking for tgetent in ltinfo.......no checking for tgetent in lcurses.......no checking for tgetent in lncurses.......no configure: error: termcapsupport not found make: *** [editline/libedit.a] Error
2010 Jul 09
2
Defining a method that behaves like '$'?
Hi, is there a way to define a method say '$$' that would behave like '$' and allow calls like 'a$$name'? Thanks. Renaud -- Renaud Gaujoux Computational Biology - University of Cape Town South Africa ### UNIVERSITY OF CAPE TOWN This e-mail is subject to the UCT ICT policies and e-mail disclaimer published on our website at
2014 Dec 05
2
install.packages deletes PACKAGES file in local repo
Hi, running install.packages() to install a package from a local repository (i.e., starts with file:///) appears to delete the PACKAGES file that is in the src/contrib/ directory. This happens on a cluster running Scientific Linux release 6.4 (Carbon), but not on my Ubuntu local machine. Subsequent calls to install.packages() complain about src/contrib/PACKAGES not existing, although there still
2018 Nov 23
4
Conflicting TERM env var with SetEnv feature.
On 22/11/18 10:09 pm, Philipp Marek wrote: > if it happens that your local terminal emulation is not available > on the remote machine(s), what would be the right place to fix it? Is it a trick question?? Isn't the remote machine the only place that you can fix ?? Setting TERM on the local machine won't magically make a Wyse 60 understand VT220 control codes. Why not wrap ssh
2013 May 08
1
Namespace/inheritance problem in S4 methods for a union class
Hi, I started this post on bioc-devel but this seems to be more general: https://stat.ethz.ch/pipermail/bioc-devel/2013-May/004311.html See reproducible example from Martin below. Thank you. Renaud ---------- Forwarded message ---------- From: Martin Morgan <mtmorgan at fhcrc.org> Date: 7 May 2013 19:55 Subject: Re: [Bioc-devel] ExpressionSet and LumiBatch: inheritance problem in S4
2011 Jun 28
1
doMC - compiler - concatenate an expression vector into a single expression?
Hi, this post is about foreach operators, the compiler package and the last update of doMC that includes support for the compiler functionality. I am using a home-made %dopar%-like operator that adds some custom expression to be executed before the foreach loop expression itself (see sample code below). It used to work perfectly with doMC 1.2.1, but with the introduction of the compiler
2001 Mar 28
5
R and xterm
Howdy! I have a problem that's similar to one discussed earlier on the list: When not in xterm all the backspace and cursor-movements and stuff are working well. Only when I start R in an xterm window backspace appears as ^H and so on. What can I do? Ragnar -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read
2015 Jul 07
3
List S3 methods and defining packages
Hi, from the man page ?methods, I expected to be able to build pairs (class,package) for a given S3 method, e.g., print, using attr(methods(print), 'info'). However all the methods, except the ones defined in base or S4 methods, get the 'from' value "registered S3method for print", instead of the actual package name (see below for the first rows). Is this normal
2011 Feb 04
4
x25 line xterm
Noted that xterm by default uses 24 lines per window. I have reviewed /etc/termcap looking for a specific entry for xterm that I can edit to change the ln#24 to ln#25 for our application. When I used RedHat there was an editable option to change the number of displayable lines as is done in putty. Any suggestions? --Hal. -- Hal Davison Observe Goal, Set the course, Burn the map
2008 Oct 30
2
Convert windows package to Linux source package
Hi, is there a simple way, I mean a utility that converts a windows package (.zip file) to a Linux source package (tar.gz or even simply extract the source code and Rd files needed to run successfully a R CMD check). The windows package doesn't have any external lib, C code, etc..., just plain R code, so in theory it is quite straight forward (extract the code from the functions, and
2011 Oct 05
1
Behaviour of 'source' with URLs and proxy
Hi, I am having troubles sourcing a file from our local network from R. It looks like this file are not properly accessed by 'source', even they can be downloaded with download.file. (See below my settings and some tests I did). I ended up with a work around, but I would like to understand what is going on. Doesn't source/readLines uses the same mechanism as download.file to
2010 May 09
1
Vim - In INSERT Mode, the Backspace key does not work
Hi All, I'm not very good with Vim. I noticed when it is in INSERT Mode, the backspace key no longer works. How to do I configure it so that it will work with the backspace key? Any ideas? Thanks Mary