Displaying 20 results from an estimated 1100 matches similar to: "Problem redirecting output stream of wine"
2007 Aug 20
1
system() fails with fc.exe (PR#9868)
Full_Name: Jens Oehlschl?gel
Version: 2.5.1
OS: Windows
Submission from: (NULL) (62.159.183.42)
Even when specifying the full path, the output of fc is not sent to R (neither
shown nor returned). For example
> system('c:\\WINDOWS\\system32\\fc.exe /?',intern=TRUE)
character(0)
When I do the same from python 2.3, I get
>>> import os
>>>
2007 Oct 15
1
The "condition has length > 1" issue for lists
I have the following code:
list1 <- list()
for (i in list.files(pattern="filename1")){
x <- read.table(i)
list1[[i]] <- x
}
list2 <- list()
for (i in list.files(pattern="filename2*")){
x <- read.table(i)
list2[[i]] <- x
}
anslist <- vector('list', length(list1))
for(i in 1:length(list1))
if (list1[[i]] & list2[[i]] >1)
2008 Jul 17
2
Passing array to the email body using ActionMailer
Hi, all
I am new to actionmailer. I am writing a script that sends emails
contains lots of file names.
So the email will look like:
hi,
filename1
filename2
filename3
.
.
.
filenameN
So I want to pass an array containing all the filenames into the email
body.
My code is below:
class Notifier < ActionMailer::Base
def log_report(recipient, files)
from
2003 Sep 18
2
bad hardlinks with rsync
Hi List
I've experienced some problems with rsync. I'm backuping a complete
machine's rootdirectory. After completion I see in the log of the
output, that rsync links some files which are surely *not* the same
on the source System. Or well, it says, that it makes links, using
the filename1 => filename2 notation. On the source System this files
are not the same and some files are
2010 Sep 10
8
convert "1", "10", and "100" to "0001", "0010", "0100" etc.
Hi,
Is there an easy way to convert numbers into a form such
that they all have the same number of digits?
e.g.:
"1", "10", and "100"
...become...
"0001", "0010", "0100" etc.
I ask because I am producing a large number of files that
need to sort consistently by filename. Currently I get this
kind of sorting:
filename1
filename10
2005 Dec 23
6
file_column and HABTM
I have several models that will be using file_column by way of the
"Picture" class (HABTM). Right now, all pictures are stored in:
public/picture/image/1/filename1.jpg
public/picture/image/2/filename2.jpg
Is there a way I can dynamically define the "store_dir" based on the
model? For example, if I have "user", "product" and "place" models all
2017 Apr 09
0
failed to set times on ... Invalid argument (22) and what to do with it
Dear All,
Along with the files that suddenly disappear, we have a bit of a problem
with these that do not.
Namely, in my test runs I can see a small but stable set of files, that
rsync is repeatedly trying to transfer, and then repeatedly fails to
updates their times ; and then the story repeats itself.
The situation is illustrated by the log snippet below, where I have
changed file names to
2009 Dec 10
0
mv renames the wrong file
Hi,
Using Samba 3.4.3 server on Ubuntu 9.10 (compiled myself, since Ubuntu came with Samba 3.4.0).
Sometimes, mv commands don't do what I asked for!
This morning, I was in my Videos share, in the "Movies/Baby Einstein Mozart/" directory.
(I have the share mounted locally in /mnt/samba/Videos, on the same machine where samba server runs on.)
I issued the following command:
mv
2023 Nov 06
1
strange link files
Dear all,
I recently upgraded my clients to 10.4, while I left the servers (distrubuted only) on glusterfs 9.
I'm seeing a strange effect when I do a "mv filename1 filename2":
filename2 is uplicated, one time with zero size and sticky bit set.
In generally, I know that glusterfs creates link files (size zero and sticky bit set) when the new filename is hashed to a different
2020 Jan 03
1
Exclude-from file format?
I have seen two main styles in examples for using rsync with exclude-from.
The first is simply a list of filename, one per line.
The second is a list of filenames, one per line, prefixed with either a - or a + to indicate exclude/include. Which is correct?
Also, none show the correct style with a filname containing spaces, though I assumed quoting is OK
Exclude1.txt:
- filename1
- ?file name
2011 Nov 21
1
Read from HTML file, print if see a specific string
So basically I have made a HTML file with a table in it.
Column 3 contains a GenBank number and is always proceeded by "=GenBank">".
I want to read the file and return the number which comes directly after
this (the contents of column 3).
Ideally I would like to save this number as a string for use later in the
script, but any help is good help. Been at this for HOURS and
2010 Apr 17
3
[LLVMdev] understanding the opt tool
Hello Kalyan,
There is one more thing you should know: Clang has maximum optimization turned on by default. You need to specify -O0 to turn it off if you want to see what opt does without clang running all of the optimizations first.
--Sam
----- Original Message ----
> From: Duncan Sands <baldrick at free.fr>
> To: llvmdev at cs.uiuc.edu
> Sent: Sat, April 17, 2010 2:00:00 AM
2006 Nov 13
2
Embedded carriage returns in text document
Colleagues,
I am using R 2.4.0 on both a Mac (10.4.8) and Linux (RedHat 9). To
read data from an Excel spreadsheet, I do "save as" in Excel, then
select the "Text (tab-delimited)" format. The resulting file uses a
tab separator and I can usually read the file using read.delim.
Sometimes, the header row contains embedded carriage returns. When I
view the file,
2010 Apr 17
0
[LLVMdev] understanding the opt tool
Hi Kalyan,
> opt -strip-dead-prototypes -f <filename.bc> filename2.bc
you have to specify the list of passes to run. -strip-dead-prototypes
only removes unused declarations. If there are none, it will do nothing.
Try:
opt -std-compile-opts -f <filename.bc> filename2.bc
Ciao,
Duncan.
2010 Apr 16
2
[LLVMdev] understanding the opt tool
Hello,
I am trying to understand the opt tool. I wrote a program and created the
.bc file using clang. And I used this .bc file to generate another .bc file
using the opt tool. I dis-assembled this bitcode file and compared the
output with previous unoptimized bitcode file. It was the same. I am not
sure how to check the difference. Can anyone tell me if this is how we check
the optimized output
2002 Sep 11
1
Help with samba control m
New to the Samba world. I am getting a control M at the end of line for =
each file I am transfering to the share from 98/NT machines. Any special
=
things I need to do so this will not happen??????????????
Help Please !!
2004 Apr 20
2
compile Fortran code which calls C subroutine
I used "R CMD SHLIB" to compile the fortran filename.f file and the
filename.so is generated. But since in filename.f it calls
another subroutine written in C, i had problem in "dyn.load" because it
could not find the C subroutine.
I have the .c file but don't know how to tell R about it.
How should I compile when I want to call the fortran function
2006 Feb 10
1
Question on big JPG plots in function warpping format
Hello:
I have problems generating big JPG plots in functions. the following code runs
fine in the script:
#### runs fine in script, generate 40k "test1.jpg" in the given directory
plotPlatesAlong <- c(1:5)
plotDirPath <- paste(dataPath, "OutputPlots\\", sep="")
filename <- paste(plotDirPath,"test1.jpg", sep="")
jpeg(file=filename)
2010 Apr 17
0
[LLVMdev] understanding the opt tool
Thanks duncan and samuel. I guess the optimization about striping dead
prototypes was not working because of "no dead prototypes" to strip. The
-std-compile-opts option works. I can see a change. And @samuel, I tried the
clang's -o0 optimization level compiling, but I could not find any
difference with or without that switch in the bitcode file generated. I used
this command:
clang
2001 Dec 19
1
combine
hello there,
I ` m a newbie in R so please excuse my maybe simple question!
I have several (the number of the files changes) textfiles. Each
textfile contains one column with 3 rows (3 numerical values). I want to
combine each file with another file and create new textfiles which then
contain 2 columns with 3 rows. How can I do this in R? Do I have to
use cbind? How Do I use cbind for my