Displaying 20 results from an estimated 300 matches similar to: "Reading in a series of files using a for loop"
2004 Feb 04
1
My 2.0 Configuration
I''ve posted my Shorewall 2.0 configuration at
http://shorewall.net/myfiles2.html.
As you can see, not much changes going from 1.4 to 2.0 except for the action*
files.
-Tom
--
Tom Eastep \ Nothing is foolproof to a sufficiently talented fool
Shoreline, \ http://shorewall.net
Washington USA \ teastep@shorewall.net
2012 Dec 05
4
Import multiple data frames and combine them using "cbind"
Hi group,
I imported 16 data frames using the function "list.files"
temp <- list.files(path="...........")
myfiles = lapply(temp, read.table,sep = "")
Now I have 16 data set imported in R window.
I want to combine them by row and tried some thing like (Here I am
considering only 20 columns)
for(i in 1:16){
data<- cbind(myfiles[[i]][,1:20])
}
but it
2008 Jun 25
3
5.2 upgrade mostly good (so far)
Hi Guys!
Thanks to the whole Centos team for all their hard work. You have no IDEA
how much I appreciate it!
I ran "yum upgrade" last night, rebooted this morning and encountered
a couple of small problems:
1. "shutdown -h now" goes all the way down but does not power down the
box like it always has before. Same when shutting down via the GUI shutdown
dialog. I can offer up
2008 Apr 18
5
vector in filename
Hi,
I am trying to generate a group of graphics with an iteration. Some
thing like this...
x=1
y=1
max=10
myfiles <- paste("foo", x:max, ".png", sep="")
while (x =< max)
{
png(file=myfiles, pointsize = 20, width = 600, height = 600,
units = "px", bg="#eaedd5")
plot(x,y)
dev.off()
x=x+1
y=y+1
2006 Jan 11
3
Just update 1 field
Hi All,
I wonder how I can get rails to update just one field when I do Myfile.save.
Right now this happens when I do a Myfile.save:
UPDATE myfiles SET `folder_id` = 0, `filesize` = 1, `data` =
''2f7573722f6c6f63616c2f6d ... f7061636b65743d33324d'', `user_id` = 0,
`date_modified` = ''2006-01-11T23:33:57+0100'', `filename` =
''mysqlscripts.sql''
2012 Aug 06
1
with streams_xattr enabled, ads are written correctly but not retrieved
Hello,
I'm running Samba 3.6.6-1 on my x64 Arch Linux installation. I recently
decided to have my samba share support NTFS's Alternate Data Streams by
using streams_xattr or streams_depot. With streams_xattr I discovered that
if I copy a file having an ADS from a win7 box, on the linux console, I can
see the ADS as an xattr attached to the file. However when I copy the file
back to my
2006 Mar 13
6
:dependent => :destroy
Hi,
There is something I don''t understand about :dependent => :destroy. I
hope someone can help me. Consider this code:
class Folder < ActiveRecord::Base
has_many :myfiles
has_many :folders
has_many :group_folders, :dependent => :destroy
validates_uniqueness_of :name, :scope => "folder_id"
validates_presence_of :name
before_destroy
2013 Oct 25
2
Mounting Linux Samba Shares on Windows when Active Directory Server is down
Hi,
I am running Samba 3.6.19 and making my way through all the Active
Directory documentation. I have joined various Linux boxes to a
Windows Server 2008 R2 Active Directory domain. Windows 7 users who
log on with their domain accounts can mount the correct shares exported
by the Linux boxes without having to supply any additional credentials.
All working perfectly!
However, I have a
2005 May 24
2
reading multiple files
Dear All,
How do I read in multiple data frames or matrices in a
loop, e.g.
for (i in 1:n) {
channel <- odbcConnectExcel("filenames")
file[i] <- as.data.frame(sqlFetch(channel,
"sheet"))
}
I would like file[i] to be the name of the data.frame
(i.e. file[1], file[2], file[3],...etc) rather than a
vector.
Thanks in advance for any help.
Dave
2013 Apr 27
11
Help
Hello,
I have a question and need your help urgently. I am new to R but want to learn it.
I have several files in a folder which I have imported to R using :
temp = list.files(pattern="*.txt")
>myfiles = lapply(temp, read.delim)
The resulting files are on the workspace stored as List[110]. So they are 110 files in the list. Each file has several different columns and rows.
My
2009 Feb 05
3
Samba and NetAPP filers, the PDC problem...
Hello
Is there any hope one day a Samba PDC will work with NetAPP filer ???
I mean will it be possible to register a filer as a machine in a Samba PDC ?
I fails since years and I never had any clear explainations about it.
Couls someone ( Mr Bartlett ? ) tell me why it had never be possible ?
Thanks a lot.
2016 May 11
4
Synology NAS Samba Upgrade breaks "Classic" domain membership
I have a Synology NAS array appliance. It is linux based and uses
samba for file sharing. Normally the config is done via a gui
interface but you can ssh to the array. The domain controllers are
running Samba 3.6.x in classic domain mode. I have member servers
running 3.6.x and 4.3.8. no problem.
I recently updated the Synology "OS." The current version of samba is
2009 Feb 22
1
Can't add machines to domain after Debian-Update
Guten Tag Samba-List,
after updating my Linux-Server from Debian Etch to Lenny, some of my
workstations (W2kSP4) couln't log into the domain. I removed the
machines from the domain, changed the name, created a new
machine-account, but I still can't add the machine to the domain.
My /etc/smb.conf (see below the logfile) is unchanged since Debian Etch.
Perhaps someone
2009 Oct 26
3
changing kickoff time
Hello everybody,
we moved our samba server to a new machine. This included changing the
samba version from 3.024 to 3.4.2 and changing the OS from Linux to
Opensolaris.
Samba was compiled from scratch. Passdb Backend is tdb.
After the upgrade everything works fine......except:
Some users can not login, due to an expired account.
Further investigation showed that the "Kickoff Time"
2005 Apr 14
9
MAC Validation and related problem that is killing me...
Hi there...
I want to use MAC validation for strict computer access rules to our
server and LAN. I do not want any computer have ANY kind of access
(neither LAN or Internet access, not even get an IP from the dhcp server,
or being able to connect to anything manually configuring the IP settings)
unless its MAC is on the list. Our server has two interfaces (eth0 & eth1)
and 2 zones (net and
2011 May 16
1
Problem printing from one user only
I'm trying to figure out why I'm getting permission denied when trying
to print from one user account only. all others work fine.
the print server is configured as a domain controller backed by ldap.
aarcane at density:/var/log$ sudo testparm -s
Load smb config files from /etc/samba/smb.conf
rlimit_max: rlimit_max (1024) below minimum Windows limit (16384)
Processing section
2013 Jan 15
2
Need help: R for repetitive tasks
Dear R users,
First of all I would like to thank all of you who replayed to my previous
questions and problems. Thank you a lot for being great and helpful
community. I highly appreciate your suggestions and ideas even if I do not
respond after my question! But it means that your help was exactly what I
needed. Thank you again!
Now the following question I need help:
Suppose I do have a
2015 Mar 29
3
Unable to browse system shares of a newly migrated AD DC
Greetings, Rowland Penny!
Got some logs. But... they do not make much sense.
It seems to fail to chdir to /tmp. But I can do it with sudo just fine under
the same credentials.
What's going on?
[2015/03/30 01:05:38.027147, 3, effective(0, 0), real(0, 0)] ../source3/lib/access.c:338(allow_access)
Allowed connection from 127.0.0.1 (127.0.0.1)
[2015/03/30 01:05:38.027425, 3, effective(0, 0),
1997 Feb 05
0
bliss version 0.4.0
[mod: Forwarded by Jeff Uphoff. I tried to mangle the headers that
it appears as the original post: with an invalid return address. -- REW]
A few months back, a very alpha version of bliss got posted. That shouldn''t
have happened, but, it was pretty much ignored so I didn''t worry about it.
But now it seems there''s a bit of a fuss about this. I''ll post the
2006 Jun 29
1
initializing table and filling it out
Hi everyone,
I'm writting a script that will open multiple files in a single folder and then will do some calculations to finally save everything in a big table.
So here is the pseudo code
#read all files in the given directory
myfiles <-list.files("c:\\myDir")
#initialize table
???
#loop through files
for(f in myfiles[-1]) {
netMat <-