Displaying 20 results from an estimated 10000 matches similar to: "Difference in Cat(...) function between S Plus and R ?"
2002 Dec 03
1
Any difference in cbind() b/w SPLus and R??
Dear Experts,
I have a data object named "data.char".
When I use cbind(data.char) in SPlus, I got the following results:
> cbind(data.char)
data.char
data matrix, 2700
excluded list, 3
cluster.var character, 2
strata list, 3
xlog CT
link logit
gpcorr 1
missing.row numeric, 0
zero.row numeric, 22
infile perc.csv
attr(,
2002 Jan 15
2
returned values of glim() in S PLus and glm() in R
Dear Experts,
In glim() of S Plus, one of the returned values is "var", the estimated
variance matrix of coefficients. However, in glm() of R (there is no
glim() in R), "var" is not one of the returned values. Anyone know what
could I get the varience matrix of coefficients in glm() in R?
As a novice in R and S+, I'd appreciate your help
Sincerely,
Charlie Liu
2002 Jan 09
0
No subject
Dear All,
THis is my "data.char$excluded" object and I want to show its content in
my output screen.
> data.char$excluded
$names
[1] "Species" "Target" "Sex"
[[2]]
[1] "DG"
[[3]]
[1] "R"
[[4]]
[1] "M"
>
When I run cat() in S Plus, I got:
> cat(data.char$excluded, "\n")
c("Species",
2002 Feb 19
2
cdf of the standard normal distribution
Dear Experts,
I need to calculate the cdf of the standard normal distribution, i.e.
H(x) = 1/sqrt(2*pi) integral(exp(-z^2/2) dz), where z is b/w -infi to
infi.
I know there should be a way to do it in R, but did not know to do it.
I'd appreciate any help you could offer.
Charlie Liu
Graduate student intern at EPA/ECO
2003 Jan 14
1
How to change the label position in axis() ?
Dear R People,
I'm working on a plot function to produce the graph shown below. One of
the features my supervisor does not like is that the labels in the Y-
axix are shown vertically. Is there a way to change that to horizontally
?
This is the axix() function I used :
axis(2,at=seq(nstrat),labels=snames)
The labels (snames) are: SEV1:HU:C, SEV1:MU:C, SEV1:MU:L, SEV1:RT:C
and SEV1:RT:L,
2002 Jun 20
1
Questions on Instalation of SJava Package to R1.5.0
Dear Expects,
I tried to install the SJava package to the Library subdirectory of my
R1.5.0. However, when I tried it according to the instructions from
http://www.omegahat.org/RSJava/, I got the following error messages:
library(SJava)
Error in .Defunct() : `.Alias' is defunct.
See ?Defunct.
>.JavaInit()
Error: couldn't find function ".JavaInit"
I downloaded SJavaWin
2001 Dec 28
1
bug in the new version R1040
Hi,
I just downloaded the latest version of R - 1040. I'm doing the project
of converting CATREG - a statistical software writen in S Plus to R.
However, when I copied my R codes to the 1040 bin directory and resource
my codes, I got the following error message, this never happened in my
1030 or 1010 versions of R. Anyone one know what's wrong with 1040?
THanks
CHarlie Liu
EPA/ECO
2007 Nov 06
1
color2D.matplot
I am a true R novice aonly using it for this function ;)
I am trying to use color2D.matplot to form a image of my data using the
following conditions
color2D.matplot(fi1, c(dr), c(dg), c(db), nslices=7, ylab='Species',
xlab="gene", show.legend=TRUE) where fi1 is my matrix.
I have a matrix with 36 columns and 130 rows. most entries are 1 or 0 and I
am trying to get this
2008 Nov 02
1
[LLVMdev] llvm-2.4 prerelease gfortran results
Building the prerelease of llvm-gcc 2.4 on Intel darwin9
with the following patch...
--- llvm-gcc-4.2-2.3.999-20081024.source/gcc/stub-c.c.org 2008-10-30 18:55:45.000000000 -0400
+++ llvm-gcc-4.2-2.3.999-20081024.source/gcc/stub-c.c 2008-10-30 18:57:29.000000000 -0400
@@ -157,3 +157,27 @@
{
gcc_assert(0);
}
+
+
+bool cvt_utf8_utf16 (const unsigned char *, size_t, unsigned char **,
+
2010 May 23
4
creating a reverse geometric sequence
Hello,
Can anyone think of a non-iterative way to generate a decreasing geometric
sequence in R?
For example, for a hypothetical function dg, I would like:
> dg(20)
[1] 20 10 5 2 1
where I am using integer division by 2 to get each subsequent value in the
sequence.
There is of course:
dg <- function(x) {
res <- integer()
while(x >= 1) {
res <- c(res, x)
x
2007 Apr 25
2
assigning two conditions to grep()
Hi,
i have a problem in assigning 2 conditions to grep() ,
my data look like this:
DA 24 N7 Rad= 3.4 20 Sac= 0.93 Acc= 4.76
DA 24 N7 Rad= 3.4 14 Sac= 0.65 Acc= 3.33
DA 24 N7 Rad= 3.4 3 Sac= 0.14 Acc= 0.71
DA 24 N7 Rad= 3.4 11 Sac= 0.51 Acc= 2.62
DG 23 N7 Rad= 3.4 8 Sac= 0.37 Acc= 1.91
DG 23 N7 Rad= 3.4 5 Sac= 0.23 Acc= 1.19
DG 23 N7 Rad= 3.4 0 Sac= 0.00 Acc= 0.00
DG 23 N7 Rad= 3.4 3 Sac=
2009 Jul 25
2
[LLVMdev] GCC DejaGNU regressions
The GCC DejaGNU testsuite has discovered some regressions. Here's
one; this was reduced from testsuite/gcc.apple/4656532.c:
typedef long long __m64 __attribute__ ((__vector_size__ (8),
__may_alias__));
static __inline __m64 __attribute__((__always_inline__, __nodebug__))
_mm_slli_si64 (__m64 __m, int __count) {
}
__m64 x, y;
void t1(int n) {
y = _mm_slli_si64(x, n);
}
Compiled with
2011 Sep 15
1
winbind: problems with group names
Hi,
I am running a 3.6.0 server as a member of a Samba4 domain controller
and am noticing some behaviour that I do not understand (the domain is
FB5, the domain member servers's name is tango)
It took me some time to get winbind showing domain users and groups
but finally with backend idmap_rid it is _nearly_ working.
`getent passwd' and `gentent group' list domain users and groups:
2005 Jul 05
1
Getting runtime error in stepclass
Hi!
I got the following runtime error when I tried to use svm method with
stepclass.
Error in "colnames<-"(`*tmp*`, value = c("0", "1")) :
attempt to set colnames on object with less than two dimensions
I repeated the same sequence of statements but this time I used the
classification function used in the example, i.e., "lda" and it worked
fine
2008 Mar 20
5
[LLVMdev] testsuite problems after merge
I'm seeing ~100 new failures in the gcc testsuite due to the test file
being doubled or tripled, as below. This appears to affect only
files that were newly imported from gcc-4.2 in the recent merge. Does
anybody have an idea for how to mechanize fixing these (I doubt you
can count on the APPLE LOCAL comment being there)? If there's no
better way than slogging through
2012 Jun 22
3
removing NA from a data frame
Removing rows with NAs, using na.omit(), doesn't seem to be working for me.
Dataset:
> str ( ex10s )
'data.frame': 2189576 obs. of 5 variables:
$ LOPNR : int 58 58 58 58 64 64 64 64 64 64 ...
$ DIAGNOS: Factor w/ 173 levels "F20","F200","F2000",..: 128 128 128 128 105 105 105 160 105 105 ...
$ X_DATE : int 20060821 20061207 20080102 20090904
2008 Mar 31
1
Segfault with soft disk quota
RHEL 5.1, dovecot 1.0.rc15 on a x86 system. dovecot -n says
[root at dg mail]# dovecot -n
# /etc/dovecot.conf
protocols: pop3 pop3s
login_dir: /var/run/dovecot/login
login_executable: /usr/libexec/dovecot/pop3-login
login_process_size: 64
first_valid_uid: 100
mail_executable: /usr/libexec/dovecot/pop3
mail_plugin_dir: /usr/lib64/dovecot/pop3
auth default:
passdb:
driver: pam
userdb:
2012 Dec 04
0
[LLVMdev] radr://12777299, "potential pthread/eh bug exposed by libsanitizer"
On Tue, Dec 04, 2012 at 10:36:18AM -0800, Alexander Potapenko wrote:
> Currently the replacement of allocation routines is based on creating
> a new malloc zone and a new CFAllocator (because the allocator
> replacement is done later than it could be, we must have both). This
> makes us depend on CoreFoundation to call CFAllocatorSetDefault.
> Because of some bugs in CF which start
2011 Aug 12
1
deSolve output
Hi,
I've solved a simple differential equation describing the degradation of
amino acid carbon (THAA-C) using deSolve.
Code is a follows:
# Input of model parameters, a and b describes form of curve, i is apparent
initial age of Org. C.
parameters <- c(a = a, b = b, i=i)
# Initial value of the model, G
state = c(G = G)
#specifies the function degradation as a function of
2009 Jun 30
1
Question regarding SIP 183 "Session Progress" handling in Asterisk
Dear Asterisk community!
I am having trouble with a project concerning the 183 Session Progress SIP messages. Asterisk seems to only accept these when there is also a Session Description (SDP) included in the message.
I also verified this by looking at the code.
However for a project we are working with a trunk to a third party system (Alcatel) and they are insisting that this behavior is