Displaying 3 results from an estimated 3 matches for "bin_main".
2009 Mar 26
2
loading and manipulating 10 data frames-simplified
...I have tried :
Bin <- lapply(1:10, function(.file){
#Loads bin data frame from csv files with acres and TAZ data
fileName
<-paste("I:/Research/Samba/urb_transport_modeling/LUSDR/Workspace/BizLandPrice/data/Bin_lookup_values/Bin",.file,
"_lookup.csv", sep="")
Bin_main <- read.csv(file=fileName,head=FALSE);
#Separates Acres data from main data and converts acres to square feet
Bin_Acres=Bin_main[[1]]*43560
#Separates TAZ data from main data
Bin_TAZ=Bin_main[[2]]
#Separates TAZ data from main data and converts acres to square feet
Bin_TAZvacant=Bin_main[[3]...
2008 Nov 07
1
For Loop - loading 10 sets of data and calculating
I am trying to simplify my code by adding a for loop that will load and
compute a sequence of code 10 time. They way i run it now is that the same
8 lines of code are basically reproduced 10 times. I would like to replace
the numeric value in the code (e.g. Bin1, Bin2....Bin10) each time the loop
goes around. Below i tried doing this with a simple for loop and adding the
string character before
2001 Apr 28
1
restricted shell
...her functionality like 'ls' would also have to be compiled
into the shell.
I am thinking that the easiest way to add scp and sftp is to build them as
libraries which can be linked to the shell. This requires that the code in
main() be moved into another function which can then be called by
bin_main(), which would be used for the binary and called from main(),
and scp_main() and sftp_main which would be called by the shell.
The archive appear to show that this kind of functionality has been desired
for some time.
-Gyepi Sam
--
Write it on your heart that every day is the best day in the ye...