similar to: problem with read.table

Displaying 20 results from an estimated 1000 matches similar to: "problem with read.table"

2013 Nov 26
4
how to deal with xml files within Puppet ?
hi there, I have to create a new server.xml which should be build from at least 3 or 4 another xml files. How could to copy and paste with puppet methods ? On a command line under Unix I would do cat 1.xml > my_file.xml ; cat 2.xml >> my_file.xml; cat 3.xml >> my_file.xml. I have to say, I''m pretty new to puppet and simply have no clue how to tackle this task ;=(
2004 Jul 13
1
Synatx Error on start with R --no-save < myfile.R
Dear all! I wrote my R-code with an editor and loaded it with source("my_file.R"). Everything works fine as expected. When I try to start my code with: R --no-save < my_file.R I do get a synatx error half way through. The version is 1.9.0 on a Linux system. To start it with R --no-save < my_file.R works on some machines but on some it doesn't. Are there any rules
2011 Aug 17
9
too many var in lm
Hello, It might be an easy question but if you have many variables to fit in the lm function, how do you take all without specifying var1+var2+...+var2100 in the terms parameter in response ~ terms? Cheers, Carol
2015 Aug 25
5
sed question
I am trying to use sed to change a value in a pipe. ------------------- This is the two line script CHANGE="1234" cat my_file.txt | sed 's/CANCELID/$CHANGE/' > cancel.txt ------------------- and the my_file.txt has: <v1:notificationId>CANCELID</v1:notificationId> it gets changed to $CHANGE instead of the actual value 1234 . I tried putting a \ in front
2012 Jul 20
3
function for inverse normal transformation
Hi, What is the function for inverse normal transformation? Thanks, Carol [[alternative HTML version deleted]]
2011 May 24
2
escape characters in shell commands
On a Windows platform I am trying to count the number of lines in a file. In a DOS window, the following works: C:\Users\jar>findstr /R /N "^" D:\my_dir\my_file | find /C ":" 5317 (it works with double \\ also) But in R, I need to make this string up with the file name I get from file.choose(): filename = file.choose() #get the number of lines in the file # first make a
2009 Nov 21
4
title problem
Hi, I got problem in using title function to create a title for multiple plots presented together by par. As can be seen in the attached file, the title is displayed truncated and the subtitle doesn't get displayed. Here is the code: par(mfrow = c(1,2)) plot(c(1,2,3), c(9,8,7)) plot(c(1,2,3), c(9,8,7)) title(main = "Main title", sub ="Sub title",outer = TRUE,
2009 Nov 21
2
Fw: Re: title problem
It seems that there is a problem in displaying subtitle in general, independently from multi-plot display. when I do plot (c(1,2,3), c(9,8,7), type = "l") title(main = "Main title", sub ="Sub title",cex.main=2, cex.sub = 2) subtitle doesn't get displayed > --- On Sat, 11/21/09, David Winsemius <dwinsemius at comcast.net> > wrote: >
2009 Oct 09
2
plot the same types of graphics on the same R graphic device
Hi, How to plot the same types of graphics on the same R graphic device? Suppose that we want to plot a vector y against x (using plot for instance). How is it possible to plot y against x for different values of these two vectors on the same device so that the plots could be compared? Cheers, Carol [[alternative HTML version deleted]]
2004 Jun 18
2
Barplots and error indicators: Some R-Code
I' ve seen that several people are looking for a function that creates a barplot with an error indicators (I was one of them myself). Maybe you will find the following code helpful (There are some examples how to use it at the end): # Creates a barplot. #bar.plot() needs a datavector for the height of bars and a error #indicator for the interval #many of the usual R parameters can be set:
2010 Jul 05
2
repeated measures with missing data
Dear R help group, I am teaching myself linear mixed models with missing data since I would like to analyze a stats design with these kind of models. The textbook example is for the procedure "proc MIXED" in SAS, but I would like to know if there is an equivalent in R. This example only includes two time-measurements across subjects (a t-test "with missing values"), but I
2011 Jan 12
2
Access R Help Content From R
Have UI that simplifies running code from another (internal) package, allowing user to set values on fields I basically grabbed from results of calls to formals() for various functions. That works fine for the most part. But it was requested to investigate some type of popup help or something for each field. Since I already wrote the information in the dot-Rd files for what should be displayed,
2013 Feb 04
1
Problem loading hdf5 file
*Hi everyone, I am a new subscriber, so I hope I'm posting in the right way. I need to load a hdf5 file, so I installed the hdf5 libraries ad the hdf5 R package; in downloaded a small sample file from the hdf5 website and I could correctly load it. But when I try to load my file: * require(hdf5) rm(list=ls()) ls() hdf5load("my_file.h5", verbosity=3) *I get this error message: *
2013 Feb 08
2
Problem reading dates from Excel
I'm using the read.xls function from gdata package to read one Excel file, like the example below: library(gdata) my_file <- '/Users/Desktop/Project.xlsx' valores <- read.xls(my_file) The problem is: one of the columns at the Excel file holds date information like 1-Jan-13, 5-Jan-13, 25-Jan-13. At Excel these information are treated as dates. When I read the file into a
2012 Mar 09
4
sort dates
Hello, How is it possible to sort dates in R? Cheers, Carol
2012 Feb 15
2
Error in rep.int(boxwex, n) : negative length vectors are not allowed
Dear All, I tried to invoke plot for a matrix of?196475 x2 dimension. I loaded the data with read.table. On one dimension, there are strings (names) and on the other dimension, the floats between 0 and 1. When I invoked plot by setting x to names and y to floats and ylim = c(0,1), I got the following error message: Error in rep.int(boxwex, n) : negative length vectors are not allowed Does it
2009 Nov 02
7
qqplot
Hi, We could use qqplot to see how two distributions are different from each other. To show better how they are different (departs from the straight line), how is it possible to plot the straight line that goes through them? I am looking for some thing like qqline for qqnorm. I thought of abline but how to determine the slope and intercept? Best wishes, Carol
2012 Nov 06
1
how Can make function for selecting the products
HI. I make this code: getdata<-function('a','b','c' ,'d','e','f'){ drv <- dbDriver("SQLite") con<-dbConnect(drv, "sqlite.db") lt<-dbListTables(con) myf<-data.frame(NULL) for (i in 1:length(lt)) { myfile<-dbReadTable(con,lt[i]) myfile1<-myfile[-c(14:44)] myfile1$MODEL<-gsub(" ",
2011 Jun 25
3
How to export to pdf in landscape orientation?
Does anybody know how to get a pdf file with landscape orientation?. pdf(file= 'my_file.pdf' ,onefile=T,paper='A4') plot(sin, -pi, 2*pi) dev.off() Thank's in advance Juan A. Hernandez Spain [[alternative HTML version deleted]]
2006 Aug 30
1
Xen on AM2 nForce 590 (Asus M2N32-SLI Deluxe)
While I wait for the Xen 3.0 Test CD to download, has anyone has luck using an Asus M2N32-SLI Deluxe motherboard (NVIDIA nForce 590 SLI MCP chipset)? The CPU is an AMD Athlon64 X2 3800+ AM2 w/ 2GB DDR2 533. The motherboard mostly works under Gentoo using kernel 2.6.18 with the "noapic" kernel boot option in my grub.conf file. The only major issue with the Gentoo kernel