similar to: accessing files from subfolders

Displaying 20 results from an estimated 30000 matches similar to: "accessing files from subfolders"

2006 Feb 22
2
How do I tell it which directory to use?
>From Tom: In R 2.2.0 under Windows, I want to be able to give it a filename such as "myFile.txt" without the quotes. But actually I mean: C:\Documents and Settings\Tom\My Documents\qpaper7\R Project Started 19 Dec 05\myFile.txt If I were to repeat this each time, my computer would get all bored and cranky and start to drop bits (only a joke, of course). I think I want to set
2012 May 16
1
Merging multiple data sets
Hello R user, I have four data sets in dir "D:/Bharat Warule/Rdata_file" which are output_data_prod_1.rda, output_data_prod_2.rda, output_data_prod_3.rda, output_data_prod_4.rda. Each data set is huge size like number of rows 343297 and columns are near to 50. For example: x1 <- data.frame(x11=c(1,2,3,4,5),x112=c(10,10,10,10,10)) x2 <-
2017 Jul 19
3
Problem in shiny writing a .txt file
Hi all! I'm developing a shiny app and I have problems when I wanna write a .txt file. First of all, I change the directory in order to work in a temporal one: wd <- tempdir() setwd( wd ) res.path <- paste0( wd, "/OUT/" ) dir.create( res.path ) Just before calling the function that fails, I remove, if exist, the old files of the directory: file.remove( paste0(
2006 Jan 04
7
Replacing backslashes with slashes
Hello, I've seen this question asked in the archives but no clear reply or solution provided. So, just to be sure it is not possible in R: Can I replace backslashes with slashes in a string ? I am writing a GUI for R with the Rpad library. I have a "browse" button for data loading and Windows return a path string with backslashes. I need to convert them into slashes to use the
2007 Nov 01
2
help diagnosing tftp server on centos 5
Hi all, I have a centos 5 box I have setup, current with updates. (I have done this many times on centos 4). I did the yum install tftp-server, changed the /etc/xinetd.d/tftp file as shown. # default: off # description: The tftp server serves files using the trivial file transfer \ # protocol. The tftp protocol is often used to boot diskless \ # workstations, download
2007 Oct 29
1
Force parent directories creation
Hello, If I have a directory tree in the source machine like the following: 192.168.1.1 => /raid/system/mainfolder/folder1/subfolder/myfile.txt and the target machine directory tree looks like: 192.168.1.2 => /raid/system/mainfolder/ Is there a way to send myfile.txt to the target machine and force rsync to create the target directories (/folder1/subfolder) ? When I use a command like
2018 Aug 16
2
explorer.exe crashes on security tab access
The same thing happen if the group on a file is wheel or any other unix group. I also now observed that this also happens to unix users that are not mapped in idmap.ldb. For example: # useradd myunixuser # touch myfile # chown myunixuser myfile # chgrp SAMDOM\sambauser myfile alos crashes explorer. / Kacper On Thu, Aug 16, 2018 at 8:55 PM, Rowland Penny via samba < samba at
2003 Apr 25
2
Open an r+b file connection on Windows
I am trying to open an existing binary file, seek to a position in the middle, and then write one byte, while keeping the already existing data after that byte. It seems to me that I am unable to open a connection to a binary file in both read and write mode. I can open the "r+b" binary file connection and seek around, but I can't write to the file. And looking at the function
2013 Jan 29
1
points rejected as lying outside the specified window
Hello, I am using the following code to create ppp files from csv data and map shape files, but I am getting some errors which I have been unable to fix by searching them online: library(spatstat) library(maps) library(maptools) NYC2<-readShapePoly("nybb.shp") # this is a map of the NYC boroughs without waterways and no census tract divisions (but it does include lines separating
2003 Nov 10
3
Reading an upper triangular matrix
Hola! I have data in the form of a symmetric distance matrix, in the file I have recorded only the upper triangular part, with diagonal. The matrix is 21x21, and the file have row and col names, and some other information. I am trying to read with the following code (I tried many variations on it, but all give the same error). The items in the data file is delimited by white space. (Part
2007 Apr 14
3
HiddenStore option may be useful
I'm missing a HiddenStore option in OpenSSH, known from some ftp-server implementations like ProFTPd. Consider the following scenario: - A process PROCA is frequently polling the directory for a file called myfile.txt - Someone transfers this file via sftp or scp to the directory - While transfer is going on and the file is not completely written, PROCA reads in the file and removes is
2011 Feb 16
2
[LLVMdev] verbosity while invoking clang
I am working on implementing a new target for llvm. So far (to make debugging easier), I was compiling a C code into 2 steps: 1) generate the llvm file: clang -ccc-host-triple mytarget -emit-llvm -S myfile.c -o myfile.ll 2) generate the assembly file using llc -march=mytarget myfile.ll Sometimes, I add some verbosity for the 2nd command like "-print-after-all". Now, I'd like to
2011 Feb 16
0
[LLVMdev] verbosity while invoking clang
On Feb 16, 2011, at 11:08 AM, Damien Vincent wrote: > I am working on implementing a new target for llvm. > So far (to make debugging easier), I was compiling a C code into 2 steps: > 1) generate the llvm file: > clang -ccc-host-triple mytarget -emit-llvm -S myfile.c -o myfile.ll > 2) generate the assembly file using > llc -march=mytarget myfile.ll > > Sometimes, I add
2005 Aug 09
1
Saving trellis output to files in scripts...
With much help from Chuck Cleland, I was able to get xyplot to generate the plot I wanted. I'm trying to write a script (that can be read using source("file")) to create the plots I want and save them to files. If I type the following lines into the R (in interactive mode), the correct plot gets saved into the file myfile.ps with a size of 4,096 bytes: ----------------------------
2008 Oct 03
1
Problems with Share Modes "fill_share_mode_lock failed"
Hi, my details: Server: 3.2.3 Client: win2k8 When I try list contents of a shared directory through an ASP script (win2k8 is the client), it's take much time and on samba I saw many times (4 times for each file) the same error: "fill_share_mode_lock failed" I tried "shares mode = No" but no success It's the log: ...:49, 3]
2009 Jun 18
1
Problem reading from a file
Hi all, I have written a function cluster_compare(myfile, mclfile) I called it giving names of files in the working directory (I see them with dir()). I get Error in file("myfile", "r") : cannot open the connection In addition: Warning message: In file("myfile", "r") : cannot open file 'myfile': No such file or directory I tried even calling
2007 May 23
1
Flac Files Messed Up By Amarok
A while back I posted about issues with flac files that were not able to be decoded. Here's what I do know: I've ripped most of my collection to my hard drive using KAudioCreator and I've specified that they be stored in flac format. All files play without trouble through Amarok. I found out there was a problem when I had selected files in a playlist and picked "burn"
2010 Jul 02
2
Files with Missing Data
I'm a new R user so this is possibly a naive question. I'm trying to load an external CSV file into a dataframe using: df_name<-read.table("myfile.csv") myfile.csv should have 5 elements per row, though a percentage are missing the last two elements (the commas are present as placemarkers). However, R does not create the dataset but returns the message: line 1
2003 May 20
1
R in BATCH mode
Dear all, In R<=1.6.2 I usually used the following code (in DOS prompt) to run R in batch mode C:\documents> Rcmd BATCH myfile.R and I could see the results (including warning messages) in the file myfile.Rout In R.1.7.0 I'm experiencing the followings: (1) even if I type "Rcmd BATCH myfile.R myfile.Rout", no file myfile.Rout is created, but just a "&1" file
2005 Jun 09
3
dir() and RegEx and gsub()
Dear R-Users, I have two questions: a) in a directory there are 3 files: [1] "Data.~csv" "Kopie von Data.~csv" "VorlageTradefile.csv" The command "dir( fold, pattern = "\.csv" )" gives back *all* the 3 files With dir( fold, pattern = "\\.csv" ) I get back only VorlageTradefile.csv. I don't understand this behaviour,