Displaying 20 results from an estimated 5000 matches similar to: "Warning: closing unused connection 3"
2001 Nov 28
2
Problem with printer driver sharing Win2k klients.
Hi...
I got this new server at work that I have to get 100% up and running by
tomorrow.
It's running Samba 2.2.1a on SuSE 7.3 Pro
It's supposed to be VPN - File and Printer Server
The printers are:
One OCE 700C / CS90 color copier and One OCE 3165
And there is only one problem left.
I can install the printer drivers for Win9x & NT on the samba server.
But I can't figure out how to
2009 Sep 03
1
Output from as.windrose() in oce package baffles me
I'm having trouble understanding the output from as.windrose(). For one
thing, data on a boundary between sectors seem to be left out of the
counts. I assume that explains the missing point in the output below
(angle 45). Shouldn't one side of each sector interval be open, to
include values such as my 45 in the example? Also, why does the angle
180 in my input apparently not result in
2010 Jan 27
2
Bulk Match/Replace
This must be easy to do.....
I have a vector and a lookup data.frame:
> v
[1] "5" "234" "234" "42-43" "234" "42-43" "234" "234"
"42-43" "234" "5" "234" "234" "5" "234" "234" "5"
2009 Jan 12
4
fitting curve to data
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I have the following data:
> y
[1] 0.000 0.004 0.008 0.016 0.024 0.032 0.044 0.064 0.072 0.088 0.108 0.140
[13] 0.156 0.180 0.208 0.236 0.264 0.296 0.320 0.360 0.408 0.444 0.472 0.524
[25] 0.576
> x
[1] 100 200 300 400 500 600 700 800 900 1000 1100 1200 1300 1400 1500
[16] 1600 1700 1800 1900 2000 2100 2200 2300 2400 2500
I'd
2009 Jan 07
2
Memory Efficiency of Symmetric Matrix
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I'm generating a symmetric correlation matrix using a data matrix as input:
mat <- cor(data.mat)
My question is:
Is there a more memory efficient way to store this data? For instance, since:
all(mat == t(mat))
every value is duplicated, and I should be able to almost half the memory usage for large matrices.
Any thoughts/comments?
Cheers,
2007 Feb 22
2
Combining tapply() and cor.test()?
Hello, fellow R-users.
Let me describe the setup first. I have a data.frame, a sample of
which is reported below:
Company.Name Periods Returns MFR.Factor
350 Wartsila Oyj A 1996-07-31 6.82 0.02
351 Custodia Holding AG 1996-07-31 4.15 -0.02
352 Wartsila Oyj 1996-07-31 7.73 0.09
353 GEA Group AG
2005 Jul 05
1
Samba + Cups error show jobs
Hi!!
I can see this error every time a windows client tries see the jobs for
any of the printers on the print server:
(log.smbd)
[2005/07/05 16:22:12, 0] printing/print_cups.c:cups_queue_get(790)
Unable to get jobs for ipp://localhost/printers/oce_ -
client-error-not-found
The result is that clients can't view (cancel or pause) any of the jobs
on the queue.
I also can see this error on
2009 Apr 18
1
Rd: how to put a prime in a code fragment?
I have written a function for my 'oce' package that creates a data.frame
containing a variable name with a prime in it. (I use prime to indicate
coordinate rotation, a reasonably standard convention that motivates the odd
variable name.)
How can I name that in an Rd file? I tried \code{u'} but R-2.9.0 doesn't
like to build my package then, since it thinks I'm opening a
2010 Jan 13
1
decompress tar.gz and zip files
Can anyone point me in the right direction for decompressing text files that are
compressed as tar.gz or zip files?
Cheers,
Nathan
--
--------------------------------------------------------
Dr. Nathan S. Watson-Haigh
OCE Post Doctoral Fellow
CSIRO Livestock Industries
University Drive
Townsville, QLD 4810
Australia
Tel: +61 (0)7 4753 8548
Fax: +61 (0)7 4753 8600
Web:
2010 Feb 08
2
Help with apply()
I have a 2 column data.frame:
> d[1:5,]
a b
1 80015 C
2 80016 B
3 80023 C
4 80062 B
5 80069 B
I want to apply a function across each row:
> for(i in 1:nrow(d)) {
+ myFun(con, d[i,]$a, d[i,]$b)
+ }
How do I do this using apply()? I'm unsure how to tell apply() to pass
data from columns a and b for a given row as arguments to the function
2010 Mar 18
1
Intersect, Union of date/time ranges
I have 2 sets of data which defines the start and end of date/time
periods. I want to be able to obtain the following:
1) The intersect of those 2 sets of date/time ranges i.e. return
start/end date/time ranges where both sets overlap
2) The union of those 2 sets of date/time ranges i.e. return the
start/end date/time ranges which are in 1 or both sets
Is there anything that is currently able
2010 Jan 25
1
RMySQL Append data.frame to table
I have a data.frame obj with 5 columns whose colnames match the fields
in my "contact" table. The only other field my MySQL table has is an id
field which is the PK and is set to auto increment.
I'd like to load this data.frame using something like:
dbWriteTable(con, "contact", dat, append=TRUE)
However, I get this error:
Error in mysqlExecStatement(conn, statement,
2009 May 29
1
Package Licences
Are there any particular licences under which R packages must be released or is
it the discretion of the author? The same question if the package is to be
destined for CRAN?
Kind regards,
Nathan
--
--------------------------------------------------------
Dr. Nathan S. Watson-Haigh
OCE Post Doctoral Fellow
CSIRO Livestock Industries
Queensland Bioscience Precinct
St Lucia, QLD 4067
Australia
2009 Jun 17
1
Coerce rectangular matrix to symmetrical square matrix
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I have a rectangular matrix of size 920 by 85. I'd like to coerce it into a
square matrix such that all row/col names are present in the new matrix and the
additional values are zero.
As an example:
A B C D
A 1 2 3 4
E 5 6 7 8
F 9 10 11 12
Would be coerced to:
A B C D E F
A 1 2 3 4 5 9
B 2 0 0 0 6 10
C 3 0 0
2009 Feb 17
1
Create package with Fortran 90 and C code
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I'm trying to add some Fortran 90 code to an existing package.
When I compile and load the file manually like:
SHELL> R CMD SHLIB file.f90
R> dyn.load("file.so")
I can use the .Fortran() fine. However, when I try to build, install and load
the library I seem to be missing something.
I do a:
SHELL> R CMD build dir
SHELL> R
2009 Feb 11
1
Looping over a matrix passed to .C
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I've written a function in R which takes a symmetrical matrix as input and
processes all triplicate combinations of values from the matrix. The function
looks something like:
my_fun <- function(m) {
if( nrow(mat) != ncol(mat) ) {
stop("'m' must be a square matrix")
}
size <- nrow(m)
for(x in 1:(size -2)) {
2009 Feb 03
1
pairs() help - colour histograms on diagonal
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I'd like to be able to colour histograms along the diagonal using the colours
stored in colnames(d):
> d
black blue brown cyan
1 0.96405751 -0.02964390 -0.060147424 -0.06460070
2 -0.03614607 0.95475444 -0.152382053 -0.07767974
3 -0.07095613 -0.05884884 -0.061289399 -0.06445973
4 -0.03708223 -0.05997624
2009 Jan 15
2
R package tests
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I was wondering if anyone could point me in the right direction for reading up on writing tests in
R. I'm writing some functions for inclusion into a package and would like to test them to ensure
they're doing what I expect them to do.
Are these approaches used for testing packages in CRAN?
Cheers,
Nathan
- --
-
2010 Jun 17
1
Column name defined by function variable
Hi all,
probably a simple problem for you but I am stuck.
This simple function adds columns (with differing length) to data frames:
add.col <- function(df, new.col) {
n.row <- dim(df)[1]
length(new.col) <- n.row
cbind(df, new.col)
}
Now I would like to extend that method. A new parameter 'name' shouild
allow people to pass in a name for that new column. Is that possible
and
2011 Jul 29
1
package encoding warning
Dear list,
I'd like to get rid off a couple of warnings that have appeared in
checking my package on CRAN (I did not find them on my local machine
before submission). What puzzles me is that different platforms return
different warnings, only one of which I recognise as my obvious
mistake. The check results are at
http://cran.r-project.org/web/checks/check_results_planar.html