Displaying 20 results from an estimated 600 matches similar to: "How to limit string size when displaying data frames?"
2013 Dec 13
1
substring() and propagation of names
Hi,
In R < 3.0.0, we used to get:
> substring(c(A="abcdefghij", B="123456789"), 2, 6:2)
A B A B A
"bcdef" "2345" "bcd" "23" "b"
But in R >= 3.0.0, we get:
> substring(c(A="abcdefghij", B="123456789"), 2, 6:2)
[1] "bcdef"
2018 Sep 10
1
Re: [PATCH nbdkit v3 2/6] main: Tighten up characters permitted in config keys.
On 9/10/18 10:27 AM, Richard W.M. Jones wrote:
> Previously key=value on the command line allowed the key to be pretty
> much anything that didn't contain an '=' character. Even empty
> strings were permitted.
>
> This tightens up the permitted keys so they must contain only ASCII
> alphanumeric, period, underscore or dash characters; must not be an
> empty
2007 Dec 03
2
interaction with C++ code (PR#10487)
Full_Name: Ian Wilson
Version: 2.6.1
OS: linux
Submission from: (NULL) (128.240.229.7)
The problem is new to R2.6.?. The code works as expected in R-2.5.0. I get the
problem with two different operating systems - an older redhat and new ubuntu
and with both g++4.1 and g++3.4.
I have a problem with character data that is passed back from C++ code. A small
example is the following C++ code
2013 Apr 19
3
[LLVMdev] funny llvm bug
This is a feature (or bug) of MCSectionELF::PrintSwitchToSection. For
ELF target this function tries to escape string if it founds
'suspicious' character, see implementation in MCSectionELF.cpp:
StringRef name = getSectionName();
if (name.find_first_not_of("0123456789_."
"abcdefghijklmnopqrstuvwxyz"
2010 Jul 21
3
String processing - is there a better way
I have a two part question
Part 1)
I am trying to remove characters in a string based on the position of a key character in another string.? I have a solution that works but it requires a for-loop.? A vectorized way of doing this has alluded me.?
CleanRead<-function(x,y) {
? if (!is.character(x))
??? x <- as.character(x)
? if (!is.character(y))
??? y <- as.character(y)
?
2013 May 08
1
getting corrupted data when using readBin() after seek() on a gzfile connection
Hi,
I'm running into more issues when reading data from a gzfile connection.
If I read the data sequentially with successive calls to readBin(), the
data I get looks ok. But if I call seek() between the successive calls
to readBin(), I get corrupted data.
Here is a (hopefully) reproducible example. See my sessionInfo() at the
end (I'm not on Windows, where, according to the man page,
2013 Apr 19
0
[LLVMdev] funny llvm bug
On Fri, Apr 19, 2013 at 04:38:20PM +0700, Serge Pavlov wrote:
> This is a feature (or bug) of MCSectionELF::PrintSwitchToSection. For
> ELF target this function tries to escape string if it founds
> 'suspicious' character, see implementation in MCSectionELF.cpp:
>
> StringRef name = getSectionName();
> if (name.find_first_not_of("0123456789_."
>
2018 Sep 08
1
Re: [PATCH nbdkit v2 2/6] main: Tighten up characters permitted in config keys.
On 09/08/2018 03:15 AM, Richard W.M. Jones wrote:
> Previously key=value on the command line allowed the key to be pretty
> much anything that didn't contain an '=' character. Even empty
> strings were permitted.
>
> This tightens up the permitted keys so they must contain only ASCII
> alphanumeric, period, underscore or dash characters, and must not be
> an
2004 Nov 22
1
Fedora Core 3 and Samba
Over the last week I've upgraded one of my samba servers to FC3. I ran into
some problems joining XP machines to the domain. Tracing back the problem
I've found that FC3 has changed the behavior of the useradd/adduser script.
It will no longer allow a UNIX account to be added to the system that has a
'$' in it. I've verified this behavior by trying it at the command line,
2016 Jun 06
2
readlines() truncates text file with Codepage 437 encoding
Hello r-devel,
The attached Code page 437-encoded file contains 245 characters
(including the final newline), but readLines only reads 242 of them:
> test_text <- readLines(file('437__characters.txt', encoding='437'))
Warning message:
In readLines(file("437__characters.txt", :
incomplete final line found on '437__characters.txt'
> test_text
[1]
2005 Nov 20
2
word_wrap with hard break
How can I force word_wrap to break text like this?
<% @text=''abcdefghijklmnopqrstuvwxyz'' %>
<%= word_wrap(@text, 10) %>
It appears to currently only break on space characters.
thanks
csn
__________________________________
Yahoo! FareChase: Search multiple travel sites in one click.
http://farechase.yahoo.com
2003 Sep 25
1
PlotMoth Refusing to Draw xlab
Occasionally I have had plotmath refuse to draw x-axis labels. This has happened when the label, created using expression(paste( ) ) as below, could be drawn easily in the available space. I have not reproduced that, but the following example with a clearly overly long label results in no xlab at all. I hoped that at least a truncated label would be plotted. This is probably related to my
2009 Sep 04
0
passing character vectors to FORTRAN
Hi,
I've been trying to pass a character vector from R to a FORTRAN subroutine. There have been several posts discussing this issue (e.g. http://tolstoy.newcastle.edu.au/R/help/98a/0547.html, http://tolstoy.newcastle.edu.au/R/help/05/10/13558.html, http://tolstoy.newcastle.edu.au/R/help/01a/2577.html, http://tolstoy.newcastle.edu.au/R/help/01c/1795.html,
2013 Apr 16
1
update config.guess and config.sub to support aarch64
Hello,
would it be possible to update config.sub and config.guess to the latest versions (or at least version
from automake-1.13.1) in order to support new architectures based on the ARM 64 bit CPU?
Patch: http://plautrba.fedorapeople.org/openssh/openssh-latest-config.sub-config.guess.patch
Related Fedora bug: https://bugzilla.redhat.com/show_bug.cgi?id=926284
Thanks,
Petr
2019 Jan 25
0
[klibc:update-dash] builtin: Clear LC_ALL in mkbuiltins
Commit-ID: 494b05615ac00f171290175bed6ea065d0900818
Gitweb: http://git.kernel.org/?p=libs/klibc/klibc.git;a=commit;h=494b05615ac00f171290175bed6ea065d0900818
Author: Fredrik Fornwall <fredrik at fornwall.net>
AuthorDate: Sun, 24 May 2015 23:05:48 +0200
Committer: Ben Hutchings <ben at decadent.org.uk>
CommitDate: Fri, 25 Jan 2019 02:57:21 +0000
[klibc] builtin: Clear LC_ALL
2020 Mar 28
0
[klibc:update-dash] dash: builtin: Clear LC_ALL in mkbuiltins
Commit-ID: 2133c29de320e3173d7cb1aec32676afa8b0dc17
Gitweb: http://git.kernel.org/?p=libs/klibc/klibc.git;a=commit;h=2133c29de320e3173d7cb1aec32676afa8b0dc17
Author: Fredrik Fornwall <fredrik at fornwall.net>
AuthorDate: Sun, 24 May 2015 23:05:48 +0200
Committer: Ben Hutchings <ben at decadent.org.uk>
CommitDate: Sat, 28 Mar 2020 21:42:54 +0000
[klibc] dash: builtin: Clear
2012 May 22
4
undefined method `paginate'
I am working with Railsspace social networking book. I stuck in the
problem when i am doing paginate for the search result. It gives the
following error.
NoMethodError in CommunityController#index
undefined method `paginate'' for #<CommunityController:0x57436f0>
My Controller Index page coding is below
def index
@title = "Community"
@letters =
2018 Sep 10
0
[PATCH nbdkit v3 2/6] main: Tighten up characters permitted in config keys.
Previously key=value on the command line allowed the key to be pretty
much anything that didn't contain an '=' character. Even empty
strings were permitted.
This tightens up the permitted keys so they must contain only ASCII
alphanumeric, period, underscore or dash characters; must not be an
empty string; and must start with an ASCII alphabetic character.
---
docs/nbdkit-plugin.pod
2005 Dec 11
1
bug? in making security/isakmpd
Hi!
There is a little problem in the security/isakmpd port. There are some
gen*.sh scripts in it, which generate some C header (and src) files.
These scripts are using awk, tr, etc - some generic UNIX tools. One of
the tools has problems with some localisations, so these scripts
generate incorrect C-code. Eg, I have Hungarian localisation set, so I
have the following in my environ:
2018 Mar 30
1
Replication fails with dsync-server(admin@asergis.com): Error: Couldn't create lock /home/admin/.dovecot-sync.lock: No such file or directory
Hello
I have configured replication using dsync. It fails with a message
Error: Couldn't create lock /home/admin/.dovecot-sync.lock: No such file
or directory
This directory predictably does not exist - all my users are supposed to
be virtual.? I can not find an option to switch this off. At the same
time if I try manual replication I get segfault error
Mar 30 17:17:24