Displaying 20 results from an estimated 4000 matches similar to: "more kickstart - saving %pre decisions for %post"
2010 Feb 28
5
emergency! linux kickstart pxe boot needed
Hey folks,
I'm at colocaiton in the middle of a big rebuild and it seems I have a
faulty CD rom in the server that I need to put Centos on via
Kickstart. So I cannot boot the Centos 5.4 net install CD.
Is PXE kickstart easy to set up? I have a laptop here with DHCP
already going. I google and a bunch of stuff comes up but it does
not look simple.
I'm just shooting htis out ther eon
2004 Oct 26
2
kickstart from cd
Howdy,
Was wondering if anyone on the list has successfully created a
kickstart cd. I get the thing burnt, looks good, I can browse all the
files, but when I actually boot from it I can't get it to admit the
ks.cfg exists. I *have* been successful with kickstart over http;
just can't seem to make it happen from the cd. Pointers appreciated,
I've been mostly looking at the
2010 Jan 12
2
kickstart %pre help on C5.4
Hey folks!
I'm doing some %pre work for the first time in a very long time, and
have been at this all day so far and still don't have anything sorted
out properly.
First I tried just doing some simple bash stuff like this
%pre
#!/bin/bash
# stuff
I reduced "stuff" down to basically a simple "select" statement to
echo and read input, just for the sake of debugging.
2008 Oct 12
1
Conditionally skip over "for(..){" and "}"??
Hi Folks,
I'm wondering if there's a secret trick to achieve the following.
I have some big code for analysis related to a named variable,
which will be one of several in the columns of a dataframe, and
I would like to be able to choose between a run for just one of
these variables, or a run which loops over them all.
So, for a single run, I could have the following kind of thing
in a
2007 Jan 26
2
Use a text variable's value to specify another varaible?
Greetings guRus --
If a variable, e.g., 'varname', is a character string, e.g. varname <-
"datavector", and I want to apply a function, such as table(), to
datavector, what syntax or method will do so using only the variable
varname? This seems similar to indirect addressing, but I have not seen
a method for it in the R manuals. Is there a general name for such
indirect
2006 Jul 13
2
simple question about variables....
Dear R users,
I have a simple question on variable manipulation.
Imagine I have an object "OBJ" that has "toto" as one of its variables.
I would like to understand why if I do
> varname <- "toto"
>OBJ$varname returns no results
whereas
> OBJ[varname] returns the column entitled
2003 May 31
5
parse on left hand side of R assignment
I keep finding myself in a situation where I want to calculate a
variable name and then use it on the left hand side of an assignment.
For example
iteration <- 1
varName <- paste("run",iteration,sep="")
myList$parse(text=varName) <- aColumn
I want to take some existing variable "aColumn" and use the name
"varName" name for it and put it into a
2006 Mar 16
2
CentOS 4.x - Kickstart
Anyone point me in the direction of a good howto on kickstarting an 1850
or 2850 with the latest 4.x release - I presume one does not use a ks
floppy anymore as the kernel would be too big ?
thanks
2012 Jun 22
3
dropping variables from a data frame inside a function
Why doesn't this work?
#Drop a variable name from a data frame
DropLikeSAS <- function(x,df) {
df[[x]] <- NULL
0
}
DropLikeSAS("VarName", DataFrameName)
Try it. The column VarName will not be deleted from the data frame DataFrameName.
But
x <-
2010 Feb 11
4
Access variables by string
Dear all,
I have two probably very easy questions:
(1) Is there a way to access certain variables by their string-based
name representation?
Example:
numbers <- c("one", "two", "three")
varname <- "numbers"
print(varname[2])
(2) I need this functionality for a customized na.exclude() function
that I am building, which should only exclude rows
1999 Sep 29
1
getenv() can't differentiate "defined but empty" and "undefined"
getenv(<varname>) currently returns ""
if the <varname> is undefined.
However, if <varname> is defined but empty,
getenv(<varname>) still only returns "".
I think this is quite unfortunate
but consistent with the prototype.
---
I'd propose to change the current behavior.
Something which should be pretty back compatible would
for the first
2010 Dec 16
1
my function does not work for large data set
Dear R community,
I have one function, it works for small data set, but does not work on large
data set, can anyone help me with this?
> #creat new variable by dividing each aa dimer by total_length.
> imper<-function(x, file) {
+ round(x/file$length, 5)
+ }
> dim(test)
[1] 999 2402
> test[varname[2:2401]]<-
2011 Apr 27
1
Eval to write many files
Dear all
I am looking for a shorter way and more elegant to write the following
for (i in c(1:length(Shadowlist))){
filename<-paste('/home/apa/maps/',model,i,'.mat',sep="")
varname<-paste(model,'_shadow',i,sep="")
eval(parse(text=paste('writeMat(filename,',varname,'=Shadowlist[[i]])',sep="")))
}
actually I do not
2007 Feb 09
1
How to add the variable name to a qqplot or densityplot in the diagonal of an splom?
splom() doesn't complain here, but writes no names in the diagonal
boxes. What am I missing?
I believe that I need to add something like grid.text(x, ...) to the
diagonal panel, but I don't know how to get it cycle through the
column labels. And should
varname.col = 'blue', varname.cex = 1
be inside the diag.panel() function?
splom(szw[, n], pscales = 0,
diag.panel
2005 Nov 23
1
assign() problem
I've written a piece of code (see below) to do a wavelet image
decomposition, during the evaluation of this code I would like to write
the results of some calculations back to the R root directory. I used
assign() to do so because the names should vary when going thrue a
while() loop. For some unknown reason I get an error that says:
Error in assign(varname[i], imwrImage) :
2011 Jun 17
1
is this a bug?
Hello,
Is the following a bug? I always thought that df$varname <- does the same as
df["varname"] <-
> df <- data.frame(weight=round(runif(10, 10, 100)), sex=round(runif(100, 0,
1)))
> df$pct <- df["weight"] / ave(df["weight"], df["sex"], FUN=sum)*100
> names(df)
[1] "weight" "sex" "pct" ###
2007 Dec 13
1
creating lagged variables
Hi all.
I'm looking for robust ways of building lagged variables in a dataset
with multiple individuals.
Consider a dataset with variables like the following:
##
set.seed(123)
d <- data.frame(id = rep(1:2, each=3), time=rep(1:3, 2), value=rnorm(6))
##
>d
id time value
1 1 1 -0.56047565
2 1 2 -0.23017749
3 1 3 1.55870831
4 2 1 0.07050839
5 2 2 0.12928774
6
2013 Jan 11
2
[LLVMdev] Make a comparation with IR builder
Hi All,
I'm writing a code generation with my compiler. I read sever example and
documentation but I did understand what I make wrong.
What I try to do is a compare a local variable with a constant.
But when I create a ICMP instruction I get that instruction are not of
same type.
I'm using llvm by svn repository updated at two week ago.
The code that I try to generation is something
2013 Jan 11
2
[LLVMdev] Make a comparation with IR builder
Hi Justin,
my class is a visitor pattern and I use accept method to go recursive in
suboject in my AST.
In locals I store AllocaInst pointer.
void *visit(var1_init_decl_c *symbol) {
llvm::Type *lType;
varNames.clear();
varType = "";
symbol->var1_list->accept(*this); /* get a vector contains variable names */
symbol->spec_init->accept(*this); /* Store in
2009 Oct 22
3
what else is missing in 5.4?
[root at alan centos]# du -sh 5.*
19G 5.3
14G 5.4
--
?Don't eat anything you've ever seen advertised on TV?
- Michael Pollan, author of "In Defense of Food"