Displaying 20 results from an estimated 1000 matches similar to: "string-length limitations"
1999 Oct 13
3
main/character.c (et.al): dangerous AllocBuffer()
I was hit by ugly crashes of R, when I tried to read big data sets ("volcano").
So I looked into the code and found the following in character.c (triggered by substr()):
I assume that the helper function AllocBuffer() shall facilitate an economic memory management. But
the use of realloc() in the else-branch does not conform to ANSI and may hit you with certain
compilers.
When called
1999 Oct 13
3
main/character.c (et.al): dangerous AllocBuffer()
I was hit by ugly crashes of R, when I tried to read big data sets ("volcano").
So I looked into the code and found the following in character.c (triggered by substr()):
I assume that the helper function AllocBuffer() shall facilitate an economic memory management. But
the use of realloc() in the else-branch does not conform to ANSI and may hit you with certain
compilers.
When called
2013 Jan 04
4
[LLVMdev] [Polly] Aliasing problems escalation (WAS: Re: [DragonEgg] [Polly] Should we expect DragonEgg to produce identical LLVM IR for identical GIMPLE?)
Hi,
Here's another case, different in high-level, but similar in low-level.
When Fortran allocatable array is defined in module, its actual dimensions
are kept in internal structure. Loads originated from reading these
dimensions confuse Polly on any use of this array.
Attachments:
1) Sample Fortran source code (to be compiled with and without -DMODULE to
see failing and working version,
1999 Aug 03
3
RW 0.64.2 substring() string truncation?
Hi,
(First, apology for my earlier incorrectly addressed "subscribe"
post.)
Can somebody tell me what exactly is going on below. Basically, I am
running into some kind of "string truncation" problem when I try
to get a substring starting past the 8192nd character (see sample
session below). There doesn't appear to be any problem creating the
string, and nchar()
2015 Sep 21
5
segfault with readDCF on R 3.1.2 on AIX 6.1 when using install.packages
Hi,
Note that one significant change to read.dcf() that happened since R
3.0.2 is the addition of support for arbitrary long lines (commit
63281), which never worked:
dcf <- paste(c("aa: ", rep(letters, length.out=10000)), collapse="")
writeLines(dcf, "test.dcf")
nchar(read.dcf("test.dcf"))
# aa
# [1,] 8186
The culprit being line
2013 Feb 18
1
[LLVMdev] how to check out revision 165095
Hello:
I am told that compile cling, from CERN, I need revision 165095. HOW do I check out that version? When going through the /tags directory, all version are 17xxxx.
I tried svn checkout -r 165095 http://xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx llvm
but it will not work with either /truck or /tags
I tried svn checkout http://xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx at 165095, but that also doen't work
1999 Oct 30
1
read.table problem on Linux/Alpha (seg faults caused by isspace(R_EOF)) (PR#303)
Full_Name: Naoki Takebayashi
Version: 0.65.1
OS: Linux/Alpha
Submission from: (NULL) (129.79.224.171)
When I was reading a file with read.table("junk.data"), it seg-faulted.
I found out that it seg-faulted when the last line of data file didn't
have the newline char. For example, file like this:
23 3
31 2
24 1<EOF>
Here is a fix.
--- R-0.65.1/src/main/scan.c.orig
2009 Mar 18
1
sprintf("%d", integer(0)) aborts
In R's sprintf() if any of the arguments has length 0
the function aborts. E.g.,
> sprintf("%d", integer(0))
Error in sprintf("%d", integer(0)) : zero-length argument
> sprintf(character(), integer(0))
Error in sprintf(character(), integer(0)) :
'fmt' is not a non-empty character vector
This comes up in code like
x[nchar(x)==0] <-
2008 Dec 16
3
Vista roaming profiles...
Hi everybody,
after many weeks of searching/trying, I still can't manage to get vista to use/save roaming profiles with samba as PDC...
It has apparently worked a few times in the beginning since the profiles directories are populated.
Could it be related to a Vista update or SP1?
Here's what I did so far:
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\System]
2015 Sep 21
2
segfault with readDCF on R 3.1.2 on AIX 6.1 when using install.packages
Here's an update:
I checked the ChangeLog for R, and it seems like readDCF was changed
in 3.0.2. I went on a whim and copied src/main/dcf.c from R 2.15.3
over to 3.2.2, and R compiled fine and install.packages now work for
me.
This is probably not ideal, but it at least makes R usable on AIX for
me. Would definitely like to help figure out what's wrong with the
new dcf.c on AIX.
2008 Jun 13
1
parsing - input buffer overflow
Hi,
I am trying to parse a large amount of text using gregexpr(). Unfortunately,
I get an "input buffer overflow" message when I attempt that with too large
an amount of text. The error messages occurs before the parsing. The problem
is that I cannot assign the text to a variable (an object) if the text is
too large.
This problem has been mentioned before, which I found using the
2009 Dec 17
4
NIS failover
We just updated our configuratiosn to have multiple NIS servers, when we
initiated a test of client failover, we were disapointed.
It seemed that the only way to get a filaover was to /etc/init.d/ypbind restart.
It behaves as indicated in
http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=5084845 using
ypbind-1.17.2-13 on Centos 4.5 / Linux xxxxxxxxxxxx 2.6.9-55.0.12.ELsmp #1 SMP
Fri Nov
1999 Mar 25
4
readline() (PR#147)
Dear R developers,
I have found the following bug with readline() in R 0.63.3:
if you execute the menu-function and then the readline() function, then
readline() prompts "Selection:"
> a <- readline()
hello
> a
[1] "hallo"
> a <- menu(c("a", "b"), title="bitte:")
bitte:
1:a
2:b
Selection: 2
> a <- readline()
Selection:
2006 Aug 11
1
[LLVMdev] instruction scheduling for stack machines
Hi!
I'm working on an LLVM back-end for a processor with a stack machine architecture. After experimenting with code generation directly from the LLVM representation, I'm studying the target-independant code generator.
As far as I understand, there currently exists a target-independant infrastructure for legalization, instruction selection, scheduling and register allocation. It is clear
2009 Apr 29
3
2 way ANOVA with possible pseudoreplication
Hi,
I have an experiment with 2 independant factors which I have been trying to
analyse in R. The problem is that there are several data points recorded on
the same animal. However, no combination of treatments is repeated on the
same animal. All possible combinations of treatments are done in a random
order with as many points as possible being done on 1 animal before moving
onto the next.
The
2012 May 30
1
Samba 4 analyse
Hi,
My actual config
Samba 3 PDC, file and print server use openldap backend
Posix ACL on XFS FS using pam_ldap and ns_ldap.
independant wins and DNS server (not DDNS)
Can I have same configuration in samba 4 ?
LIke :
DC
flie server with posix ACL support and pam, ns_ldap .
independant wins and DNS server (not DDNS).
It's just an analyse !
Have a nice day
St?phane
2009 May 22
3
Parsing Asterisk's .conf files from Perl, Java or PHP file
Hi,
To a large extend, Asterisk's /etc/asterisk/*.conf configuration files
conform to a format such as:
[section1]
key1=value1
key2=value2
[section2]
key1=value1
key2=value2
...
To increase coherence when running custom-made application in Perl, Java,
PHP, ...) and Asterisk on the same platform, I'm wondering if could extend a
bit Asterisk's config files instead of duplicating data
2004 Apr 17
3
Box-Ljung p-value -> Test for Independence
Hi all
I'm using the Box-Ljung test (from within R) to test if a time-series in
independently distributed.
2 questions:
1) p-value returned by Box-Ljung:
IF I want to test if the time-series is independant at say 0.05
sig-level (it means that prob of erroneously accepting that the
time-series is independent is 0.05 right?)
--> then do I consider time-series as "independant"
2008 Mar 07
2
Future enhancement of imap: sorting?
After solving a problem with a sweet little application I discovered (more
on that below), I wanted to get some feedback about a potential
enhancement for IMAP: standardized, MUA independant, server-side sorting.
Currently, there are two basic solutions for sorting: handle it during
delivery or handle it in the MUA. However, if you handle it in the MUA,
you lose some of the client
2005 Sep 23
1
Minor idea - "Press any key to boot within 5 second" style of thing...
I like how some cds, such as the windows installer discs will skip
booting from the disc if you accidentally left the drive because they
require you to hit a key to make them actually boot from the disc.
I've kind of tried to emulate this behavior using chain.c32, but, it
requires me to specify which harddrive, and I'd rather see an
independant setup. I've tried localboot -1, but, it