Displaying 20 results from an estimated 1000 matches similar to: "Non-interactive sessions"
2000 Sep 17
1
Weighted Histogram
Greetings,
I'm having trouble finding a simple way to calculate a weighted
histogram where there may be zero raw counts in a given interval.
Given equal-length vectors of data 'data' and weights 'w', and breaks
(intervals) for the histogram, I calculate a weighted histogram as
follows (see MASS's 'truehist' for an unweighted histogram):
bin <- cut(data,
2002 Jul 15
2
Transpose and NA's
I noticed some odd behavior when I transpose a data frame containing
NA's. It seems to cast all the elements as "character" including the
NA's. Bug?
> t(data.frame(x=1:10,y=1:10,z=rep(NA,10)))
1 2 3 4 5 6 7 8 9 10
x " 1" " 2" " 3" " 4" " 5" " 6"
1999 Nov 12
1
some related problems
I just tried to batch-start rgui.exe (not rterm.exe) in a way, that it
read.table()s data from a file with changing filename. As I understand no
command line parameters are available for that, so instead I tried to pass
the filename to an approbriate .RProfile, which works roughly, BUT
## this is my %R_USER%\.RProfile
im <- read.table("d:/temp/im/temp.csv", header=TRUE,
1999 Sep 30
6
Graphics output device
Dear developers,
I wonder would you consider making a save to a graphics file format (as opposed
to ps)?
What prompts this is that we have just finished my wife's thesis using R
heavily for stats and graphs. The combination of latex, bibtex and R generated
.eps worked a treat and we were very pleased with both the final outcome and
the efficiency of gernerating it, especially when all the
2002 Mar 12
0
Vis5D interface package
Greetings,
Summary: Has anyone else started a package (or have code) with the
capability to write Vis5D-readable netCDF files containing
irregularly-spaced data?
I've recently put together what might be the beginnings of a (GPL'ed) R
interface package to the Vis5D volumetric visualization program
(http://vis5d.sourceforge.net). Vis5D is commonly used in the
atmospheric science and
2002 May 22
1
Tps regression question
Dear all,
I'm a beginner in spatial regression, therefore, excuse me in advance for
the stupid question.
I'm using the function Tps of field library. As I read in help, the
assumed model for this regression is additive Y = f(X) + e where f(X)
is a d dimensional surface.
I have understood that d in not an argument to specify in Tps(x, Y, ...).
How can I obtain d ?
Thanks a lot.
2007 Aug 15
1
Error in building R
Hello,
I am upgrading to the current R 2.5.1 under Sun Solaris 8. I call the
configure script with the --without-readline flag, and it works
fine. Then, when I invoke make, I get this kind of error messages:
make[2]: Entering directory `/usr/local/R/R-2.5.1-inst/src/library'
>>> Building/Updating help pages for package 'base'
Formats: text html latex example
2002 May 15
0
Reading multi-line FWF data
I keep getting these fixed-width format (FWF) data files where variables
for a single subject are spread across multiple lines and each line has
a different format (apparently created with SAS or SPSS). To read them
I stole some stuff from `read.fwf' in base R and threw together the
function included below.
Please feel free to test this function with your own data and let me
know of any
2015 Apr 15
2
Modifying files of NFS
Hi,
I have an NFS storage system and want to run jpegoptim on several GB's
of jpeg images and I'm wondering what the best approach is.
Is it ok to run this operation on the Server itself while the clients
have it mounted or will this lead to problems like e.g. the dreaded
"stale filehandle"?
Regards,
Dennis
2010 Jun 17
4
[PATCH] Improve support for exporting btrfs subvolumes.
If you export two subvolumes of a btrfs filesystem, they will both be
given the same uuid so lookups will be confused.
blkid cannot differentiate the two, so we must use the fsid from
statfs64 to identify the filesystem.
We cannot tell if blkid or statfs is best without knowing internal
details of the filesystem in question, so we need to encode specific
knowledge of btrfs in mountd. This is
2006 Jun 19
2
win32-service cvs - potential issue with Service.services
Hi all,
I''m preparing win32-service for an 0.5.1 release. I''ve made a couple
minor changes and altered the test suite a bit. It passes on my box
here, except that about half the time I get this error:
1) Error:
test_services(TC_Win32Service):
Win32::ServiceError: OpenService() call failed: The handle is invalid.
test/tc_service.rb:227:in `services''
2007 Jul 26
2
Rd2dvi (PR#9812)
Is this a bug--
-------------------------------------------------------------------------------
<234>% R CMD Rd2dvi base.Rd
Converting Rd files to LaTeX ...
base.Rd
Can't use an undefined value as filehandle reference at
/opt/R-2.5.1/lib/R/share/perl/R/Rdconv.pm line 78.
ENCS is
Creating dvi output from LaTeX ...
Saving output to 'base.dvi' ...
cp: cannot access
2007 Dec 08
6
[Bug 1398] New: slave ssh sessions enter a never-ending blocking state
https://bugzilla.mindrot.org/show_bug.cgi?id=1398
Summary: slave ssh sessions enter a never-ending blocking state
Classification: Unclassified
Product: Portable OpenSSH
Version: 4.7p1
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: ssh
AssignedTo: bitbucket at
2002 Aug 30
1
Limit on Function Size
With R 1.5.1 (Linux/Intel), I noticed that one of my large functions
(>3000 lines) can no longer be parsed. Somewhere around 2800 lines, R
will segfault when I `eval(parse(file="..."))' the function.
I can parse the lines after around line 2800 by themselves (i.e., cut
and pasted).
Is there some new limit on the size of R functions?
--
2002 Oct 31
1
Zero is not Zero
I have a confusing problem with getting the form `x - trunc(x)' to be
exactly zero when `x' is an integer. It only seems to occur inside of a
function. [R-1.6.0 on Linux/Intel]
I have a function to return the highest precision digit of values in `x':
prec<-function(x){
init <- trunc(log10(max(x)))
y <- x - trunc(x)
while (any(y > 0)) {
init <- init - 1
x1
2006 Sep 02
15
service restart failures
Puppet is failing to restart lighttpd using the Debian init script.
Both the default action of stop/start and using the reload action, which
basically does the same thing, fail.
It seems to be a filehandle problem. Changing the execute method
in service.rb to redirect stdout to /dev/null allows the daemon to
restart. Otherwise, I end up with a zombie process and according to
strace, ruby
2010 Apr 29
1
nfs4 help needed
Fedora 13 is using nfs4, and there is a problem in opening files requiring
OpenOffice if accessed over an nfs3 mount, so it's time to change. I found a
couple of tutorials, and got it *almost* working correctly. This is where I
need help.
Logwatch tells me
/nfs4exports/Data1 and /Data1 have same filehandle for
*,192.168.0.0/24,192.168.0.0/255.255.255.0, using first
The tutorial I was
2003 Feb 27
1
ov_open from memory
Hi folks,
i would like to know if it is valid to load a whole .ogg file into memory
and call ov_open like this:
ov_open(NULL, &OggVorbisFile, pRawData, RawDataLen);
An other question is, is it valid to copy some ogg files into one (resource)
file, position the filehandle and use ov_read to read only the ogg file
which starts at the current position of the file handle? (In other words,
does
2009 Jun 25
1
error: compiling R package
Hello,
I tried to build an own R package on Windows XP but get an error which I can't solve.
I called my package "pack". It works to creat the file "pack" with package.skeleton().
But when I try to compile it with Rcmd build --binary pack I obtain the following error:
IO::Seekable::seek missing at C:/R/R-2.9.0/share/perl/FileHandle.pm line 59.
Compilation failed in
2001 Nov 09
1
Re-sent to correct list: passing parameters
Hi,
My apologies for sending this message earlier to the wrong list (next
time I'll wait till I'm fully awake).
I'm a new R user. I want to do the following:
I want to pass a filename to R repeatedly (about 400 times) in order to
do a repetitive task (calculating regressions).
The way I'm setting it up is to write a bash script that will create an
R source file on the fly for