Displaying 20 results from an estimated 100 matches similar to: "Downloading a directory of text files into R"
2012 Mar 26
1
Models in sub-folders in Rails 3
I have a Rails 2 project in which models are in sub-folders, but not in
a name space
app/models/sub_folder/posts.rb
class Post < ActiveRecord::Base
end
The controllers are also in sub-folders, but are name spaced (views also
in a corresponding sub_folder).
app/controllers/sub_folder/posts_controller.rb
class SubFolder::PostsController < ApplicationController
end
This works fine, but I
2007 Nov 16
1
Starcraft / DirectDrawRenderer = opengl
I'm having a problem with the directdraw opengl renderer and StarCraft
on wine 0.9.49.
When I run starcraft with the opengl renderer, only 1x1 pixel is
displayed stretched to full screen size.
The other settings have no effect, (Other than RenderTargetLockMode =
readtext, if I leave this at default StarCraft crashes, but this is
known about).
I've updated my graphics drivers to the
2020 Nov 03
0
help loading files into R for koRpus analysis
On 02/11/2020 4:46 p.m., Gordon Ballingrud wrote:
> Thanks; that's a good point. Here is what I have been working with:
>
> library(quanteda)
> library(readtext)
>
> texts <- readtext(paste0("/Users/Gordon/Desktop/WPSCASES/", "/word/*.docx"))
On Windows, you can't have an empty entry in a pathname, so you should
leave off one of the slashes:
2011 May 11
7
[Bug 8130] New: ACL and link-dest do not work together
https://bugzilla.samba.org/show_bug.cgi?id=8130
Summary: ACL and link-dest do not work together
Product: rsync
Version: 3.0.8
Platform: All
OS/Version: All
Status: NEW
Severity: major
Priority: P5
Component: core
AssignedTo: wayned at samba.org
ReportedBy: az9901 at gmail.com
2004 Jul 30
1
Symlinks out of sharing still not working on 3.0.5
Hi guys,
samba client version 3.0.5, server version 3.0.5, kernel 2.4.26.
Relevant configs on server:
unix extensions = Yes
wide links = Yes
follow symlinks = Yes
On client computer with home user mounted via smbfs
I'm trying this:
D102-054 [/lp/home/dito/tmp] > cd /tmp
D102-054 [/tmp] > mkdir dest_dir
D102-054 [/tmp] > cd -
D102-054 [/lp/home/dito/tmp] > ln -s /tmp/dest_dir
2003 May 01
1
Batch Mode?
I realize batch mode is still experimental, but I was hoping there might be
a workaround for a problem I am getting.
I have been trying to run some tests and I get the below error when I use
the --read-batch option to. I can successfully create an initial set of
batch files, then a second set based upon a few modified test files from the
first batch. When I first run the --read-batch option
2017 Sep 07
2
Should I worry about the "vanished files" warning?
Hi
I would like to ask, when the "vanished files" warning is a sign that something bad is happening somewhere. I know that the `rsync-no-vanished` script can silence the warning, but I am wondering whether this is a sane thing to do.
My guess based on https://bugzilla.samba.org/show_bug.cgi?id=3653#c26 and https://bugzilla.samba.org/show_bug.cgi?id=10356 is that it's fine, but
2004 Sep 28
1
rsync fails when syncing empty directories
I have a script which copies files from remote server to local filesystem
and processes them locally. Files on remote server are cleaned
periodically so that every once in a while the remote directory is empty
just after old files are removed. If I run my script it fails with error
mentioned below. The ugly workaround I use is to 'touch foo' on remote
server so that there's *anything*
2017 May 01
1
rsync with delete option creates and deletes dot files
All,
I have an rsync based backup process which uses rsyncd on the source,
to backup to a directory on the client.
I have rsync version 3.1.2 on the client and 2.6.8 on the source host
(daemon).
The rysnc command I use is;
/usr/bin/rsync -aHzS --partial --numeric-ids --delete --timeout=3600 \
--contimeout=180 \
--exclude-from=/path/to/excludelist \
2016 Apr 11
5
User controlled i/o block size?
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
You didn't say if you were networking or what features of rsync you
are using but if you aren't networking and aren't doing anything fancy
you are probably better off with cp -au which is essentially the same
as rsync -au except faster.
Anyways, smaller reads and writes are usually better handled by the
OS's caches than really big
2005 Mar 22
2
mkstemp fails but data still transferred
Hi all,
I'm running rsync version 2.6.3 protocol version 28 on Solaris 8 and am
having a problem.
We have some scripts that wrap around rsync and generate a list of files
to transfer from the sending system (regardless of whether that directory
exists on the receiver). I was expecting rsync to fail when transferring
files with a path that doesn't exist on the receiver (in fact
2012 Feb 10
3
Installing from source missing -lruby18 in linking.
I am trying to build wxruby from source, but I have encounter an error.
For some reason the ''rake'' command fail when it tries to link lib/wxruby2.so
because it is missing missing -lruby18
resulting in errors like
wx.cpp:(.text+0x1618): undefined reference to `rb_intern''
wx.cpp:(.text+0x165c): undefined reference to `rb_eNotImpError''
wx.cpp:(.text+0x1666):
2003 May 02
1
rsync+ssh2 from Tru64 unix to linux has intermittent hangs.
This is odd:
We're using rsync to mirror multiple directories from a server to
two clients. The server is running Tru64 v5.1a, client A is running
Redhat Linux 8.0, and client B is running Tru64 v4.0g.
The mirrors for both clients are running at the same time interval
(10 minutes, offset by 5 minutes).
All machines are running rsync v2.5.6, and using ssh2 v3.2.3 as the
2006 Jul 27
2
Cannot access WD's NetCenter drive from linux
Hello folks.
I bought a Western Digital NetCenter drive since it
seemed a low-cost way of having a NAS in my home. The
NetCenter drives run GPL'ed software (I downloaded the
source from Western Digital's Web site, and it refers
to Broadcom's "BCM478x Linux NASoC Software." The src
directory also contains samba 3.0.2.)
The device offers two ways of accessing your data:
2006 Feb 14
1
How can I order_by a sub folder?
Hi there!
I have a folder model which can contain sub-folders. I want to save the
sub-folders in a variable ordered by the name of the subfolders:
folder = Folder.find(1)
sub_folders = folder.folders # ... how can I order the sub folders by name
here???
Thanks,
Mischa.
2007 Feb 16
0
displaying images from this controllers code
Hi,
Im pretty new to rails so please excuse me if this is a trivial question
to most of you :)
Im making use of the following code that I came accross which allows me
to go and feed amazons alexa service a url and it returns a thumbnaill.
class AmazonController < ApplicationController
layout ''default''
def index
require ''cgi''
require
2008 Sep 29
3
DO NOT REPLY [Bug 5802] New: misleading error message in atomic rsync
https://bugzilla.samba.org/show_bug.cgi?id=5802
Summary: misleading error message in atomic rsync
Product: rsync
Version: 3.1.0
Platform: All
OS/Version: Linux
Status: NEW
Severity: trivial
Priority: P3
Component: core
AssignedTo: wayned@samba.org
ReportedBy: normalperson@yhbt.net
2018 Jan 23
1
Scraping from different level URLs website
I am doing a research on World Bank (WB) projects on developing countries. To do so, I am scraping their website in order to collect the data I am interested in.
The structure of the webpage I want to scrape is the following:
1. List of countries the list of all countries in which WB has developed projects<http://projects.worldbank.org/country?lang=en&page=>
1.1. By clicking on a
2006 Oct 24
0
[713] trunk/wxruby2: Patch for rake install, added rake uninstall
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><style type="text/css"><!--
#msg dl { border: 1px #006 solid; background: #369; padding:
2007 Dec 10
0
rake/rakewx.rb error
Hey Guys,
Found a small bug in rake/rakewx.rb while trying to compile wxGTK and
wxRuby2 from SVN. I''ve commited the patch to the file, which changes the
following:
Index: rake/rakewx.rb
===================================================================
--- rake/rakewx.rb (revision 1451)
+++ rake/rakewx.rb (working copy)
@@ -143,7 +143,7 @@
force_mkdir File.join(dest_dir,