Displaying 20 results from an estimated 10000 matches similar to: "Question about Unix file paths"
2003 Nov 26
0
Question about Unix file paths (and proposal for new regexp class)
> Date: Wed, 26 Nov 2003 13:52:44 +0100
> From: Martin Maechler <maechler@stat.math.ethz.ch>
> To: <Kurt.Hornik@wu-wien.ac.at>
> Cc: <r-devel@stat.math.ethz.ch>
> Subject: Re: [Rd] Question about Unix file paths
>
>
>
> >>>>> " Kurt" == Kurt Hornik <Kurt.Hornik@wu-wien.ac.at>
> >>>>> on Wed, 26
2004 Jan 29
10
Doubt about pattern
Hi All,
I have a very simple problem. I have several files in a same directory. I would like to send for an object only the files that finish in ".sens.". I execute the command below,
files <- dir(pattern="*.sens")
but it includes all of the files that have "sens", independent of they be in the end or in the middle of the name of the file. How could I solve
2008 Jul 21
2
sftp needs a long time for sending a filelist
Hello all
Im using sftp 1:4.7p1-8ubuntu1.2
in a batchjob
Ive noticed that sftp needs a long time for sending a filelist.
The timespan increases exponential if many files are on the
remoteserver.
for example "ls -la *.txt" needs 10 seconds for 2000 files
but needs 50 seconds for 4000 files.
For 150.000 Files i have to wait 15 minutes for example
but the
2016 Feb 04
2
[PATCH v2 1/2] daemon: glob: add optarg to control trailing slash for dirs
Add a new optional bool "directoryslash" to indicate whether the caller
wants trailing slashes in names of directories, defaulting to true (the
current behaviour); this helps with interoperability with other tools
(such as rm).
Related to RHBZ#1293271.
---
daemon/glob.c | 11 +++++++++--
generator/actions.ml | 21 ++++++++++++++++-----
gobject/Makefile.inc | 2 ++
po/POTFILES
2017 Sep 28
2
Call for testing: OpenSSH 7.6
On Wed, 27 Sep 2017, Martin Hecht wrote:
> all tests passed on
>
> Ubuntu 16.04.3 LTS and
> Scientific Linux release 6.9 (Carbon)
>
> On SUSE Linux Enterprise Server 11 SP3 LTSS I had to provide a local
> installation of a newer openssl. I have chosen their current LTS version
> 1.0.2l with shared library support enabled, and I had to tweak with
> CFLAGS and LDFLAGS
2002 Feb 14
1
HP/UX 11 bug
glob(3) on HP/UX 11 always strips a trailing slash from a pathname. This
breaks the differing semantics of
rsync directory host:/foo/bar
rsync directory host:/foo/bar/
Here's a patch which, at least, doesn't seem to do any harm on Solaris
or Linux and fixes the problem on HP.
Cheers,
Mark
--- util.c.OLD Tue Jan 29 15:25:08 2002
+++ util.c Tue Jan 29 15:30:03 2002
@@ -542,6 +542,7 @@
2016 Feb 03
2
[PATCH 1/2] daemon: glob: do not return directories with trailing slash
Do not pass GLOB_MARK as flag for glob(3) in the daemon implementation
of glob, so names of directories will not have a trailing slash.
This allows users to have filenames that can be used with other tools,
such as rm. Add a new test to check this (based on RHBZ#1293271).
A mild behaviour change is that users of the glob API now need to append
the slash when building paths using its results.
2003 Oct 22
6
Something strange in cor.test in R-1.8.0 (PR#4718)
Full_Name: Ian Wilson
Version: R-1.8.0
OS: Windows (but own compilation)
Submission from: (NULL) (139.133.7.38)
the p-value is incorrect for cor.test using method "spearman" in R-1.8.0. This
was not the case in R-1.7.1.
Version R-1.8.0 on Windows
> cor.test(rnorm(50),rnorm(50),method="spearman")
Spearman's rank correlation rho
data: rnorm(50) and rnorm(50)
S
2016 Feb 03
6
[PATCH 1/3] sysprep, get-kernel: explicit the Guestfs parameter
Help the OCaml compiler by expliciting Guestfs.guestfs as type for 'g'
in some functions.
---
get-kernel/get_kernel.ml | 2 +-
sysprep/sysprep_operation_abrt_data.ml | 2 +-
sysprep/sysprep_operation_bash_history.ml | 2 +-
sysprep/sysprep_operation_ca_certificates.ml | 2 +-
sysprep/sysprep_operation_crash_data.ml
2019 May 10
2
R 3.6.0 for Debian buster
>>>>> Dirk Eddelbuettel writes:
> On 10 May 2019 at 10:52, Johannes Ranke wrote:
> | Thanks, that sounds good. But I need some help as I do not know much about
> | autoconf and Debian packaging: Is it enough to patch configure.ac (r76467) or
> | do we need to update configure as well (r76468)?
> Again, that would happen in the sources you pick up from me, and per
2012 Aug 17
8
Get the filename from the given path
Hi,
Here i have a file path,
for eg : -
FPath <- "D:\\MyFolder\\MyFile.txt"
HOW IS POSSIBLE TO GET THE FILE NAME FROM THIS GIVEN PATH ?
- thanks in advance
Antony.
--
View this message in context: http://r.789695.n4.nabble.com/Get-the-filename-from-the-given-path-tp4640578.html
Sent from the R help mailing list archive at Nabble.com.
2017 Jun 03
15
[Bug 1154] New: Allow include statement to operate on directories and/or wildcards
https://bugzilla.netfilter.org/show_bug.cgi?id=1154
Bug ID: 1154
Summary: Allow include statement to operate on directories
and/or wildcards
Product: nftables
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P5
Component: nft
2003 Jun 13
1
Documenting classes and methods: was Re: R-devel Digest, Vol 3, Issue 23
Might it be an idea to make "?" a special operator akin to "+" or "[", R
users could then write their own help functions - may be even making "?"
generic? With the proposed xml help system one could imagine quite
sophisticated context sensitive help systems.
Regards,
John Marsland
PS this has been a very useful debate for those of us enthusiastically
2005 Nov 16
1
update R packages in local repos
I try to update R packages via my local repository.
I put all R packages in g:/myFolder/myRepository, I do like
> library(tools)
> write_PACKAGES("g:/myFolder/myRepository")
> options(repos=c(LocalR="file://g:/myFolder/myRepository"))
> getOption("repos")
LocalR
"file://g:/myFolder/myRepository"
>
2020 Mar 23
2
Inconsistant result for normalizePath on Windows
Hi all,
I saw a quite surprising result in the devel R when using the function
*normalizePath*. If the input is a path to a folder, the function returns
an absolute path with/without a slash at the end depending on the existence
of the folder. I know both results are valid on Windows but this behavior
is different than R3.6, I do not know if the change in the devel version is
made on purpose.
2006 Feb 15
6
error_messages_for trouble
I am trying so learn how to do custom validations.
The validation works as expected, but I can''t get "error_messages_for"
to display.
How is the name of the object supposed to be formated?
Where is this object created, the model or controller?
What am I doing wrong here?
#### Model ########################
class MyFolder < ActiveRecord::Base
def validate
# validation
2011 Aug 11
2
UNC windows path beginning with backslashes: normalizePath bug??
Hi,
Back in June I posted the message below, but had no replies. I've made a
little progress since then so this is to update anyone interested (!) and to
ask for comments.
Brief problem statement:
Under Windows, some parts of R don't handle UNC paths beginning with
backslashes. Specifically
a) Sys.glob() fails to find some files breaking (e.g.) Rcmdr plugins
2003 Sep 01
3
error message in nlm()
Hi all,
I have been trying the nlm function but received an error message
which reads:
Error in nlm(intensities ~ f, c(epsilon.spec.start,
epsilon.unspec.start, :
invalid function value in 'nlm' optimizer
The message is generated somewhere in the compiled part, apparently
within the function
static void fcn(int n, const double x[], double *f, function_info
*state)
where a jump
2007 Nov 12
2
DO NOT REPLY [Bug 5078] New: Unable to use Win32 device paths with --files-from
https://bugzilla.samba.org/show_bug.cgi?id=5078
Summary: Unable to use Win32 device paths with --files-from
Product: rsync
Version: 2.6.9
Platform: x86
OS/Version: Windows XP
Status: NEW
Severity: major
Priority: P3
Component: core
AssignedTo: wayned@samba.org
ReportedBy: greg@bolshaw.me.uk
2017 Sep 23
3
Call for testing: OpenSSH 7.6
> Portable OpenSSH is also available via [...] Github:
https://github.com/openssh/openssh-portable
>
> Running the regression tests supplied with Portable OpenSSH does not
require installation and is a simply:
>
> $ ./configure && make tests
I was going to try this on Kali Linux (latest version), but ran into
trouble right away. No "configure" script exists