similar to: How can I call a function from within another funcion?

Displaying 20 results from an estimated 10000 matches similar to: "How can I call a function from within another funcion?"

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
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
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''
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
2009 Jul 14
1
Error installing package sna
Dear R-users, These days, I have been struggling to install the package sna on my Ubuntu 8.04 laptop. My R version is currently R 2.7.2. And I had no trouble installing any other packages (including network). However when I run 'install.packages("sna")', compilation of C codes is ok, but a syntax error is reported when building help pages and sna does not want to install. I
2015 Mar 31
0
Tripplite SNMPwebcard communication lost and established randomly
I missed that snmp-ups set pollfreq to 30 by default. I'd hope that it would set deadtime to an appropriate value as well than, no? Is there a way to query what the settings are or what the defaults are? I'm going to set POLLFREQ=30 and DEADTIME = 90 and see if that has any effect. I'll check for the logs. And if that doesn't get my anywhere I'll look at trying to simulate
2002 Jul 30
2
RADIUS? Traffic Accounting and VPN (PPTP)
Hi All, I''m trying to find the right tools to be able to track the amount of data that my users and pulling accross our VPN links. I''ve already done a google and hunted thru the Redhat web site but I''m really just not sure what I''m looking for. Could someone give me some links or even the correct terms would be a start. Cheers DiG Ask not what your
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
2011 Jan 25
2
barplot with varaible-width bars
I would like to produce a bar plot with varying-width bars. Here is an example to illustrate: ww <- c(417,153,0.0216,0.0065,556,256,0.0162,0.0117, + 726,379,0.0358,0.0501,786,502,0.0496,0.0837, + 892,591,0.0785,0.0795) yy<-t(t(array(ww,c(2,10)))) barplot(yy[,2*1:5],las=1,space=c(.1,.5),beside=T) produces a barplot of 5 pairs of bars that are of equal width
2004 Jan 08
0
[LLVMdev] bytecode documentation?
On Thu, 8 Jan 2004, Grant Gould wrote: Dear Mr. Gould, > Is there any documentation of the llvm bytecode format? I looked > around the website but didn't see any; did I miss some obvious > document? At this time, we do not have any documentation on the bytcode format. I believe one LLVM user was working on such a document at one time, but if so, it is not complete. One option
2003 Jun 16
1
dvd+rw+r for FreeBSD
I'm not subscribed to this list; but I read that Matthew Dillon has ported the dvd+rw tools to FreeBSD. I just compiled and installed the application; but I can't burn to a DVD+RW on a Sony DRU-500A. command: growisofs -Z /dev/acd0c -rl ./testfile result: ":-( unable to CAMGETPASSTHRU for /dev/acd0c: Inappropriate ioctl for device" The DVD+RW website:
2015 Mar 31
3
Tripplite SNMPwebcard communication lost and established randomly
[please use Reply-All to keep the list CC'd, thanks] On Mar 30, 2015, at 11:04 PM, Jason Gould <jgould at cddiagnostics.com> wrote: > Thanks. I should also mention the freenas server is setup with an lacp lagg. > > I will also mention that even when not setting pollfreq (leave as default) the issue still occurs. > It looks like the default for pollfreq is actually 30 on
2011 Apr 04
3
Dialplan matching
Hello all, I am trying to figure out the logic in on prefix matching for Asterisk 1.4.5. I want to be able to pass all international calls EXCEPT calls to 011870, 01137455 and so on. exten => _011870.,1,Goto(intl-disabled,s,1) exten => _01137455.,2,Goto(intl-disabled,s,1) exten => _01137477.,3,Goto(intl-disabled,s,1) exten => _0113749.,4,Goto(intl-disabled,s,1) exten =>
2006 Jul 07
2
Hello New MAC / DHCP Request - How to spot the presents of a new MAC address...
Hi All, How do I find out about new new DHCP connections as they appear? I want to write a script that will do some stuff based on a new ip request from a machine on my lan. ie - new user connects to the lan, DHCP server on my Linux (debian) gateway gives them an IP, my script is run automatically to change the firewall rules and start recording their presents, or if it''s an unknown
2006 Feb 11
1
Spammers on the mailing list?
In respose to my "when is update 3 coming out?" I received the following mail from brian.trudeau at eastek-intl.com offlist. Thank you for submitting a ticket to support. Your ticket number is [04E-0B7CC3CC-3842]. Please keep this ticket number for your records and include it in the subject (including brackets) of all future emails regarding this issue. Thank You, Support Staff
2002 Jul 06
3
Can't compile vorbis-tools CVS
Hi all: I haven't had any luck with this on vorbis-dev, so I thought I'd try here. Note that for those who have read this already, there's new stuff at the bottom. I'm getting the folowing when attempting to compile vorbis-tools from CVS: Making all in intl make[1]: Entering directory `/usr/src/cvs/vorbis-tools/intl' make[1]: *** No rule to make target
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 <-
2015 Mar 31
2
Tripplite SNMPwebcard communication lost and established randomly
On Mar 31, 2015, at 9:07 AM, Jason Gould <jgould at cddiagnostics.com> wrote: > I missed that snmp-ups set pollfreq to 30 by default. I?d hope that it would set deadtime to an appropriate value as well than, no? Is there a way to query what the settings are or what the defaults are? There is a TODO comment in snmp-ups that mentions doing something similar to usbhid-ups: just poll the
2013 Jun 30
3
XEN 4.2.2: Windows 2008 R2 server HVM does not start when attempting to use more than 3072MB of RAM
System: CPU''s: 2 x XEON X5450 Motherboard: http://www.intel.com/p/en_US/support/highlights/server/s5000psl/ RAM: 16GB DDR2 ECC OS: Debian 7.0 64bit If I attempt to use more than 3GB of RAM to the guest below (Windows 2008 server R2 64bit) it will end up with the following error message: xl create win_2008_server_hvm.cfg Parsing config from win_2008_server_hvm.cfg xc: info: VIRTUAL
2010 Sep 06
2
HP T1500 INTL
I have a HP T1500 INTL that isn't picked up under 2.4.3. I added the USB device ID to tripplite-hid.c like: /* HP T1500 INTL */ { USB_DEVICE(HP_VENDORID, 0x1f09), battery_scale_1dot0 }, and it seems to work just fine: # upsc UPS1 at localhost battery.charge: 100 battery.charge.low: 10 battery.charge.warning: 30 battery.temperature: 23.9 battery.type: battery.voltage: 40.9