search for: fpath

Displaying 18 results from an estimated 18 matches for "fpath".

Did you mean: path
2009 Mar 10
2
problem with concatinating string while taking as a path of a file
Hi all, I have a problem with concatinating strings while taking as a path here the problem is i have to take path as FPATH<-"D:\\Kiran" and file name as Fname<-"FINDINGS.CSV" and while I am reading this table I have to take path with using these two strings because in "FPATH" there is many files like findings.csv, and path will be "D:\\Kiran\\FINDINGS.CSV"...
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 Nab...
2004 Feb 21
0
Solaris interposer code for nsswitch.conf
...sswitch_interposer.c * setenv LD_PRELOAD $cwd/nsswitch_interposer.so * run smbd * * Remove the printf statements in each function when using in earnest - they are just there for debugging. */ #include <stdio.h> #include <strings.h> #include <dlfcn.h> FILE* fopen(const char *fpath, const char *mode ){ static FILE * (*func)(const char*, const char *); if(!func) func = ( FILE * (*)(const char*, const char *))dlsym(RTLD_NEXT, "fopen"); if(strcmp(fpath,"/etc/nsswitch.conf")==0) fpath = "/etc/nsswitch_samba.conf"; printf(" calling...
2010 May 20
1
use object within rda file in for loop
Dear users, I would like to process all the lists from all *.rda files that I have in one folder. Up to now, I can load all the *.rda files without any problem. The problem is when I want to access the list saved within each *.rda file (only one list per rda file). Here is my code: fpath <- "D:/R" listnames <- list.files(path=fpath, pattern=glob2rx("*.rda"), full.names=FALSE) for (i in 1:length(listnames)) { load(paste(fpath, listnames[i], sep="/")) z <- list_in_listnames[i] ## here is my problem **do something on z** } It might be...
2009 Mar 12
3
batch process file in R
Dear R experts, I have a folder names "200209" and in this folder there are many data files, such as: "BA020902.txt","BA020903.txt","BA020904.txt", "BA020905.txt","BA020906.txt","BA020909.txt", "BA020910.txt","BA020911.txt","BA020912.txt",
2006 Aug 03
1
Unzipping a file
Hi ! I''m attempting to write a simple gallery in Rails. The thing is I''d like to be able to upload a lot of pictures at once with a zip file. I''ve so far managed to upload the zip file (containing pictures) to the server. But how do I unzip the file to have access to the pictures ? I haven''t been able to understand how to use Zlib to do this. Any tips or
2006 Feb 03
3
rubystandard library question
I have a problem getting find.rb and fileutils.rb to coexist in the same script. When I require both I get the following: /usr/lib/ruby/1.8/find.rb:36:in `dup'': can''t dup NilClass (TypeError) from /usr/lib/ruby/1.8/find.rb:36:in `find'' from /usr/lib/ruby/1.8/find.rb:36:in `find'' I googled for this problem and did not come across any place
2012 May 09
12
out of memory (java heap space) on zip creation (jruby)
I am using rubyzip and am trying to put a huge csv file with 1.4 million rows into the zip file. Using jruby I get a out of heap error. I believe the error happens in the block below: Zip::ZipOutputStream.open(zip_path) do |zos| zos.put_next_entry(File.basename(csv_path)) zos.print IO.read(csv_path) end -- You received this message because you are subscribed to the Google
2009 Sep 10
2
"Read.csv" in R with dynamic file (1st) argument
Dear R users, I have numerous data sets (csv files) saved in the folder which has the same name as individual data. (i.e data x1 saved in x1 folder, data x2 in x2 folder etc) I would like to read in the desired data set name using 'scan' function and assign this inputted value to an object so that it can be used in the 'read.csv' function. For example, x <- scan() 1: 0708
2007 Jun 06
1
add inverse recursive feature or do a mkdir -p/install -D -d ?
...:?give a path please}" path=$(echo -n "${path}" | sed -e 's,/$,,') pathdepth=$(echo -n "${path}" | sed -e 's,[^/],,g' | wc -c) echo "${path}" for (( i=1; ${i} < ${pathdepth}; i=$(( ${i}+1 )) )); do fpath=$(( ${pathdepth} - ${i} )) subpath=$(echo -n "${path}" | cut -d "/" -f1-${fpath}) if [ ! -z "${subpath}" ]; then echo "${subpath}" fi done } function doublecrushedpath() {...
2006 Jan 06
5
Routing problems - Apache proxy vs. Webrick direct
I dropped the use of fastcgi because I could not get popen working (see ''[Rails] Apache2 and popen''). It works under WebBrick. Since CGI is too slow, I thought I''d proxy to WebBrick via Apache. I am having routing problems now with escaped slashes in the URL. Here''s my routes.rb: map.connect '''', :controller => "wiki"
2012 Feb 29
15
[RFC] [PATCH] Add btrfs autosnap feature
From: anand jain <anand.jain@oracle.com> Anand Jain (1): [RFC] Add btrfs autosnap feature Makefile | 6 +- autosnap.c | 1553 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ autosnap.h | 81 +++ btrfs-list.c | 140 +++++- btrfs.c | 46 ++- btrfs_cmds.c | 186 +++++++- btrfs_cmds.h | 3 +- scrub.c | 1 + 8 files changed, 1982 insertions(+), 34
2011 Jul 28
1
intermittent problems obtaining shell with gssapi-with-mic
...Ignored env INTEL_LICENSE_FILE debug3: Ignored env GPG_AGENT_INFO debug3: Ignored env SHELL debug3: Ignored env TERM debug3: Ignored env HISTSIZE debug3: Ignored env XDG_SESSION_COOKIE debug3: Ignored env LIBRARY_PATH debug3: Ignored env GTK_RC_FILES debug3: Ignored env WINDOWID debug3: Ignored env FPATH debug3: Ignored env QTDIR debug3: Ignored env QTINC debug3: Ignored env IMSETTINGS_MODULE debug3: Ignored env USER debug3: Ignored env LS_COLORS debug3: Ignored env LD_LIBRARY_PATH debug3: Ignored env CPATH debug3: Ignored env SSH_AUTH_SOCK debug3: Ignored env GNOME_KEYRING_SOCKET debug3: Ignored e...
2015 Oct 09
3
Python version for scripts in LLVM?
...owner['name']] = owner @@ -77,7 +78,7 @@ owner = code_owners[name] if 'paths' in owner: for path in owner['paths']: -# print "searching (" + path + ")" +# print("searching (" + path + ")") # try exact match if fpath == path: return name @@ -97,7 +98,7 @@ import sys if len(sys.argv) < 2: - print "usage " + sys.argv[0] + " file_or_folder" + print("usage " + sys.argv[0] + " file_or_folder") exit(-1) # the path we are checking @@ -105,13 +106,13 @@ #...
2013 Jul 12
14
[LLVMdev] [Proposal] Parallelize post-IPO stage.
...////////////////////////////////////////////////////////// +// +// Implementation of IPOFile and IPOFileMgr +// +// ///////////////////////////////////////////////////////////////////////////// +IPOFile::IPOFile(const char *DirName, const char* BaseName, bool KeepFile) + : Fname(BaseName), Fpath(DirName), Keep(KeepFile) { + Fpath = Fpath + "/" + BaseName; + Keep = true; +} + +IPOFile::~IPOFile() { + if (Keep) + sys::fs::remove(Fpath); +} + +IPOFileMgr::IPOFileMgr(): WorkDir("llvmipo") { + IRFiles.reserve(20); + ObjFiles.reserve(20); + OtherFiles.reserve(8); +...
2015 Sep 25
2
Build of supermin 5 on Ubuntu 14.04 LTS
...' export as_echo_n_body as_echo_n='sh -c $as_echo_n_body as_echo' fi export as_echo_body as_echo='sh -c $as_echo_body as_echo' fi # The user is always right. if test "${PATH_SEPARATOR+set}" != set; then PATH_SEPARATOR=: (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || PATH_SEPARATOR=';' } fi # IFS # We need space, tab and new line, in precisely that order. Quoting is # there to prevent editors from complainin...
2009 Sep 11
3
For sending my R package as part of R-project
..." <r-help at r-project.org> Message-ID: <4AA98532.8060303 at witthoft.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed That will not work (or at least doesn't work for me. This does work: fnam<-'thefilename.csv' #or build the name however you like fpath <- 'macintoshhd/users/me/myfolder/ # or whatever you need read.csv(eval(paste(fpath,fnam,sep="")) #worked for me Carl ----------- Try this: read.csv(sprintf("D://R//Data//%04d//%04d.csv", x, x), header = TRUE) On Wed, Sep 9, 2009 at 9:32 PM, Steven Kang <sto...
2013 Jul 15
21
[PATCH 00 of 21 RESEND] blktap3/drivers: Introduce tapdisk server.
This patch series copies the core of the tapdisk process from blktap2, with updates coming from blktap2.5. Signed-off-by: Thanos Makatos <thanos.makatos@citrix.com>