Displaying 20 results from an estimated 50000 matches similar to: "Sink for a subdirectory"
2020 Aug 06
2
How to make a subdirectory in a lit test?
Yeah, the llvm-ar tests are working on Windows. But I'm getting different
results when I try to use the same commands in an LLDB lit test. Maybe
there's something messed up in LLDB's local lit config?
If I have `mkdir %t/subdir` in my lit test, I get either file-not-found or
a complaint about "unrecognized option /subdir."
The one-and-only mkdir on my PATH is
2020 Aug 06
2
How to make a subdirectory in a lit test?
I'm writing a lit test that needs to temporarily make a subdirectory.
I tried:
```
// RUN: mkdir %t/subdir
```
But on Windows, it's hard to bypass the built-in mkdir to use a Posix-style
one from Git or GnuWin. The built-in mkdir believes the `/subdir` is an
unrecognized command flag. I figure I cannot just use a backslash because
that would fail on Posix systems. (The test should
2009 Nov 25
2
Deletion of directory symlink via Samba deletes files in original subdirectory on Unix
Hello --
We have a Solaris 10 ZFS server running Samba with "follow
symlinks=yes" set. We're noticing that if you delete (via Samba) a
file that is a symbolic link pointing to a subdirectory somewhere,
with files in that subdir, it will not only delete the symbolic link
file, but also delete the files in the target subdirectory. On Unix,
if you delete a symbolic link, it will
2003 Mar 14
1
AW: subdirectory of home
Yo!
> -----Urspr?ngliche Nachricht-----
> Von: Mar?a Isabel L?pez S?nchez-Huete [mailto:marisa@ugr.es]
> Gesendet: Freitag, 14. M?rz 2003 10:00
> An: samba
> Betreff: Re: [Samba] subdirectory of home
>
>
> Thank you for your rapid answer, Tiago, but I suppose I don't well
> explain my doubt.
>
> What I want is to share a subdirectory of home instead the
2006 Sep 24
1
package that has a subdirectory in src
How does one tell R to compile code contained in subdirs of the /src
directory?
I have a few files that I'd like to keep together as one unit.
The cheesy way that I can think of is to put slinks in the src directory
to the files contained in the subdir, but that's not really the solution
I'm looking for.
I was hoping to avoid adding a configure.in file to the project.
By way of
2003 Mar 13
2
subdirectory of home
Hi.
Sorry: my level of english is not enough good. I hope you understand
what I mean.
My question is: it's possible to share a subdirectory (and only one
subdirectory for every user) in the section [homes]?
The version of samba which i'm working is 2.2.7a, over Solaris 8.
Thanks in advance.
--
2012 Nov 09
2
sink() doesn't work
Oftentimes I want to make outputs to be displayed on the R console.
However, after I execute a program with a sink command in it the R console
becomes unresponsive. Meaning that the following occurs in R console:
> source("Program_containing_sink.R")
> a<-1
> a
>
>sink()
>a
>
R help says that sink() will bring output back to the console but i's not
2008 Aug 10
1
R function, sink() and empty file
Dear all,
I wrote a simple script in order to put together some functions and method
to be executed on various files
I am trying to have to possibility to call the script changing few
parameters in order to use the different files.
I succeeded partly using the function method.
However in my script I call the sink() function in order to output the
results to a .txt file. When using the function the
2004 Mar 25
1
Error : sink stack is full
Hello,
I have implemented a method which uses sink to follow the progression status
of an iterative process (Below is part of the code)
I have already used such kind of code with no problem. Today, I get a "sink
stack is full" error.
I wonder if it could be linked with the fact that my .RData has a large size
(around 7 Mo) ???
I hope that someone can help me ...
Thanks in advance
2001 Jan 02
1
sink() does not seem to release the file
I run Win2000, and when I try to write to a file and later use it
it seems that R 1.02.0 has a firm grip on it:
> version
_
platform i386-pc-mingw32
arch x86
os Win32
system x86, Win32
status
major 1
minor 2.0
year 2000
month 12
day 15
2000 Dec 19
2
Problem with sink() in 1.20 on Windows (PR#779)
When I use sink(filename) to save the results of the run, the file
does not seem to be closed or released back to the OS after I issue
the "sink()" command. Here is a baby example:
sink("test.txt")
tdta <- data.frame(x = x <- 0:10,y = 2 * x + rnorm(11))
print(summary(lm(y ~ x, data=tdta)))
sink()
At this point (even after refreshing the Explorer window) the filesize
2014 Dec 10
1
Renaming directories with subdirectories over IMAP
Hi,
I?ve a problem with renaming directories with subdirectories.
In root directory I create directory named ?lvl1? with subdirectory ?lvl2?
When I rename directory lvl1 to lvl1-new I get:
1. /lvl1-new with subdir lvl2 but I can use only /lvl1-new and not
/lvl1-new/lvl2
2. /lvl1 with subdir lvl2 but I can use only /lvl1/lvl2 and not /lvl1
Is it a feature or a bug?
If bug is there a fix?
PS:
2016 Oct 14
1
guestmount issue with change directory (cd)
Hello,
I've got a strange behavior with guestmount: I've a root directory with
mod/owner = drwx------ root root. I cannot change directory to it as a
regular user (as normal), but I can list its content (not normally
normal) and I can change directory to a subdirectory in it which is mod
drwxr-xr-x.
E.g:
$ mkdir /tmp/mnt
$ guestmount --ro -i -a test.qcow2 /tmp/mnt/
$ cd /tmp/mnt
$ ls -ld
2007 Apr 19
2
Path confusion
Dear wine gurus,
I'm trying to run a program installed like this:
/usr/local/program/program.exe
which also contains a subdirectory:
/usr/local/program/subdir/
with some files. When typing:
$ wine /usr/local/program/program.exe
I get an error mesage like:
"File \subdir\some_file not found!"
The problem can be solved by putting
the subdir to the root directory of the
computer
2007 Aug 07
1
sink behavior
There is a package called 'safe' that produces an object which I can
only write to a file using the sink() function. It works fine if the
sink() command is not inside of a function, but it does not write
anything to the file if the command is within a function.
Sample code:
# Using a matrix because as a simple example.
dumpMatrix = function(mat) {
sink(file = "mat.txt")
2003 May 06
3
Loops and memory
Hi, this question is meant to be a bit vague, since I'm really not
familiar with all the issues involved. It's also a problem that I
think many would have encountered and would have useful suggestions.
According to MASS, 2nd ed., p. 158, "A major issue is that S is
designed to be able to back out from uncompleted calculations, so
that memory used in intermediate calculations is
2015 Dec 16
2
Bug#805508: [PATCH] tools: allow configure time choice of libexec subdirectory.
Currently we hardcode various paths such as $libexec/xen/{bin,boot},
however some downstreams (notably Debian) would like instead to
install things into $libexec/xen-X.Y/{bin,boot} as part of allowing
multiple versions of the tools packages to be installed.
Since this currently involves patching configure its a bit fiddly,
provide a configure option for the leaf dir instead, name it
2010 Jul 16
3
Help with Sink Function
iterations <- 100
nvars <- 4
combined <- rbind(scaleMiceTrain, scaleMiceTest)
reducedSample <- combined
reducedSample <- subset(reducedSample, select = -pID50)
reducedSample <- subset(reducedSample, select = -id)
for (i in 1:iterations)
{
miceSample <- sample(combined[,-c(1,2)],nvars, replace=FALSE)
miceSample$pID50 <- combined$pID50
miceTestSample <-
2008 Oct 13
4
Add notes to sink output
Hello,
How can I add notes (i.e. text) to a sink output?
sink("test.txt")
#This text will describe the test
summary(x)
sink()
How can I add that text above to the sink output?
Thanks,
Michael
[[alternative HTML version deleted]]
2007 Jul 05
2
sink() and source()
hello,
I have a problem running a R script actually I'm using source() and sink() and it doesn't work
source("T:/agents/melyakhlifi/R/essai_rep.r")
to execute a file and the file contain
sink("T:/agents/melyakhlifi/R/sortie.html")
cat("<html><body><pre>\n")
matrix.merge2
cat("</pre></body></html>\n")
sink()
I