Displaying 20 results from an estimated 100 matches similar to: "Unwanted Levels in R"
2002 Jun 12
4
Opening all files in a directory
Is there any way that R can be programmed so that it will cycle through
all files in a directory without having to define file names? The reason I ask
is because I will have about 50-100 files in a directory which will be randomly
named. ie: MIDEX, OACES-CO2, ODEN91, etc...
If not...are there any languages out there that will do this sort of things? Or is
there another method you could
2019 Oct 30
2
pointer arithmetic with address space attribute not working
Hi,
I have a case that for pointer with address space attribute, pointer
arithmetic is not work.
For example,
-bash-4.4$ cat test.c
#define __user __attribute__((address_space(1)))
void __user * test(void __user *arg) {
#ifdef ADD
return arg + 4;
#else
return arg;
#endif
}
-bash-4.4$
-bash-4.4$ clang -g -c test.c
-bash-4.4$ clang -g -c -DADD test.c
clang-10: ../lib/IR/Instructions.cpp:2749:
2019 Oct 31
2
pointer arithmetic with address space attribute not working
I forgot the -DADD flag earlier but the result did not change: https://godbolt.org/z/NPcn22
________________________________________
From: llvm-dev <llvm-dev-bounces at lists.llvm.org> on behalf of Doerfert, Johannes via llvm-dev <llvm-dev at lists.llvm.org>
Sent: Wednesday, October 30, 2019 20:18
To: LLVM Developers Mailing List; Y Song
Cc: Alexei Starovoitov
Subject: Re: [llvm-dev]
2005 Apr 20
1
make check failure -- R 2.1.0 Windows XP SP2
I compiled R 2.1.0 under Windows XP SP2 as a preliminary to rebuilding a
custom package for use with R 2.1.0. The compile completed successfully,
and I was able to run demo(graphics) successfully. But make check and
make check-recommended fail.
> version
_
platform i386-pc-mingw32
arch i386
os mingw32
system i386, mingw32
status
major 2
minor 1.0
year 2005
2006 Mar 07
3
how to use the rpart function?
Hi all,
What parameter do I normally change in the rpart function? How do I set the
"cp" option?
Is there a way to read off error rate directly from the "rpart" function for
training data; I imagine for testing data I have to apply a "predict", but
for training data I guess the error count would be somewhere existing once
the "rpart" function is
2009 Jun 22
4
Different inbound routes for each interface on a TDM800P card.
I'm new to Asterisk and inherited this project so I apologize if this
question has been asked a hundred time before. I did start with Google
but I may not be asking the right questions, because I wasn't finding
any answers.
I have Asterisk 1.4.24 and FreePBX 2.5 running and using a Digium
TDM800P to interface with our six analog phone lines from the telco.
Currently I have a single trunk
2019 Oct 31
2
pointer arithmetic with address space attribute not working
Thanks for the detailed info!
The problem was that I tried without assertions and didn't inspect the IR closely as it contained this,
for now, illegal instruction: %6 = bitcast i8* %5 to i8 addrspace(1)*
This is clearly a clang error.
I suggest opening a bug report, or sending the reproducer to cfe-dev at llvm.lists.org so someone will take a look that has more clang experience.
@Matt Do
2023 Jan 16
1
return value of {....}
Again, John, we are comparing different designs in languages that are often
decades old and partially retrofitted selectively over the years.
Is it poor form to use global variables? Many think so. Discussions have
been had on how to use variables hidden in various ways that are not global,
such as within a package.
But note R still has global assignment operators like <<- and its partner
2006 May 21
18
ZFS Web administration interface
I don''t seem to have access to the web administration interface. It worked fine up to svn_B37, but B38 and B39 don''t appear to have it deployed. I can start the web console server "/usr/sbin/smcwebserver start" and log in as root but ZFS does not appear in the list of applications. Is there something additional I need to do?
This message posted from opensolaris.org
2008 Jul 14
2
Convert data set to data frame
Greetings,
I have a data set look like this:
> print(MyResult)
2 5 9 10
11 13
mean 6.108394 3.272211e+01 3.951703e+02 2.086217e+03
79.838867 2.592272e+04
median 1.288889 2.743511e+00 4.061491e+00 4.943710e+01
-2.821667 -3.040625e+00
var 2885.350595 2.343144e+05 1.022680e+06 1.200589e+07
365179.508831
2023 Jan 16
2
return value of {....}
Richard,
I sent my prior email too quickly:
A slight addition to your code shows an important aspect of R, local vs. global variables:
x <- 137
f <- function () {
a <- x
x <- 42
b <- x
list(a=a, b=b)
}
f()
print(x)
When run the program produces the following:
> x <- 137
> f <- function () {
+ a <- x
+ x <- 42
+
2009 Mar 09
0
Usar R desde Matlab
Hola,
He estado utilizando un paquete en Matlab para llamar a R (
http://www.mathworks.com/matlabcentral/fileexchange/5051 ). Es muy sencillo
y en cinco minutos he conseguido ejecutar funciones de R. Basta con instalar
este paquete en el directorio de trabajo y podremos ver unas funciones para
enviar variables a r y trabajar desde matlab. Un ejemplo serĂa este:
>> openR
>> a =
2005 Nov 29
1
saving AIC of intermediate models in step
Hi all,
I'm fitting GLM's using the step or stepAIC procedures and I would
like to save the AIC of the intermediate models. I would appreciate
very much information about how todo this.
Best wishes
Germ??n L??pez
2012 Sep 06
0
Revolutions blog: August round-up
I write about R every weekday at the Revolutions blog:
http://blog.revolutionanalytics.com
and every month I post a summary of articles from the previous month
of particular interest to readers of r-help.
In case you missed them, here are some articles related to R from the
month of August:
RStan is a new package for Bayesian modeling with R. It's faster and
can fit more highly-correlated
2009 Jan 23
1
Anova and unbalanced designs
Dear R-list!
My question is related to an Anova including within and between subject
factors and unequal group sizes.
Here is a minimal example of what I did:
library(car)
within1 <- c(1,2,3,4,5,6,4,5,3,2); within2 <- c(3,4,3,4,3,4,3,4,5,4)
values <- data.frame(w1 = within1, w2 = within2)
values <- as.matrix(values)
between <- factor(c(rep(1,4), rep(2,6)))
betweenanova <-
2009 Oct 06
1
Debugging IMAP ACLs
Hello,
I upgraded my server to 1.2.4 and now I'm trying to implement ACL support to
use with Bynari Insight Connector. Starting out with the wiki page on shared
namespaces from http://wiki.dovecot.org/SharedMailboxes/Shared I tried to
implement shared mailbox support so that my customers can enjoy more
exhange-like qualities with outlook.
However I am not sure if the ACLs or Shared
2011 Jan 20
6
Identify duplicate numbers and to increase a value
Hi everybody.
I want to identify duplicate numbers and to increase a value of 0.01 for each time that it is duplicated.
Example:
x=c(1,2,3,5,6,2,8,9,2,2)
I want to do this:
1
2 + 0.01
3
5
6
2 + 0.02
8
9
2 + 0.03
2 + 0.04
I am trying to get something like this:
1
2.01
3
5
6
2.02
8
9
2.03
2.04
Actually I just know the way to identify the duplicated numbers
rbind(x, duplicated(x) |
2010 May 09
1
Dimensions on svychisq on svydesign
Dear Forum
I a running svychisq from the survey package and get errors with the number
of dimensions,
errors that I do not understand and do not know how to fix.
I ask you kindly to help me out.
The eror message follows with some information below. I hope there are
enough information to help me to fix the problem if not please let me know
what is needed
Best
Stefan Hrafn Jonsson
> QHISQ2
2005 Dec 30
2
rails running very slowly on apache (with fcgi or without)
Was wondering if there is anything obvious I may have missed in my
setup that would cause it to run so slowly. WEBrick runs blazingly
fast in comparison, in dev mode, so I''m sure there''s something off.
Even in production mode requests take about 4 or 5 secs.
Thanks!
Win XP
Apache 2
Rails 1.0
-rich
2009 Apr 17
3
Create histogram from data matrix
Hello!
Thanks for reading this request for assistance. I have a question
regarding creating a histogram-like figure from data that are not
currently in the correct format for the "hist" command.
Specifically, my data have been processed and are in a matrix with
columns containing the variables of interest and separate columns
containing the number of times this variable was