Displaying 20 results from an estimated 127 matches for "tempnames".
Did you mean:
tempname
2019 May 31
2
use of buffers in sprintf and snprintf
No, that will make it even worse since you'll be declaring a lot more memory that you actually have.
The real problem is that you're ignoring the truncation, so you probably want to use something like
if (snprintf(tempname, sizeof(tempname), "%s.%d", of1name, j) >= sizeof(tempname)) Rf_error("file name is too long");
BTW: most OSes systems have a path limits that
2018 May 28
5
readLines function with R >= 3.5.0
On 28.05.2018 11:07, G?bor Cs?rdi wrote:
> stdin() is not the same as file("stdin"), see the note in ?stdin.
In particular stdin() works in an interactive session but not when R -f
/ Rscript is used, since it does not wait for the user to input anything:
$ R -f readLines.R
R version 3.5.0 (2018-04-23) -- "Joy in Playing"
Copyright (C) 2018 The R Foundation for Statistical
2019 May 31
0
use of buffers in sprintf and snprintf
On Thu, May 30, 2019 at 7:21 PM Simon Urbanek
<simon.urbanek at r-project.org> wrote:
>
> No, that will make it even worse since you'll be declaring a lot more memory that you actually have.
>
> The real problem is that you're ignoring the truncation, so you probably want to use something like
>
> if (snprintf(tempname, sizeof(tempname), "%s.%d", of1name,
2007 May 31
0
loading several "samples" of data from hard-drive, run "lm", "rlm", etc, save results in a list
I have many "sample" datasets (e.g. sample 5, sample 6, etc), each identified by a number as a suffix. These datasets are saved as individual R objects on my hard drive. (e.g."Wind.5.r" . "Wind.6.r","Solar.5.r","Solar.6.r") For example purposes, I have written code that creates similar data files using the "airquality" dataset. (see
2019 May 30
2
use of buffers in sprintf and snprintf
Hi again,
I realised it is useful to replicate the warnings locally without relying on CRAN automatic check; instead of R(-devel) CMD check --as-cran package_version.tar.gz one can use
R CMD check --configure-args=""
and in my case the WARNINGS were initially given with https://www.stats.ox.ac.uk/pub/bdr/gcc9/README.txt and those specification might as well used in --configure-args
2012 Oct 16
0
Free space cache writeback issue
Hi,
I''ve hit an issue with the free space cache. It looks like we miss writing
everything to disk on unmount under rough conditions.
Setup: git head cmason/master, /dev/sdv1 is a 55MB partition on an SSD. Run the
following script:
--
DEV=/dev/sdv1
MP=/mnt/scratch
umount $MP
mkfs.btrfs -M $DEV
mount -o inode_cache $DEV $MP
cat /dev/urandom | head -c 654321 > $MP/1
mkdir $MP/2
mv
2001 Oct 09
3
Unlisting while preserving object types?
Hi
A toy example is probably the least ambiguous way of explaining what I'm
trying to do.
> library(ts)
> zz<-list(a=rnorm(100),b=rt(100,3))
> zz.spec<-lapply(zz,spectrum,plot=F)
> summary(zz.spec)
Length Class Mode
a 15 spec list
b 15 spec list
I'm looking for an elegant way to fetch components of the sub-lists a and b
of zz.spec;
e.g. to make a matrix
2005 Jan 29
0
Processed: webmin bugs
Processing commands for control at bugs.debian.org:
> reassign 286307 logcheck
Bug#286307: logcheck rules file
Bug reassigned from package `webmin' to `logcheck'.
> tag 290516 woody wontfix
Bug#290516: webmin-cluster-useradmin: RPC error trying to add a new server
There were no tags set.
Tags added: woody, wontfix
> tag 280728 woody wontfix
Bug#280728: webmin postgresql module
2004 Aug 06
2
Error compiling ices-0.3
I'm trying to compile ices-0.3 on a RedHat 9, kernel 2.4.23 box and I
receive the following error:
: the use of `tmpnam_r' is dangerous, better use `mkstemp'
/usr/lib/python2.2/config/libpython2.2.a(posixmodule.o)(.text+0x385e):
In function `posix_tempnam':
: the use of `tempnam' is dangerous, better use `mkstemp'
playlist/libplaylist.a(pm_perl.o)(.text+0x515): In
2007 Dec 06
3
using "eval(parse(text)) " , gsub(pattern, replacement, x) , to process "code" within a loop/custom function
R-help users,
Thanks in advance for any assistance ... I truly appreciate your expertise. I searched help and could not figure this out, and think you can probably offer some helpful tips. I apologize if I missed something, which I'm sure I probably did.
I have data for many "samples". (e.g. 1950, 1951, 1952, etc.)
For each "sample", I have many data-frames.
2004 Aug 06
2
libpthread and icecast2
On Mon, 22 Oct 2001 00:07:39 -0600
Jack Moffitt <jack@xiph.org> wrote:
> It needs pthreads. FreeBSD provides this in the reentrant c library.
>
> For FreeBSD, you should remove -lpthread from LIBS and add -pthread to
> CFLAGS. I believe this should be the only change required.
>
> I will fix FreeBSD building in the next few days (or at least this is my
> intention)
2001 Sep 25
2
read.table() suggestions
Hi,
I understand work is being done to improve read.table(), especially by
Prof. Brian D. Ripley. I offer below a version that I wrote, in the hope some
aspects of it may prove useful or at least inspire discussion.
Be aware that my version differs in a couple fundamental ways that reflect
my aversion to dataframes and factors. So it returns a list of vectors which
are all character,
2010 Apr 25
2
[git pull] small fixes, sh4, getruage() README's
hello hpa,
current patch queue for review, please pull:
git pull git://git.debian.org/users/maks/klibc.git maks
Aurelien Jarno (1):
[klibc] sh4: syscalls fixes
Benjamin Cama (1):
[klibc] fstype: btrfs size endianness fix
Thorsten Glaser (1):
[klibc] add getrusage()
maximilian attems (3):
[klibc] resume: silence warning on resume try
[klibc] bootp_packet.h minor
2020 Mar 28
0
[klibc:update-dash] dash: builtin: Default to mktemp, not tempfile
Commit-ID: b0626ba1febdb535a674743070dfc3f3c5735b29
Gitweb: http://git.kernel.org/?p=libs/klibc/klibc.git;a=commit;h=b0626ba1febdb535a674743070dfc3f3c5735b29
Author: Andrej Shadura <andrew.shadura at collabora.co.uk>
AuthorDate: Fri, 7 Sep 2018 10:34:11 +0200
Committer: Ben Hutchings <ben at decadent.org.uk>
CommitDate: Sat, 28 Mar 2020 21:42:55 +0000
[klibc] dash: builtin:
2004 Aug 06
0
libpthread and icecast2
> That worked, but I do get a few linking warnings. Are these serious?
>
> /usr/lib/libc.so.4: WARNING! setkey(3) not present in the system!
> /usr/lib/libc.so.4: warning: this program uses gets(), which is unsafe.
> /usr/lib/libc.so.4: warning: mktemp() possibly used unsafely; consider using mkstemp()
> /usr/lib/libc.so.4: WARNING! des_setkey(3) not present in the system!
2004 Aug 06
0
Error compiling ices-0.3
On Wednesday, 03 December 2003 at 12:56, Charles Burns wrote:
> I'm trying to compile ices-0.3 on a RedHat 9, kernel 2.4.23 box and I
> receive the following error:
>
> : the use of `tmpnam_r' is dangerous, better use `mkstemp'
> /usr/lib/python2.2/config/libpython2.2.a(posixmodule.o)(.text+0x385e):
> In function `posix_tempnam':
> : the use of `tempnam'
2004 Aug 06
0
Ices0.3 and Perl 5.8.3
Has anyone got Ices0.3 to complile and make under when linking with Perl
5.8.3?
I posted this a while back...but it needs a revival :D
<p><p>I'm sure it's a Perl problem (maybe way I've compiled it?) but here's where
'make' throws down it's gloves and runs off into the distance.
-------------------------------------------------------------------
2010 Oct 05
4
upgrade python to python2.6.4 using yum
Hi
How would i upgrade python to python2.6.4 using a yum repository ( on all my
servers ) and cause manual configuration is time consuming, i am using cent
OS 5.4 32 bit
Is there an already available repository to do this.?
------------------------------------------------------------------------------
I had tried to install it using contemporary method ( ./configure ; make
;make install) ..
2004 Aug 06
2
libpthread and icecast2
Heres a question for anyone awake at this hour, does icecast2 require
libpthread? I'm trying to build it on a freebsd 4.3 box, and it wants to
link against libpthread. If this is not required on the freebsd
platform, then is it safe to just take out of the makefile?
Thanks
Mike
--
<mystica@darktech.org>
--- >8 ----
List archives: http://www.xiph.org/archives/
icecast project
2014 Oct 05
1
FreeBSD 10-RELEASE-amd64(on arch x86_64)
Good day,
would like to install the latest version of libvirt collected from sources for use bhyve.
Download ftp://libvirt.org/libvirt/libvirt-1.2.9.tar.gz,
system...
uname -a
FreeBSD vmserver 10.0-RELEASE FreeBSD 10.0-RELEASE #0 r260789: Thu Jan 16 22:34:59 UTC 2014 root@snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64
my actions:
./configure
make
sudo make install
next...
make