Displaying 20 results from an estimated 100 matches similar to: "looking for a smarter way"
2006 May 28
1
any plans on getting psexec / cmdat equivalent to Samba?
Hello !
If anybody want`s to implement the psexec unix port or samba equivalent,
maybe taking a look at xCmd from Zoltan Csizmadia at
http://www.codeguru.com/Cpp/I-N/network/remoteinvocation/article.php/c5433/
may help a LOT and is a very good example. (This one seems to work similar
like psexec - but it is available with sourcecode!)
I don`t know if the author is still reachable via this
2019 Dec 11
3
[PATCH 00/24] block, scsi: final compat_ioctl cleanup
Hi Jens, James and Martin,
This series concludes the work I did for linux-5.5 on the compat_ioctl()
cleanup, killing off fs/compat_ioctl.c and block/compat_ioctl.c by moving
everything into drivers.
Overall this would be a reduction both in complexity and line count, but
as I'm also adding documentation the overall number of lines increases
in the end.
My plan was originally to keep the
2010 Sep 27
1
Released Pigeonhole v0.2.1 for Dovecot v2.0.4
Hello Dovecot users,
There haven't been that many Pigeonhole developments lately, not even
really significant bugs were reported. That is why this release is
pretty small in terms of changes.
However, one issue got some attention: the fact that not recompiling
Pigeonhole for Dovecot v2.0.3 would result in rather interesting message
delivery. Normally, Dovecot would complain about a
2010 Sep 27
1
Released Pigeonhole v0.2.1 for Dovecot v2.0.4
Hello Dovecot users,
There haven't been that many Pigeonhole developments lately, not even
really significant bugs were reported. That is why this release is
pretty small in terms of changes.
However, one issue got some attention: the fact that not recompiling
Pigeonhole for Dovecot v2.0.3 would result in rather interesting message
delivery. Normally, Dovecot would complain about a
2006 Feb 05
1
3-dimensional table
Hi,
Last week my class conducted an experiment by putting out clay
caterpillars to look at the effects of urbanization, color, and location
on caterpillar predation. There were two sites (urban, rural), three
colors (green, yellow, red) and two locations at each site (edge,
interior). The entire data set is below. I've checked out the MASS
book, Dalgaard's book, and the R-help archives
2012 Oct 25
1
How to quit R script & return to R prompt
Hi
can you please tell me how to quit R script & return to R prompt.
As i tried following but still cannot able to return on to R prompt..
R> barplot(Forbes2000$profits)
R> barplot(xtab(`profits,data=Forbes2000))
+ barplot(xtab(~profits,data=Forbes2000))
+ )
+ Q()
+ ?barplots
+
+
+
+
+ barplot?
+ ?
+ ??
+ ????
+ stop()
+ exit()
+
+
+ ctrl+c
+ q()
+
I'm beginner in R &
2010 Jan 20
1
Reshaping data with xtabs giving me 'extra' data
Dear all,
Lets say I have several data frames as follows:
> set.seed(42)
> dates <- as.Date(c("2010-01-19", "2010-01-20"))
> times <- c("09:30:00", "11:30:00", "13:30:00", "15:30:00")
> shows <- c("Red Dwarf", "Being Human", "Doctor Who")
>
> df1 <- data.frame(Date = dates[1],
2010 May 20
2
multiple 2 by 2 crosstabulations?
Hello,
I have a dataframe (var_1, var_2, ..., var_n) and I would like to export summary statistics to Latex in the form of a table. I want specific summary statistics by crossing numerous variables 2x2 AT ONCE. In each cell I would like sometimes to have the median (Q1 - Q3), or frequency and proportion, etc. CrossTable, xtab, etc... do not allow for multiple 2 by 2 crosstabulation. The table
2010 Sep 10
4
Counting occurances of a letter by a factor
I'm trying to find a more elegant way of doing this. What I'm trying to accomplish is to count the frequency of letters (major / minor alleles) in a string grouped by the factor levels in another column of my data frame.
Ex.
> DF<-data.frame(c("CC", "CC", NA, "CG", "GG", "GC"), c("L", "U", "L",
2004 Nov 29
1
Seeking help with a simple loop construction
Hello,
I have a df, pp, with five variables:
> nobs(pp)
q10_1 q10_2 q10_3 q10_4 actcode
1620 1620 1620 1620 1620
I want to create a loop to run four xtabs (the first four variables above by the fifth) and then store the results in a matrix. Below I make my intent clear by showing the output of one xtab which is inserted into a matrix.
> a <- xtabs(q10_1 ~
2013 Jun 04
1
Zero-Inflated Negative Binomial Regression
Hi!
I'm running a zero-inflated negative binomial regression on a large (n=54822) set of confidential data. I'm using the code:
ZerNegBinRegress<-zeroinfl(Paper~.|., data=OvsP, dist="negbin", EM=TRUE)
And keep getting the error:
Warning message:
glm.fit: fitted probabilities numerically 0 or 1 occurred
I've done enough reading about this error to realize that I have
2007 Dec 07
2
rpc.idmapd error after upgrade to 5.1
Hello,
after upgrade from CentOS 5 to 5.1 I see the following error
in /var/log/messages:
'rpc.idmapd[2330]: main: open(/var/lib/nfs/rpc_pipefs/nfs): No such
file or directory'
The directory exists with the permissions
dr-xr-xr-x 2 root root 0 Dec 7 10:21 nfs
So is this an owner/permisson problem?
Should /var/lib/nfs/rpc_pipefs/nfs be owned by rpcuser?
# ls -al /var/lib/nfs/
total
2012 Jan 31
2
question on simple graph
I am having trouble generating a graph.
I want to know the % of respondents who answered that they "strongly
agree" or "agree" the "America owes R's ethnic group a better chance"
(BTTRCHNC) and I want to organize it by racial group (RACESHRT).
"BTTRCHNC" is organized ordinally from 1 through 5 with 1=Strongly
Agree, 5=Strongly Disagree
2008 Aug 22
1
Problem using rsync for backing up on to a NAS
Hi,
I have a problem that was already discused in the german archlinux forum
and couldn't be solved. Because of this I was asked to use the rsync
mailing list. So here I am ;b
I'm using the following script to backup my data to a Network Attached
Storage that has an ext3 formated hdd that is mounted via NFS
script: http://pastebin.com/f6b7115c9
This script works fine for /home but
1998 Oct 21
0
Crosstabs
Karsten,
I have a function which might be too simple, but could be modified to
what you requested. It is called "xtab" and appears to run okay on my
version of R (0.61.2). The tar.gz file includes text coding for "xtab"
and "padding" which is called. I set up empty functions and read the
text code into the editor, although there is probably a better way.
Hope it
2019 Dec 11
0
[PATCH 15/24] compat_ioctl: scsi: move ioctl handling into drivers
Each driver calling scsi_ioctl() gets an equivalent compat_ioctl()
handler that implements the same commands by calling scsi_compat_ioctl().
The scsi_cmd_ioctl() and scsi_cmd_blk_ioctl() functions are compatible
at this point, so any driver that calls those can do so for both native
and compat mode, with the argument passed through compat_ptr().
With this, we can remove the entries from
2011 Mar 30
2
calculating the mode in R...
Dear R users
I?m aware that the package ?modest? is useful to find the mode in an array.
However, I?d like to know if someone has translated the ?mode? function built-in
in MATLAB into R language. This function finds the most frequent value in an
array (http://www.mathworks.com/help/techdoc/ref/mode.html).
Best
Fer
2020 Jan 02
1
[PATCH v3 13/22] compat_ioctl: scsi: move ioctl handling into drivers
Each driver calling scsi_ioctl() gets an equivalent compat_ioctl()
handler that implements the same commands by calling scsi_compat_ioctl().
The scsi_cmd_ioctl() and scsi_cmd_blk_ioctl() functions are compatible
at this point, so any driver that calls those can do so for both native
and compat mode, with the argument passed through compat_ptr().
With this, we can remove the entries from
2016 Apr 26
0
How to print the frequency table (produced by the command "table" to Excel
Hi jpm miao,
You can get CSV files that can be imported into Excel like this:
library(prettyR)
sink("excel_table1.csv")
delim.table(table(df[,c("y","z")]))
sink()
sink("excel_table2.csv")
delim.table(as.data.frame(table(df[,c("y","z")])),label="")
sink()
sink("excel_table3.csv")
2016 Apr 26
2
How to print the frequency table (produced by the command "table" to Excel
Hi,
How could we print the frequency table (produced by "table") to an Excel
file?
Is there an easy way to do so? Thanks,
Miao
> df <- data.frame(x = 1:3, y = 3:1, z = letters[1:3])
> table(df[,c("y","z")])
z
y a b c
1 0 0 1
2 0 1 0
3 1 0 0
> test<-table(df[,c("y","z")])
> as.data.frame(test)
y z Freq
1 1 a