Displaying 20 results from an estimated 30 matches for "thefile".
Did you mean:
thefiles
2012 Mar 09
0
Re: WINE fails in directories with Question Marks in name
...set origRecordingID to recordingID
set recordingID to recording id (recordingID as integer)
set originalTitle to title of recordingID
set originalEpisode to episode of recordingID
set title of recordingID to unique ID of recordingID
set episode of recordingID to ""
set theFile to (path to temporary items from user domain as string) & origRecordingID & "- Title"
open for access file theFile with write permission
write (originalTitle) to file theFile
close access file theFile
set theFile to (path to temporary items from user domain as string) &...
2012 Aug 13
1
Fine Tuning Country Map
...jects get a prefix (like "ARG_" for Argentina)
changeGADMPrefix <- function (GADM, prefix) {
GADM <- spChFIDs(GADM, paste(prefix, row.names(GADM), sep = "_"))
GADM
}
## load file and change prefix
loadChangePrefix <- function (fileName, level = 0, ...) {
theFile <- loadGADM(fileName, level)
theFile <- changeGADMPrefix(theFile, fileName)
theFile
}
## this function creates a SpatialPolygonsDataFrame that contains all maps
you specify in "fileNames".
## E.g.:
## spdf <- getCountries(c("ARG","BOL","CHL&q...
2005 Jul 27
1
Transfering very large files / and restarting failures
...n my network/systems. Specifically, these files are
in the order of 10-100GB. Needless to say, I would like to be able
to restart a transfer if it only partially succeeded, but NOT repeat
the work already done.
Currently, I am initiating the transfer with this command:
rsync --partial --progress theFile /path/to/dest
where both theFile and /path/to/dest are local drives. In the future
/path/to/dest will be an NFS mount.
This succeeds in writing theFile to the destination as bytes flow.
I.e. I get a partial file there, until the full transfer is successful.
Now, say something failed. I want to r...
2005 Jul 27
0
Transfering very large files / and restarting failures (again)
Woops! In my last email, I meant to say the second command
was:
rsync --no-whole-file --progress theFile /path/to/dest
Todd
Hi,
My situation is that I would like to use rsync to copy very large files
within my network/systems. Specifically, these files are
in the order of 10-100GB. Needless to say, I would like to be able
to restart a transfer if it only partially succeeded, but NOT repeat
the w...
2013 Nov 27
0
GADM Data Download
...jects get a prefix (like "ARG_" for Argentina)
changeGADMPrefix <- function (GADM, prefix) {
GADM <- spChFIDs(GADM, paste(prefix, row.names(GADM), sep = "_"))
GADM
}
## load file and change prefix
loadChangePrefix <- function (fileName, level = 0, ...) {
theFile <- loadGADM(fileName, level)
theFile <- changeGADMPrefix(theFile, fileName)
theFile
}
## this function creates a SpatialPolygonsDataFrame that contains all maps
you specify in "fileNames".
## E.g.:
## spdf <- getCountries(c("ARG","BOL","CHL&q...
2003 Jan 28
1
Plot to postscript in function
...2002
month 04
day 29
language R
the function is
BbEh.graphs2eps <- function(the.data){
#function to plot all sort of information to
#a single eps file for storage and future printing or display
#does not work because of laz evaluation?
filename <- deparse(substitute(the.data))
thefile <- paste(c("../ed/",filename,"/",filename,".eps"),collapse = "")
postscript(file= thefile, paper = "letter")
lset(my.lts)
#plot cohort variables
BbEh.xyplot.dbh(the.data) #these are custom lattice plotting functions
BbEh.xyplot.h(the.data)
BbEh....
2010 Oct 18
0
wishlist: system.file(..., mustExist = TRUE)
..."
[9] "Built: R 2.12.0; ; 2010-10-18 15:08:12 UTC; unix"
but if you misspell DESCRIPTION you get
> scan(what="", sep="\n", system.file("DESCRITION"))
1:
and the user has to know how to get out of that scan() prompt.
I can write the example as
theFile <- system.file("DESCRIPTION")
if (!identical(theFile, ""))
scan(what="", sep="\n", theFile)
else
stop("Cannot find file \"DESCRIPTION\" in package \"base\"")
but that would be pretty ugly in a help file.
What...
2003 May 07
2
vmail.cgi cannot read/delete messages
vmail.cgi rocks (if I can borrow the expression for Mark Street). As Mark
pointed out, the /vm/INBOX messages are created with 0700 security and
vmail.cgi is not happy. Apache/cgi/vmail.cgi cannot play them unless I fool
around with the Apache wrapper or chmod 755 *.* thefiles myself. (Tedious,
that is why I like computers).
Obviously this is not acceptable. I took a trip to the apps/app_voicemail.c
country club and found that I can modify it to force the issue by altering
the directory and files as it "happens" when recording takes place.
What is everybody...
2002 Jan 09
1
value labels from read.spss()?
...variables using read.spss() (foreign package),
>but have to power up SPSS to check value labels.
>
>Stuart
There may be a solution to this in R, and I would love to hear
it, but I was just faced with exactly this problem and I solved
it with the Unix "strings" command:
strings thefile.sav > thefile.txt
for example. Jon Baron
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body",...
2006 Mar 01
1
postscript bounding box in trellis/lattice plot is wrong ?
...-----------------------------------
library(lattice)
plt_hi[[1]] <- xyplot(thedat[,ir] ~ thedat[,ic],
aspect=1/1)
...
plt_hi[[2]] <- xyplot(thedat[,ir] ~ thedat[,ic],
aspect=1/1)
...
plt_hi[[2]] <- xyplot(thedat[,ir] ~ thedat[,ic],
aspect=1/1)
trellis.device(postscript, file=thefile, color=F)
print(plt_hi[[1]], split=c(1,1,3,1), more=T)
print(plt_hi[[2]], split=c(2,1,3,1), more=T)
print(plt_hi[[3]], split=c(3,1,3,1), more=F)
dev.off()
2010 Jan 15
2
processing all files with certain extension in a directory
Hi all,
I'm trying to process all files with a certain extension "*.ext" in a
directory like this:
> R --slave --args /my/dir < dir_plot.r
where I then I want to do something like:
myarg <- commandArgs()
inputdir <- myarg[length(myarg)]
print(inputdir)
"for file with extension "*.ext in inputdir"
do
data = process.data(file)
outfile =
2006 Mar 15
1
How to get correct proportions/bounding box for latex figure?
...r] ~ thedat[,ic],
aspect=1/1)
...
plt_hi[[2]] <- xyplot(thedat[,ir] ~ thedat[,ic],
aspect=1/1)
...
plt_hi[[2]] <- xyplot(thedat[,ir] ~ thedat[,ic],
aspect=1/1)
# optionally add horizontal=FALSE, paper="special",
etc. here
trellis.device(postscript, file=thefile, color=F)
print(plt_hi[[1]], split=c(1,1,3,1), more=T)
print(plt_hi[[2]], split=c(2,1,3,1), more=T)
print(plt_hi[[3]], split=c(3,1,3,1), more=F)
dev.off()
2011 Jan 13
2
send_file works on Rails2,SSL - except for IE7/6
...through Live HTTP Headers, supposedly with
Expire=-1 ---
HTTP/1.1 200 OK
Date: Thu, 13 Jan 2011 21:59:00 GMT
Server: Apache/2.2.3 (Red Hat)
X-Powered-By: Phusion Passenger (mod_rails/mod_rack) 3.0.1
X-Runtime: 4
Content-Transfer-Encoding: binary
Content-Disposition: attachment; filename="thefile.pdf"
Status: 200
Content-Type: application/pdf
Set-Cookie: ...
Vary: Accept-Encoding
Last-Modified: Wed, 12 Jan 2011 22:03:46 GMT
Content-Length: 3962465
Connection: close
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google...
2018 Apr 23
0
Reconstructing files from shards
...ntify the shards by the GFID
# getfattr -d -m. -e hex/path_to_file/
# ls /bricks/*/.shard -lh | grep /GFID
Is there a gluster tool/script that will recreate the file?
or can you just sort them sort them properly and then simply cat/copy+
them back together?
cat shardGFID.1 .. shardGFID.X > thefile "
/
The response from RedHat was:
"Yes, this should work, but you would need to include the base file (the
0th shard, if you will) first in the list of files that you're stitching
up.? In the happy case, you can test it by comparing the md5sum of the
file from the mount to that o...
2014 Apr 01
3
trouble installing Math::BigInt module
I had to move a perl script from an old server to a new one. Both the
old and new servers are running "CentOS release 5.10 (Final)" and perl
v5.8.8. (But the problem I'm running into appears to be a package
management problem and not a Perl problem which is why I'm posting it to
a CentOS list.)
The line of code in the script that attempts to open a Net::SFTP
connection,
2024 Sep 07
4
Reading a txt file from internet
Hi,
I am trying to the data from
https://online.stat.psu.edu/onlinecourses/sites/stat501/files/ch15/employee.txt
without any success. Below is the error I am getting:
> read.delim('https://online.stat.psu.edu/onlinecourses/sites/stat501/files/ch15/employee.txt')
Error in make.names(col.names, unique = TRUE) :
invalid multibyte string at '<ff><fe>t'
In
2006 Apr 28
0
Extracting Email Attachment Content
If an email incoming to Actionmailer has an .htm attachment, how is it
possible to extract the file''s text (the html text in the file) to
insert into the database?
I''ve tried reading the attachment like so, theFile =
File.open(attachment.read, "r"), to no avail. But that fails stating
that there is no such file or directory (but the attachment is there for
certain).
Any suggestions would be terribly appreciated.
Nathan Mealey
Operations Director
Northeast Region
Pilgrim IT, LLC
NORT...
2003 Nov 23
1
smbprint
While trying to configure my *nix box to print to windows, I discovered
my samba build does not have the smbprint utility. I saw no option in
the configure/make script to build with the smprint utility.
Is there an option that will build this tool?
Thanks!
Joe Cipale
--
#----------------------------------------------------------#
# "Don't fear the penguin!"
2009 May 11
7
Upload file with url parameter
I want to upload file using get method.
for example, "http://www.mydomain.com/upload?file=c:\test.exe" upload
my local file to the remote server.
I found one useful link about file uploading here(http://
www.tutorialspoint.com/ruby-on-rails/rails-file-uploading.htm).
Even I''ve changed some code in order to fit my rails version, it
worked well. But the problem is I have use
2006 Feb 25
8
linking a .swf file in a rails document
Hi,
I have a little .swf movie I''d like to have in my page. Is there a
rails way of linking it?
Thanks,
Peter