Displaying 11 results from an estimated 11 matches for "nullfil".
Did you mean:
fullfil
2019 Dec 06
2
long vector support
...rs to be related to long vector support. But as Henrik Bengtsson
points out at
https://github.com/HenrikBengtsson/Wishlist-for-R/issues/97#issuecomment-562659134,
writeBin() still prohibits long vectors. Are there any plans to add long
vector support to R 4.0.0?
x <- raw(2^31)
writeBin(x, con = nullfile())
# Error in writeBin(x, con = nullfile()) :
# long vectors not supported yet: connections.c:4430
x <- raw(2^31)
con <- rawConnection(raw(0L), "w")
writeBin(raw(2^31), con = con)
# Error in writeBin(raw(2^31), con = con) :
# long vectors not supported yet: connections.c:4430...
2019 Dec 07
0
long vector support
...parse)]
In the present case, it may be that a change does not take much
effort; my first try seems to work already .. and may just a bit
more safeguarding ..
So thank you, Will, for the reminder!
Martin Maechler
ETH Zurich and R Core Team
> x <- raw(2^31)
> writeBin(x, con = nullfile())
> # Error in writeBin(x, con = nullfile()) :
> # long vectors not supported yet: connections.c:4430
> x <- raw(2^31)
> con <- rawConnection(raw(0L), "w")
> writeBin(raw(2^31), con = con)
> # Error in writeBin(raw(2^31), con = con) :...
2009 Jul 27
1
[PATCH] mboot using module path
...os...
+DIRNAME_MAX_LG2 equ 8 ; log2(Max dirname size Including final null)
+DIRNAME_MAX equ (1 << DIRNAME_MAX_LG2)
FILENAME_MAX_LG2 equ 8 ; log2(Max filename size Including
final null)
FILENAME_MAX equ (1 << FILENAME_MAX_LG2) ; Max mangled filename size
NULLFILE equ 0 ; Null character == empty filename
diff -u -r -X nodiff syslinux-3.82-orig/core/isolinux.asm
syslinux-3.82/core/isolinux.asm
--- syslinux-3.82-orig/core/isolinux.asm 2009-06-09 10:19:25.000000000 -0700
+++ syslinux-3.82/core/isolinux.asm 2009-07-24 12:19:50.000000000 -070...
2023 May 02
1
save.image Non-responsive to Interrupt
...to
> Ctrl+C? It prevents the command line from being used for a number of
> hours if the contents of the workspace are large.
This is ultimately caused by serialize() being non-interruptible. A
relatively simple way to hang an R session for a long-ish time would
therefore be:
f <- xzfile(nullfile(), 'a+b')
x <- rep(0, 1e9) # approx. 8 gigabytes, adjust for your RAM size
serialize(x, f)
close(f)
This means that calling R_CheckUserInterrupt() between saving
individual objects is not enough: R also needs to check for interrupts
while saving sufficiently long vectors.
Since the se...
2023 Apr 29
1
save.image Non-responsive to Interrupt
Hello,
Could save.image() be redesigned so that it promptly responds to Ctrl+C? It prevents the command line from being used for a number of hours if the contents of the workspace are large.
--------------------------------------
Dario Strbenac
University of Sydney
Camperdown NSW 2050
Australia
2002 Oct 22
0
[Fwd: SysLinux Bug]
...I found that there is a bug in your code which corrupts
the UNDI code segment.
You used instruction "rep stosxx" to clear SysLinux's variables
when ES is still pointing to UNDI code segment. My fix
is denoted by [KTT].
File : pxelinux.asm
* Bug#1
; Wipe the F-key area
mov al,NULLFILE
mov di,FKeyName
mov cx,10*(1 << FILENAME_MAX_LG2)
[KTT] push es
[KTT] push ds
[KTT] pop es
rep stosb
[KTT] pop es
* Bug#2
mov di,Sockets
mov cx,(MAX_SOCKETS*tftp_port_t_size)/4
xor eax,eax
[KTT] push es
[KTT] push ds
[KTT] pop e...
2003 Dec 27
0
2 disks boot patch
...x,ax
+ dec si
+ dec si
+set_initrd_span:
+ mov [es:initrd_span], al
+; end - freddy77
+
mov di,InitRD
push si ; mangle_dir mangles si
call mangle_name ; Mangle ramdisk name
pop si
cmp byte [es:InitRD],NULLFILE ; Null filename?
seta byte [es:initrd_flag] ; Set flag if not
not_initrd: pop es ; Restore ES ->
real_mode_seg
skip_this_opt: lodsb ; Load from command
line
cmp al,' '
ja skip_this_o...
2003 Dec 27
0
FW: 2 disks boot patch
...x,ax
+ dec si
+ dec si
+set_initrd_span:
+ mov [es:initrd_span], al
+; end - freddy77
+
mov di,InitRD
push si ; mangle_dir mangles si
call mangle_name ; Mangle ramdisk name
pop si
cmp byte [es:InitRD],NULLFILE ; Null filename?
seta byte [es:initrd_flag] ; Set flag if not
not_initrd: pop es ; Restore ES ->
real_mode_seg
skip_this_opt: lodsb ; Load from command
line
cmp al,' '
ja skip_this_o...
2019 Apr 26
0
R 3.6.0 is released
...nload.file() now contains the same
information on all platforms.
* Setting C locale for collation _via_ environment variables LC_ALL
and LC_COLLATE and _via_ a call to Sys.setlocale() now takes
precedence over environment variable R_ICU_LOCALE.
* There is a new function, nullfile(), to give the file name of the
null system device (e.g., /dev/null) on the current platform.
* There are two new options, keep.parse.data and
keep.parse.data.pkgs, which control whether parse data are
included into sources when keep.source or keep.source.pkgs is
TRUE....
2019 Apr 26
0
R 3.6.0 is released
...nload.file() now contains the same
information on all platforms.
* Setting C locale for collation _via_ environment variables LC_ALL
and LC_COLLATE and _via_ a call to Sys.setlocale() now takes
precedence over environment variable R_ICU_LOCALE.
* There is a new function, nullfile(), to give the file name of the
null system device (e.g., /dev/null) on the current platform.
* There are two new options, keep.parse.data and
keep.parse.data.pkgs, which control whether parse data are
included into sources when keep.source or keep.source.pkgs is
TRUE....
2019 Apr 26
0
R 3.6.0 is released
...nload.file() now contains the same
information on all platforms.
* Setting C locale for collation _via_ environment variables LC_ALL
and LC_COLLATE and _via_ a call to Sys.setlocale() now takes
precedence over environment variable R_ICU_LOCALE.
* There is a new function, nullfile(), to give the file name of the
null system device (e.g., /dev/null) on the current platform.
* There are two new options, keep.parse.data and
keep.parse.data.pkgs, which control whether parse data are
included into sources when keep.source or keep.source.pkgs is
TRUE....