Displaying 20 results from an estimated 41 matches for "filene".
Did you mean:
fileno
2011 Dec 06
1
Writing out in loops
I would like to write some data to different files. I can create the
filename Day1.txt like this:
filen <- paste("Day", l, ".txt", sep="")
and then I'm using a For loop to write out one row of a matrix,
something like this:
For (j in 1:10)
{
cat(mat[1,j], ",", file=filen, append=TRUE)
}
cat("\n", file=filen, append=TRUE)
but is there
2010 Jul 23
1
sink function
I have the following code to write the output from auto.arima function. The
issue is not in finding the model but to divert its out put
fit to a file order_fit.txt. code runs but nothing is written to
order_fit.txt
where am I going wrong
library(forecast)
for (i in 1:2) {
filen = paste("file",i,".txt",sep="")
data <- read.table(filen)
dat1 <- data[,1]
xt <-
2010 Jul 27
2
[LLVMdev] inline callsites whose function definitions are in different file?
LLVM (2.7 release version) provides 2 implementations for inlining
function callsites:
- InlineSimple.cpp (-inline): inline simple callsites
according to its cost analysis
- InlineAlways.cpp (-always-inline): inline all callsites that are
marked with "always_inline" attribute.
They are both subclasses of Inline.cpp that assumes the function's
definition (body) is
2006 Nov 01
4
splitting very long character string
Hello,
I've a very long character array (>500k characters) that need to split by '\n' resulting in an array of about 60k numbers. The help on strsplit says to use perl=TRUE to get better formance, but still it takes several minutes to split this string.
The massive string is the return value of a call to xmlElementsByTagName from the XML library and looks like this:
...
12345
2008 Mar 11
2
Error opening SHP file (maptools)
I am having difficulty loading a points shapefile (1600 records) I generated from ArcGIS as a PointsSpatialDataFrame using the maptools readShapePoints function.
library(maptools)
surveypts <- readShapePoints(system.file("C:/temp/survey.shp", package="maptools")[1]
Error in getinfo.shape(filen) : Error opening SHP file
I've tried numerous re-exports and renames of the
2004 Feb 06
2
Samba limitation/configuration questions
I hope you can help us. We've created a few Samba shares (v2.x) on an HP-UX
11 server and are mounting the shares from a Windows 2003 server. Generally
it's OK, but we're having a issues and would like to know if they are known
problems, limitations, or errors on our part with the configuration.
1. Files that end in "." (a dot) are producing short-name displays on
Windows
2002 Dec 09
0
Re: R-help digest, Vol 1 #10 - 6 msgs
°_§É§¿§¿
----- Original Message -----
From: <r-help-request at stat.math.ethz.ch>
To: <r-help at stat.math.ethz.ch>
Sent: Sunday, December 08, 2002 7:00 PM
Subject: R-help digest, Vol 1 #10 - 6 msgs
> Send R-help mailing list submissions to
> r-help at stat.math.ethz.ch
>
> To subscribe or unsubscribe via the World Wide Web, visit
>
2000 Oct 16
2
renaming an object
Say I have a file called exp.batch which contains 2 cols
The first col contains names of R objects the user would like to use.
The second col contains the file names which will be read in using
read.table
i.e. exp.batch may look like this.....
name1 complex/filename/path1.txt
name2 complex/filename/path2.txt
name3 complex/filename/path3.txt
name4 complex/filename/path4.txt
I want to have a
2006 Apr 11
1
problems with assign
Hello.
I have n files in a directory: file1, ..., filen.
I read them with the following commands:
list=scan(file="list",what=list(nom=""))
# in the file list, I have all the filenames.
n=length(list[[1]])
for (i in 1:n){
aux <- paste("p",i,sep="")
assign(aux, as.matrix(read.table(list[[1]][i])))
}
R creates the matrices p1,p2,...,pn.
I want
2006 Sep 08
1
JGR on SUSE 10.1 AMD 64
Dear list;
I have R Version 2.3.1 (2006-06-01) installed on a AMD 64 machine with SUSE
10.1.
I have Sun Java version 1.5.0-sun installed.
I have used "install.packages("JGR", dep=TRUE) to install rJava, iplots and
JGR. I would like to do a presentation of linux and R for the department!
Compiling rJava do not give any error messages!
But when trying to load
2008 Jan 27
2
maptools no such file
Hello,
I'm having problems reading a shapefile with read.shape (maptools). I'm absolutely sure my file is there, but I get "no such file". The wd is ok, since read.table for example does find the file.
> getwd()
[1] "D:/somedirectory/R scripts"
> read.table("cities.shp")
Error in read.table("cities.shp") : empty beginning of file
In addition:
2003 Feb 05
2
prog to join ogg vorbis files
could someone recommend me an application that is able to join ogg
vorbis files into one? i searched the net in vain so far.
thanks indeed,
figyu
--- >8 ----
List archives: http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'vorbis-request@xiph.org'
containing only the word 'unsubscribe' in the body.
2012 Nov 28
2
data frame: adding columns from data and file title
Data processing?
I have a large number of csv files from animal tracks that look like this:
Date_ Time_ Speed
Course Type_ Distance
30/03/2012 11:15:05 108
121 -2
2010 Jul 27
0
[LLVMdev] inline callsites whose function definitions are in different file?
On Tue, Jul 27, 2010 at 7:46 AM, Chuck Zhao <czhao at eecg.toronto.edu> wrote:
> LLVM (2.7 release version) provides 2 implementations for inlining
> function callsites:
>
> - InlineSimple.cpp (-inline): inline simple callsites
> according to its cost analysis
> - InlineAlways.cpp (-always-inline): inline all callsites that are
> marked with
2009 May 15
2
transposing/rotating XY in a 3D array
Dear list,
We have a number of files containing similarly structured data:
file1:
A B C
1 2 3
4 5 6
file2:
A B C
7 8 9
10 11 12
... etc
My part of R receives all these data as an array: 1,2,3... 12 together
with info about dimensions (row,col,fileN) . (
Converting the data into 3D cannot simply done by:
array(x, c(2,3,2))
because breaks the structure (e.g. 1,3,5 is type mismatch)
2005 Feb 17
2
[LLVMdev] LLVM CFE bootstrap problem at FreeBSD after last $(Install) changes in Makefile.rules
Command from LLVM CFE bootstrap sequence at FreeBSD:
gmake -C runtime install-bytecode
terminated with error (verbose mode):
--8X-------------------------------------------------------
llvm[2]: Installing Debug Bytecode Archive
/usr/home/wanderer/pkg/build/llvm/night/cfe/bin/../lib/libcrtend.a
/usr/bin/install -c -D
/usr/home/wanderer/pkg/build/llvm/obj/Debug/lib/libcrtend.bca
2009 Apr 28
1
[macosx] improving quartz & Aqua Tk behaviour outside of RGui
Hello,
On Mac OS X, certain Aqua/Quartz UI functionality requires an
application to be launched from within an app bundle, or
(alternatively) requires a Carbon application with a resource fork.
Playing with the wxWidgets distribution, I discovered that it is quite
easy and transparent to make such a Carbon app from (I guess) any
command line application. When applied to the R executable called
2009 Apr 28
1
[macosx] improving quartz & Aqua Tk behaviour outside of RGui
Hello,
On Mac OS X, certain Aqua/Quartz UI functionality requires an
application to be launched from within an app bundle, or
(alternatively) requires a Carbon application with a resource fork.
Playing with the wxWidgets distribution, I discovered that it is quite
easy and transparent to make such a Carbon app from (I guess) any
command line application. When applied to the R executable called
2011 Jun 25
1
Regression: sockets for 3.0.9pre1 ?
Hi.
rsync 3.0.8
FreeBSD RELENG_4 i386.
rsync -Haxi --delete /.../ /.../
The first pathspec above (residing on zz, a full filesystem) is:
/vvvv/wwww/xxxx/zz/
The second pathspec above (residing on yyy, an empty filesystem) is:
/vvvv/wwww/xxxx/yyy/zz/
It's obviously a 'copy everything over' operation.
I've had to obfuscate the pathnames, however the exact pathlength
throughout
2007 Sep 17
1
map issues
Hi !
I have a shapefile that I can easily read into R using library(maptools). My problem stems from some warning messages that come even though everything seems to work fine.
library(maptools)
districts <- read.shape(filen = "a_ds", dbf.data = TRUE)
length(districts$Shapes)
so far so good. when I try and plot this I get a nice plot and a warning message:
> plot(districts)