Displaying 20 results from an estimated 900 matches similar to: "(no subject)"
2002 Dec 05
0
(no subject)
Alternatively if you want to avoid using lists, you can create the variables like this:
for (i in 1:10) assign(paste("x",i,sep=""),i^2)
and view them subsequently like this:
for (i in 1:10) print(get(paste("x",i,sep="")))
Phil
-----Original Message-----
From: Uwe Ligges [mailto:ligges at statistik.uni-dortmund.de]
Sent: 05 December 2002 12:58
To: Jan
2009 Mar 09
1
Data Restructuring Question
I think I am overlooking a call or concept in R to help me easily and quickly restructure my data.frame:
Sometimes the data I receive looks like:
VariableName, Run1, Run2, Run3, Location
temp, 15.0, 16.0, 17.0, There
And other times it looks like:
VariableName, Run, Location
temp, 17.0, There
I would like to use the header information in order to be able to
2007 Mar 01
2
How can I use the "GET VARIABLE variablename" in AGI
Hi,All,
I wang to use AGI in asterisk1.4.
AGI file / myperl.agi
#!/usr/bin/perl
use strict;
......
print STDERR "7. Testing GET VARIABLE...";
print "GET VARIABLE EXTEN \"\"\n";
my $result = <STDIN>;
&checkresult($result);
......
when the agi execute; asterisk conosle show that :
AGI Rx << GET VARIABLE EXTEN ""
AGI Tx >>
2004 Sep 28
1
Why does rsync think my files are much bigger than they are ?
Has anyone ever seen this happen when using rsync ? I'm trying to send a
series of =~ 300k files down the line, but for some reason, rsync thinks
each file is 17592186044416 bytes long! The same behaviour occurs when
using rsync to copy files locally.
Partial output follows...any help appreciated!
Cheers,
P
[root@grappa llog]# ls -al /IFX/llog/logs.109051.gz
-rw-rw---- 1 informix
2012 Oct 29
6
export variable from bash to R
Dear R experts
This probably seems very easy to you guys, but I'm a beginner and would be
really glad if someone helped me with this:
I am trying to automate the execution of an R script (let's call it
"myscript.R") by passing a variable from a bash script to myscript.R.
I know I can use the command Rscript, but I don't know how to declare in
bash which variable will be
2014 Aug 04
3
[LLVMdev] LLVM AllocaInst and StoreInst
Hi,
I am trying to write a simple interpreter.
I am trying to generate LLVM IR for assignment operation. The code for the
generation part looks like this
llvm::Value* codeGenSymTab(llvm::LLVMContext& context) {
> printf("\n CodeGen SymTab \n");
> Value *num = ConstantInt::get(Type::getInt64Ty(context), aTable.value,
> true);
> Value *alloc = new
2023 Jul 18
2
Installation of R-4.3.1 with intel 2022
Note that 'intel 2022' is a bit vague. The current version is 2023.1.0,
and that has both the 'classic' (icc/icpc/ifort which it seems you used)
and new (icx/ixpx/ifx) compilers -- the former are said to be going to
be discontinued later this year. R did not know about ifx so did not
build with the new set.
The parts of the manual Tomas referred to were about the old
2004 Jan 29
2
Finding Sweave.sty and other problems
Hi,
I've just tried to run example-3 from Friedrich Leish. I'm using R 1.8.1
and MiKTeX 2.2 on Windows XP.
I go
===
> library(tools)
> Sweave("example-3.Snw")
Writing to file example-3.tex
Processing code chunks ...
1 : term hide
2 : echo term verbatim
3 : term tex
4 : term verbatim eps pdf
You can now run LaTeX on example-3.tex
===
The file example-3.tex
2007 Jun 12
1
php + Informix IDS via IFX Module Howto for Centos5
Dear all
I've come out with a howto that I wish to contribute back to the
community. This howto is actually a sort of a draft that I made for
my own "self-reminder". It was an interesting experience collating
the data to eventually come out with the stuffs.
I hope it is useful enough to someone not to go through the same
"hell/happy hunting grounds"
The said howto is
2002 Dec 18
3
summary stats including NA's into new dataframe
List,
I am trying to extract summary statistics from a data frame with several
variables (and NAs) into a dataframe with the columns: Variablename (ie the
colnames of original data), mean, stdev, max, min, Valid N, Missing Values.
Extracting the statistics is straightforward using stack and aggregate.
However, I haven''t succeeded in obtaining the number of Missing Values. I
can extract
2006 Jun 08
2
PHP Extensions
Hi all,
I have a problem, I'm running CentOS 4.3 and I just installed php with
yum, later I realize that I nedd LDAP support so I download the php-ldap
rpm with yum, everything was OK...but now..the problem is that I need
Informix support, so I search for a php-ifx module to see if it
exist...but no.
So, what are my options? recompile a fresh new php with informix
support...loosing the
2016 Apr 12
3
selinux getsebool request
Out of faint curiosity, how do we push change requests upstream to RHEL?
I'm using puppet to automate systems, including the application of
SELinux policy. While setsebool -P is non-damaging to repeat, it is time
consuming -- taking about 45 seconds per execution to process the
existing policy and re-commit to disk.
I'd like a simple ability to put an unless in the execution of
2010 May 28
2
[LLVMdev] Retrieving Underlying Type from AllocaInst
Is there a recommended way to retrieve the original type from an AllocaInst object?
For example, I am creating alloca instructions using the IRBuilder interface like:
alloca = builder.CreateAlloca( Type::getDoubleTy( context ), 0, variableName.c_str() );
and I place the alloca into a symbol table.
Later when I am generating instructions for an assignment operation, I want to check the type of
2012 Apr 04
3
Rgui maintains open file handles after Sweave error
Hello Folks,
When I run the document below through sweave, rgui.exe/rsession.exe
leaves a file handle open to the sweave-001.pdf graphic (as verified by
process explorer). Pdflatex.exe then crashes (with a Permission Denied
error) because the graphic file is locked.
This only seems to happen when there is an error in the sweave document.
When there are no errors, no file handles are left open.
2004 May 03
1
Setting up contrasts
I am using the following model:
lm <- lm(mydata[[variableName]] ~ Age + Gender + Group, data=mydata)
There are 5 groups in "Group": nonc (the control), c1,c2,c3 and c4.
How do I contrast nonc vs the others?
and
How do I contrast c1 vs other c's (ie c2,c3,c4 as a subgroup)?
I have looked at the contrasts option in lm and model.matrix and am
really none the wiser.
Though it
2004 Nov 02
1
R data editor
Hi,
I have installed R2.0.0 on my mac with the new gui. Almost everything
works fine now.
Except when I run RCommander and want to edit a dataset with the data
editor.
Normally when you click on the variablename on top of a row a small
dialog box should open where you can change the name and the between
numeric uand character.
But this dialog box does not open.
Thanks for any help,
tobi
2008 Apr 22
1
levels in dataframes
Dear R community, I wish to ask a short question concerning factor-data
in dataframes: When I subset the data and get rid of all data for one level,
I still retain the level name (obtained by levels(dataframe$variablename) ).
Is there a convenient way to get rid of the levels for which all data has
been deleted?
Thank you and wishing you an excellent day!
Georg.
2011 Nov 08
1
save at relative directory
Dear all,
I have a variable called thres and before I run a script I set it to a value
like
thres<- -10
at the end of the execution I am issuing a save(variablename,file='Results')
which will end up with a file saved at the current directory with the name Results
I would like though to use thres value and do the followingg
save at the directory called 10 so to get ./10/Results, (yes I
2010 Jan 27
1
control of scat1d tick color in plot.Predict?
Hi All,
I have a quick question about using plot.Predict now that the rms package
uses lattice. I'd like to add tick marks along the regression line, which
is given by data=llist(variablename) in the plot call. The ticks show up
fine, but I'd like to alter the color. I know the ticks are produced by
scat1d, but after spending a fair bit of time going through documentation,
it still
2012 Jul 09
1
Using loops to create matrices where the variables is called with $
Hi there,
I am trying to make a VECM model which does a loop to pull of long run
impact coefficients. The problem is that to calculate these for a,b,c I use
the irf() function and they are stored in irf$a, irf$b, irf$c. What I would
really like is to be able to call irf$[variablename(x)] where I can loop
through i:n for x and it will pull out the right variable. This is a bit of
a waste of time