Displaying 20 results from an estimated 120 matches similar to: "Subset of a subset?"
2005 Feb 27
1
subsetting data set dimenion problem
(See DAAG book, p. 173, ex. 3)
I'm a new user of R, and I'm following the DAAG text. I want to create a
subset of the races2000 data frame, but get errors because of a mismatch
of values in some columns:
> library(DAAG)
> attach(races2000)
> hills2000 <- races2000[races2000$type == 'hill']
Error in as.matrix.data.frame(x) : dim<- : dims [product 770] do not
2013 Nov 08
1
Rsync hanging, even with timeout and contimeout specified
Here's the details and some debugging I did for starters, but I have no
idea where to proceed from here. Help please? Command to reproduce should
be in the strace output below.
-Dan
P.S. Sorry for sending this a few times; I think only one will make it
through to the list since I wasn't subscribed initially.
$ rsync --version
rsync version 3.1.0 protocol version 31
Copyright (C)
2005 Feb 28
0
Re: R-help Digest, Vol 24, Issue 28
You've omitted a comma. races2000 is a data frame,
which for purposes of extracting rows behaves like
a 2-dimenional object. The following works fine:
hills2000 <- races2000[races2000$type == 'hill', ]
Additionally, you might like to ponder
> type <- races2000[names(races2000)=="type"]
> type[1:4]
Error in "[.data.frame"(type, 1:4) :
2015 Feb 11
2
Problems in SAMBA 3.3 to 4.0 migration
Hi, Rowland, and thanks for the reply.
The PDC OS is Slackware 13. The BDC OS is Slackware 14.
The choice to use Samba 4.0 was merely due to its inclusion on the Slackware
14 distro. I'll worry about upgrading that once I have the migration
complete.
I will post the two machine's respective smb.conf's later today.
--
View this message in context:
2015 Feb 12
0
Problems in SAMBA 3.3 to 4.0 migration
As promised, I'm posting the smb.conf files for the two servers in question.
One minor correction I should offer is that the new SAMBA server will be
version 4.1, not 4.0.
Following is SMB.CONF for the current PDC, which is Samba 3.3.4 on Slackware
13.
I've omitted all share definitions to allow focus more on the configuration
side. Actual
server/domain names have been omitted.
2015 Feb 12
2
Problems in SAMBA 3.3 to 4.0 migration
On 12/02/15 02:43, soonerdave wrote:
> As promised, I'm posting the smb.conf files for the two servers in question.
>
> One minor correction I should offer is that the new SAMBA server will be
> version 4.1, not 4.0.
>
> Following is SMB.CONF for the current PDC, which is Samba 3.3.4 on Slackware
> 13.
> I've omitted all share definitions to allow focus more on the
2007 Aug 09
8
Dtrace - Segmentation Fault
After building and bfu''in the lastest ON build, any time I run a dtrace script I get a Seg Fault. Is there a dtrace for dtrace :)
Doug
root at prae> dtrace -n ''syscall::open*:entry { printf("%s %s",execname,copyinstr(arg0)); }''
Segmentation Fault (core dumped)
root at prae> pstack core
core ''core'' of 101364: dtrace -n
2007 Jul 16
1
Problem building R with Sun Studio Compiler
I would like to Build R-2.5.1 on OpenSUSE 10.2 using the SunStudio 12
compilers(http://developers.sun.com/sunstudio/index.jsp)
R builds and passes make check fine without optimising. However, when I try to compile with optimisation turned on
(-fast) the build gets stuck in an infinite loop at the following point:
Sun_Studio/sunstudio12/bin/cc -m64 -shared -Kpic -m64 -fPIC -o grDevices.so
2012 May 10
6
averaging two tables (rows with columns)
Hi R user,I am struggling to figure out on how I can calculate the average from the two tables in R. Any one can help me? really your help would be grateful- I am spending so much time to figure it out. It should not be so hard, I think.
I have very big data but I have created a hypothetical data for simplification.
for example
I have : table 1
table 1: species occurance data
2011 Jun 24
2
Need help on a R script part
Hi all,
I need all your help on this. I have the next part of code:............e1=x1-mean(x1)e2=x2-mean(x2)n1=length(x1)n2=length(x2N=(n1 + n2)nu2=sum( c( ( x1 -mean(x1) )^2 , ( x2-mean(x2) )^2 ) )/Nss=c(e1,e2) b3= N*sum(ss^4)/ (sum( ss^2)^2)............what do lines 6-8 (mathematical notation)?Also the, what means part?............for(j in 1:B){ ss11=sample(x1, n1, replace=TRUE) ss12=sample(x2,
2007 Apr 19
1
read.table with more than one sep
Dear List,
somebody knows, if the following operation can be done in an easier way?
The data rows which should be read into R look like that:
4547;1970.01.01 00:00-1970.01.01 01:00; noData
Unitil now we are doing this procedure:
1. Dividing columns which are separated by ";"
=> temp <- read.table(file ,sep=';', na.strings='noData',
strip.white=TRUE)
=>
2004 Nov 22
0
IFELSE across a 3D array?
Dear all,
We are trying to clean multiple realizations of a pattern. Erroneous NODATA
and spurious DATA occur in the realizations. As we have to do a 1000
realizations for many patterns, efficiency of the code is important.
We need to correct the realizations with a 'mask' pattern of DATA/NODATA.
We think an ifelse should do the job. Spurious DATA will be simply removed
using the
2008 Aug 01
1
bug in readRAST6 function in package spgrass6
Hi
if I try to import a raster layer which consists only of NULL values
from grass by using the readRAST6, I get an error message:
> readRAST6("HSericea_seedsDisperse_2007")
ERROR: Invalid value for null (integers only)
Error in readBinGrid(rtmpfl11, colname = vname[i], proj4string = p4,
integer = to_int) :
no such file:
2006 Sep 23
2
Question about merge()
If I want to do a join based on *two* matching fields in two data frames,
can merge() handle this? It appears to only handle a single matching column
-- do I need to make a "metacolumn" or is there some way to do this? E.g.:
Dataframe 1 contains columns A,B,C and Dataframe 2 contains A,B,D
I want an output A,B,C,D which places C and D together if A and B match
(otherwise, make two
2008 Aug 11
1
Unexpected parameter problem using rsaga.geoprocessor() {RSAGA}
Hello,
I discovered SAGA, an interesting free GIS, a few days ago and now, I
would like to use it from within R 2.6.2 using the RSAGA package. I read
the documentation for this package and thought that I understood it
correctly for trying to call some of the SAGA modules. For getting the
information on the usage of and arguments required by the SAGA command
line "Import Binary Raw
2019 Nov 08
1
C8: Wayland Session / Cut and Paste
On Thu, Nov 07, 2019 at 05:50:24PM -0500, Lamar Owen wrote:
> On 11/7/19 3:13 PM, Leon Fauster via CentOS wrote:
> >Is this the normal behavior now? Cutting text in gedit and pasting
> >it into the terminal needs that the source application stays
> >running?
> I've run into this behavior for a while, for several CentOS
> versions, depending upon the application.
2005 Jul 06
2
Username mapping
Hello.
We're using dovecot with mysql for authentication, with postfixadmin for
the admin web interface.
We are moving users from passwd file usernames to email at domain style logins.
Is there a better way to allow both sets of usernames (old and new) to
work with dovecot than by adding extra copies of rows to the mailboxes
table and changing the username? i.e. does dovecot support some
2011 Apr 19
2
[LLVMdev] Crash in llvm::JITDwarfEmitter::EmitDwarfTable on 2.8 and 2.9 release but not on trunk?
Hello,
I'd like some advice on a crash that we have observed on MacOSX with the 2.8 and 2.9 releases of LLVM, but not on the top of trunk. The crash is a null-deref in llvm::JITDwarfEmitter::EmitDwarfTable :
Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_INVALID_ADDRESS at address: 0x0000000000000000
0x0000000100852203 in llvm::JITDwarfEmitter::EmitDwarfTable
2019 Dec 10
0
[Bug 14214] New: --report-special=OPS option to return error code if no data was copied
https://bugzilla.samba.org/show_bug.cgi?id=14214
Bug ID: 14214
Summary: --report-special=OPS option to return error code if no
data was copied
Product: rsync
Version: 3.1.3
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P5
Component: core
2009 Aug 08
0
[LLVMdev] Profiling in LLVM Patch Followup 1
Applied as r78477.
I do have a few comments on the patch, below, but I'll wait to see
where things are going before acting on them. :)
--
> Index: include/llvm/Analysis/ProfileInfo.h
> ===================================================================
> + // MissingValue - The value that is returned for execution counts in case
> + // no value is available.
> +