similar to: correction

Displaying 20 results from an estimated 900 matches similar to: "correction"

2018 Nov 02
2
guestfs_launch() fails when C application is started as a systemd service
Hello, I have a simple C program that uses libguestfs to extract info about disk usage from a libvirt domain. It works when ran manually as root, but fails when started as a systemd service. I'm attaching the service file, source code and verbose logs from both the successful manual run and from the service journal. SELinix is disabled. Error messages: libguestfs:
1999 Dec 01
0
Security Patches for Slackware 7.0 Available (fwd)
---------- Forwarded message ---------- Date: Tue, 30 Nov 1999 12:14:09 -0800 (PST) From: David Cantrell <david@slackware.com> To: slackware-security@slackware.com Subject: Security Patches for Slackware 7.0 Available There are several security updates available for Slackware 7.0. We will always post bug fixes and security fixes to the /patches subdirectory on the ftp site:
2005 Apr 29
0
Anscombe-Glynn, Bonett-Seier, D'Agostino
Dear useRs, I was searching CRAN for implementation of kurtosis and skewness tests, and found that there is some kind of lack on it. So, I have written three functions: 1. Anscombe-Glynn test for kurtosis 2. Bonett-Seier test based on Geary's kurtosis (which is not widely known, but I was inspired by original paper describing it, found coincidentally in Elsevier database) 3.
2011 Oct 25
1
alternative option in skewness and kurtosis tests?
I have a question about the D'Agostino skewness test and the Anscombe-Glynn kurtosis test. agostino.test(x, alternative = c("two.sided", "less", "greater")) anscombe.test(x, alternative = c("two.sided", "less", "greater")) The option "alternative" in those two functions seems to be the null hypothesis. In the output, the
1999 Dec 03
0
Re: Programming ...
Hi, While looking for holes in the utility script, that Glynn Clements sent, I have realized that using "~/" may be dangerous. The original script: On Wed, 1 Dec 1999, Glynn Clements wrote: [---cut---] > cp ~/static-rm ~/rm # installing the "rm" binary needs to be > mv -f ~/rm /tmp/rm # safe against symlink games > cd /tmp > chroot /tmp
2018 Nov 02
0
Re: guestfs_launch() fails when C application is started as a systemd service
On Fri, Nov 02, 2018 at 06:04:08PM +0200, Peter Dimitrov wrote: > Hello, > > I have a simple C program that uses libguestfs to extract info about disk > usage from a libvirt domain. It works when ran manually as root, but fails > when started as a systemd service. > > I'm attaching the service file, source code and verbose logs from both the > successful manual run
2006 Aug 15
0
Help with workaround for: Function '`[`' is not in thederivatives table
Earl F. Glynn asks: > -----Original Message----- > From: r-help-bounces at stat.math.ethz.ch [mailto:r-help-bounces at stat.math.ethz.ch] On Behalf Of Earl F. Glynn > Sent: Tuesday, 15 August 2006 8:44 AM > To: r-help at stat.math.ethz.ch > Subject: [R] Help with workaround for: Function '`[`' is not in thederivatives table > > # This works fine: > > a <- 1
2005 Aug 15
1
Anything like dir.choose (similar to file.choose) in R?
Does R have a dir.choose function? I can use file.choose like this as a kludge to get something like a dir.choose, but a real dir.choose would be better: cat("Select one of files in directory to process:\n") filename <- gsub("\\\\", "/", file.choose()) basepath <- dirname(filename) Windows provides a lower-level SHBrowseForFolder function to create such
2006 Aug 14
1
Help with workaround for: Function '`[`' is not in the derivatives table
# This works fine: > a <- 1 > b <- 2 > c <- 3 > E <- expression(a * exp(b*X) + c) > X <- c(0.5, 1.0, 2.0) > eval(E) [1] 5.718282 10.389056 57.598150 > D(E, "b") a * (exp(b * X) * X) > eval(D(E, "b")) [1] 1.359141 7.389056 109.196300 # But if (a,b,c) are replaced with (A[1], A[2], A[3]), how can I get a derivative
2008 Feb 06
1
Building R for Windows
I have some C code (using an old Borland compiler) that calls a DLL that I'd like to get working from Windows and R (so I can read ABF files -- Axon Binary Files -- directly in R). I thought a good first approach would be able to build R in Windows, so that's what I'm trying to do. [I've done test builds of R under Linux before, and that seemed fairly simple.] I've
2007 Jun 12
3
Read Windows-like .INI files into R data structure?
I need to process some datasets where the configuration information was stored in .INI-like files, i.e., text files with sections like this: [Section1] var1=value1 var2=value2 [Section2] A=value3 B=value4 ... >From Google and other searches I haven't found any package, or function within a package, that reads .INI files into an R list, or other data structure. Any suggestions, or
2010 Oct 06
3
Help troubleshooting silent failure reading huge file with read.delim
I am trying to read a tab-delimited 1.25 GB file of 4,115,119 records each with 52 fields. I am using R 2.11.0 on a 64-bit Windows 7 machine with 8 GB memory. I have tried the two following statements with the same results: d <- read.delim(filename, as.is=TRUE) d <- read.delim(filename, as.is=TRUE, nrows=4200000) I have tried starting R with this parameter but that changed
2002 Dec 11
1
Running smbd under various ids
Hi All, I would like to know if its possible to run smbd under various ID's like nobody? if its possible how do I run it? man smbd doesn't tell on running different ids. Im an setting up a samba-vscan(viruscan) so the rules is, smbd must be running under various id like nobody. Thank in advance glynn __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus -
2005 Feb 08
1
Windows BMPs: Why grey background? How to display BMP in R?
"white" is supposed to be the default background for BMPs (according to ?bmp) but it doesn't work > bmp("test.bmp", bg="white") > plot(0) > dev.off() # results in grey background # This seems to be a good enough workaround for now. > bmp("test.bmp") > par(bg="white") > plot(0) > dev.off() # background is white
2005 Nov 02
2
RODBC and Excel: Wrong Data Type Assumed on Import
The first column in my Excel sheet has mostly numbers but I need to treat it as character data: > library(RODBC) > channel <- odbcConnectExcel("U:/efg/lab/R/Plasmid/construct list.xls") > plasmid <- sqlFetch(channel,"Sheet1", as.is=TRUE) > odbcClose(channel) > names(plasmid) [1] "Plasmid Number" "Plasmid"
2007 Oct 31
2
Don't understand write.csv default: Why is column name for column of row names blank?
I've always been frustrated that R never puts a label on the column name for a column of row names. This is usually the "key" in a database table, and it sure would be nice to carry a "key" name along with the data instead of the field being blank. So, why is it a good idea for it to be blank? ?write.csv says this: CSV files By default there is no column
2004 Jul 28
1
package.contents() deprecated, what replaces it?
Back on 18-June a colleague (Earl Glynn) asked: ================== I did a ?package.contents in version 1.9.0. The help file says this is deprecated, and says to "see also" Deprecated and Defunct, but what is the "new" function that replaces packge.contents? The function still seems to work, but it's just tagged as deprecated. efg ================== I have the
2007 Sep 27
1
R "capabilities" on a cluster node
R version 2.5.1 (2007-06-27) I' running some simple R jobs via the Sun Grid Engine on our Linux cluster in preparation for some bigger ones. I checked R's capabilities on the cluster nodes (after failing to create a png file) and am getting the following warning message: [Run on a cluster node using qrsh:] > capabilities() jpeg png tcltk X11 http/ftp sockets
2007 Jun 12
1
Can strptime handle milliseconds or AM/PM?
I'm trying to proess date/time fields from files that were given to me to analyze. Any clues what I'm doing wrong with strptime? This seems to fail the same way under Linux or Windows. For ?strptime would it make sense to explain %OS3 somewhere besides the Examples? > # Why does %OS3 work here? > format(Sys.time(), "%H:%M:%S") [1] "16:45:19" >
2010 Sep 15
2
Programming: loop versus vector oriented
Dear all, I am new to R and to it's programming philosophy. The following function is supposed to work on a vector, but I can't figure out how to do that without looping through every element of it. Is there a more elegant way? Note: I have shortened it, so it is NOT correct from the pipe hydraulics point of view # Calculate wall friction factor # reynolds: Reynolds number # dk: