search for: datafile

Displaying 20 results from an estimated 519 matches for "datafile".

2010 Jul 31
3
a problem
dear: when I read a Excel file(exp-11),The R project give me a error ,Just like this: ??'datafile' > write.foreign("exp-11.xls") ???list(df = df, datafile = datafile, codefile = codefile) : ??'datafile' > write.foreign("exp-11.xls") ???list(df = df, datafile = datafile, codefile = codefile) : ??'datafile' > write.foreign("exp-11.xls&qu...
2012 Apr 22
4
How to take ID of number > 7.
I figured out something new that I would like to see if I can do this more easy with R then Excel. I have these huge files with data. For example: DataFile.csv ID Name log2 1 Fantasy 5.651 2 New 7.60518 3 Finding 8.9532 4 Looeka -0.248652 5 Vani 0.3548 With like header1: ID, header 2: Name, header 3: log2 Now I need to get the $ID out who have a &log2 value higher then 7. I know ho to grab the $log2 values with 7+ numbers. Log2Higher...
2009 Mar 31
2
To save Trellis Plots on A3 size paper (Portrait and Landscape)
...ician at NSW Department of Commerce, Sydney. I am using R 2.8.1 on Windows XP. I like to save Trellis Plots on A3 size paper (Portrait and Landscape). Currently, I am using the following command to save a Trellis Plot in pdf [This is an example code]: pdf("D:/Analysis/test.pdf") dataFile <- expand.grid(xo= c("x1", "x2", "x3"), xc= c("c1", "c2", "c3", "c4", "c5", "c6"), year= c("2007", "2008", "2009"),...
2006 Feb 22
5
Rsync help needed...
Hello, I was reading your posts about RSYNC. We have a massive Oracle schema lots of datafiles about 750 GB size. We do rsync datafiles from source to target server but everytime we cleanup the datafiles on the target server and do rsync every 2 weeks. On the target side mostly the datafiles will be same but on source we might have added few datafiles or made some changes in data and as suc...
2008 Jul 28
1
loop does not work
...urn. What I want to do is subset my dataframe (extract one station and one day) to calculate and store the maxima that can then be plotted. I have an error message at the end of each loop: Error: unexpected '}' in "}" Here is my code: ********************************************* datafile <- read.csv(file="all_stations_24h_at_rh_0701-0718.csv",head=TRUE,sep=",") #-------------build maxima vector---------------- maxima<-mat.or.vec(132,18) Temp<-mat.or.vec(1,24) regions<-levels(datafile$Region) stations<-levels(factor(datafile$Stn.Id)) days<-leve...
2005 Feb 01
1
Error in load(dataFile, myEnv)
...ven affects my old R1.8 installs. It gives me errors when I load packages that contains "myEnv" settings. such as: RMySQL, DBI, Rggobi, etc. But others that does not require "myENV" is all right, like tcltk that only calls the c functions. The errors are like: Error in load(dataFile, myEnv) : unused argument(s) ( ...) Error in library(DBI) : .First.lib failed for 'DBI' I had a look at the package file that contains .First.lib, fullName <- paste("package", pkgname, sep=":") myEnv <- as.environment(match(fullName, search())) data...
2003 Jun 04
2
rsync for migrating oracle datafiles
Hi - a question for all ye rsync guru's out there... I have a need to migrate some fairly large Oracle datafiles from a UFS filesystem to VxFS (VERITAS), however I am not being allowed nearly enough outage time to perform a standard file copy migration. The datafiles (of which there are about 4 are about 50GB each in size and on separate UFS filesystems. I am considering instigating a local rsync copy betwe...
2005 Aug 29
1
Data corruption
...chines to update an Oracle database from one machine to another. Here is the procedure I used: The source database was up and running so this operation was similar to doing a hot backup. I queried the source database for a list of tablespace names, and for each tablespace, I queried the list of datafiles. I put the tablespace in hot backup mode, which means that no updates are written to the datafiles; they will all go the the redo logs. Then I rsync'ed each datafile in that tablespace then took the tablespace out of hot backup mode. Repeat for next tablespace. Early on in this process, I...
2009 Aug 21
1
trouble with Vista & reading files
...aders, stringsAsFactors = FALSE)[,1] print(paste("dataDir:",dataDir," header:",header," slotCol:",slotCol, " lotCol:",lotCol)) *allFiles <- list.files(path = dataDir)* tmp <- grep("hdr",allFiles,ignore.case = TRUE) dataFiles <- allFiles[-tmp] hdrFiles <- sub("\\.(.*)\\.","\\.hdr\\1\\.",dataFiles) * eTestData <- read.table(paste(dataDir,"/",dataFiles[1],sep=""),header = TRUE, as.is = TRUE) * eTestData[,slotCol] <- as.character(eTestData[,...
2011 Feb 17
0
Fw: RE: Variable length datafile import problem
--- On Thu, 2/17/11, John Kane <jrkrideau at yahoo.ca> wrote: > From: John Kane <jrkrideau at yahoo.ca> > Subject: RE: [R] Variable length datafile import problem > To: "Ingo Reinhold" <ingor at kth.se> > Received: Thursday, February 17, 2011, 5:54 AM > Generally most of the gurus are in > this list.? Hopefully someone will take an interest in > the problem. > > I suspect that there may be some kind of we...
2012 Oct 30
4
help - extract data using column names
hello , I am new user in R . I have datafile (class = data.frame) which has 825 columns with unique column name i want extract 200 selected column from datafile how can I do this? my datafile look like.. Mi RBN RBF nDB nX 3 2.6225979 0.53132756 -0.80599902 -1.4471864 -0.5705269 10 0.4818746 -1.72...
2006 Jan 11
3
SPSS and R ? do they like each other?
... and is there also such a nice tool (like spss.get) for exporting data frames to SPSS? write.table does not keep the data frame labels - neither did the other exporting tools that I found. Thanks! Michael [[alternative HTML version deleted]]
2011 Feb 15
4
Variable length datafile import problem
...178 Some_Taxt 1 3 133 1434 -219 1010 178 Some_Tsxt 1 3 244 1334 -319 1010 178 Some_Tfxt 1 3 153 1234 -419 1010 178 Some_Trxt 1 3 163 1234 -519 1010 178 When I try reading it using: rawData=read.table("Datafile.dat", fill=FALSE, sep="\t", header=FALSE); I get something like Some_Text 1 3 123 1534 -119 1010 178 Some_Taxt 1 3 133 1434 -219 1010 178 1010 Some_Tsxt 1 3 244 1334 -319 1010 178 Some_Tfxt 1 3 153 1234...
2010 Jun 11
4
setting the current working directory to the location of the source file
AFAIK a script run through source() does not have any legit way to learn about it's own location. I need this to make sure that the script will find its datafiles after I move the whole directory. (The datafiles are in the same directory.) Here is a hack I invented to work around it: print(getwd()) source_pathname = get("ofile",envir = parent.frame()) source_dirname = dirname(source_pathname ) setwd(source_dirname) print(getwd()) Question: Is...
2012 May 18
3
Hiera Questions: An array of :datadir: ?
In a posting a few days ago was this hiera.yaml source listing: --------------------------------- :backends: - json :hierarchy: - %{fqdn} - %{lmax_role}_role - %{lmax_env}_server - %{pop}.tradefair - common :json: :datadir: - /etc/puppet/private/ - /etc/puppet/environments/%{environment}/hiera_data_store/ -
2010 Aug 12
2
How to building my own datafile
Hi folks, I'm prepared building my own datafiles, simple file at start, for testing wondering how to process? Which software will be used, MySQL/MS-SQL/MS-Excel/Open Office-Calc etc? On searching I found r-cran-rmysql on Ubuntu repo. Further searching I found; RMySQL: R interface to the MySQL database http://cran.r-project.org/web/package...
2004 Nov 24
4
ORA-01207 after SAN maintenance
...'t shut down cluster manager. The san was disconnected from the server, a tray was added and then the san was reconnected. The server and cluster manager remained up during the maintenance. When we tried to restart the database, we got an ORA-01207, saying the control file was older than the datafiles. Per Oracle support, we recreated the control file and attempted to bring the db up with the new one. At this point we received the following: Errors in file /opt/oracle/product/9.2.0/admin/ENTPRD/udump/entprd2_ora_22596.trc: ORA-00600: internal error code, arguments: [kcoapl_blkchk], [5], [393...
2004 Aug 30
3
Observations
Hi, we have a 2 node / 3 node RAC installation with OCFS. We have the following observations. 1. TIME STAMP Issue We have noticed that the time stamp which is shown on the datafiles doesnt remain the same even after a shutdown normal /shutdown immediate i.e If I shutdown all RAC instances ( A , B , C) using shutdown normal / immediate, the timestamp on the datafiles are not the same. Even If I just bring up one node ( Say A ) and shut it down normally, after doing an Alter...
2006 Jul 13
1
writeForeignSAS and potential extensions
...version as little as possible while making the following changes: * Try to convert data.frame names to SAS-legal names and allow the user to specify an 8- or 32-character limit. * For factors, try to convert the variable name to a SAS-legal 8-character name not ending in a digit * Read in 'datafile' with DSD specified in the INFILE statement. SAS says this "changes how SAS treats delimiters when list input is used and sets the default delimiter to a comma. When you specify DSD, SAS treats two consecutive delimiters as a missing value and removes quotation marks from character value...
2005 Nov 16
1
PPC package-ppc.read.raw.nobatch (PR#8316)
...ze in advance if I have missed something obvious. However, the batch read function does use the sep=?,?. This possible bug doesn't doesn't crash the script and so is difficult to spot. Many thanks Martin ppc.read.raw.nobatch <- function(directory, mz = NULL) { datafiles.list <- ppc.xl.get.names.of.files(directory) ## ## First determine the dimensions of the data matrix ## if (is.null(mz)) { pat1 <- read.table(datafiles.list[1]) ?----- here mz <- pat1[,1] } xtr <- matrix(NA, nrow=length(mz), ncol=length(datafil...