similar to: Use quotes on a FOR LOOP R

Displaying 20 results from an estimated 1100 matches similar to: "Use quotes on a FOR LOOP R"

2012 Apr 26
8
understanding the FUNCTION function
Hello, I am trying to understand why the FUNCTION used in several codes, won't create the object after it finishes running the code. For instance, look at the following: Number<- function(x) {MyNumberIs<-x} When I run Number(5) Everything goes well, except that if I try to call the object MyNumberIs, I won't find it. I understand that this function can assume many parameters,
2012 Feb 29
2
Using a FOR LOOP to name objects
Hello, I am trying to use a for loop to name objects in each iteraction. As in the following example (which doesn't work quite well) my_list<-c("A","B","C","D","E","F") for(i in c(1:length(my_list))){ url<- "http://finance.yahoo.com" doc = htmlTreeParse(url, useInternalNodes = T) tab_nodes = xpathApply(doc,
2012 Apr 01
3
Filling empty List in a FOR LOOP
Hello all, I am trying to automate a list to be filled in a FOR LOOP. Basically I need to load info from a third source and store it into a list. This list goes to object "A"; The next list brought in by the LOOP goe to object "B".. os on ans so forth. When the iteration on the LOOP goes well (which means it isn't empty) I get something like this: A [[1]]
2006 Sep 22
2
Write list problem
I upgrade my Debian Samba packages from 3.0.14a-1 to 3.0.23c-1. I experienced 2 problems, one was that certain shares were locking users out who were listed in the "Valid users" parameter, but not all shares were doing this. I ran across a post that advised changing the parameter to "users" alone, omitting "valid" This fixed it, but I'm not sure why. WHen did
2002 May 13
3
Samba DC issue.
Hello, I'm trying to use samba (Version 2.2.3a-6 for Debian) as a DC for a windows 2000 pro network. Everything seems to work OK, except the roaming profiles. Every few days (I haven't locked down a pattern yet) all machines connected to the server loose their connection, and no one can connect again until the server is rebooted. I'm using log level 3, and this is what log.smbd
2020 May 13
1
Re: Unit libvirtd.service could not be found. on VM
Thanks, I discovered I had wrong permissions for /var/lib/libvirt/qemu/, after setting them to drwxr-x--x. qemu qemu and executing daemon-reload libvirtd.service exists now on my vms :) However - I'm not able to get it to run. In the journal I see the message libvirtd[6800]: Unable to import CA certificate list /etc/pki/vdsm/certs/cacert.pem I have verified its permissions and that it's
2007 Apr 10
6
getting output of STDOUT in spec
Consider the following method: def name_to_terminal puts "Scott Taylor" end How would I spec this out? Scott
2005 May 16
2
Pass variable to Authenticate?
I'm trying to figure out a way to make my own agent login, because I don't like how the default works. I have the login and logout working fine using the dynamic add and remove commands, but I need to be able to create a list of users and passwords. I thought of a way to do it using a list of passwords, but the agent would only ever be prompted for their password. I won't want that.
2009 Nov 22
2
Help with indexing
Dear R Helpers, I am missing something very elementary here, and I don't seem to get it from the help pages of the ave, seq and seq_along functions, so I wonder if you could offer a quick help. To use an example from an earlier post on this list, I have a dataframe of this kind: dat = data.frame(name = rep(c("Mary", "Sam", "John"), c(3,2,4))) dat$freq =
2020 May 13
2
Re: Unit libvirtd.service could not be found. on VM
Thanks, Michal, On my laptop I do have libguestfs and libvirt-daemon-qemu. both libvirtd.service and libvirtd.socket are running ok on my laptop I just realized I haven't mentioned - my vms intend to serve as hosts themselves, and that's why they, too, need to have libvirtd.service running on them. up to recently I didn't have such a problem when I installed a vm on my laptop -
2005 Jan 03
5
DHCP Attribute for TFTP server for Aastra 480i?
I have this Aastra 480i phone, and you can set the TFTP server IP address manually in the phone, but there should be a way to have it find the TFTP server information via DHCP. Does anyone know if this is possible, and if so, what is the attribute I have to set on my DHCP server? Thanks! __ Dana Olson Disclaimer: The information transmitted in this message is intended only for the person or
2010 Mar 30
1
convert xva to img
Hi all, I need to get NetScaler running for a load balancing project. So I''m trying to convert the xva to an image for use with Xen. I have done the following; downloaded xenmigrate.py downloaded and untarred the xva image from Citrix ran the following: python xenmigrate.py --convert=Ref\:214/ ns.img xenmigrate says that it has completed successfully however I can''t mount
2011 Oct 01
2
Help with cast/reshape
I realize that this is terribly basic, but I just don't seem to see it at this moment, so I would very much appreciate your help. How shall I transform this dataframe: > df1 ? Name Index Value 1??? a???? 1?? 0.1 2??? a???? 2?? 0.2 3??? a???? 3?? 0.3 4??? a???? 4?? 0.4 5??? b???? 1?? 2.1 6??? b???? 2?? 2.2 7??? b???? 3?? 2.3 8??? b???? 4?? 2.4 into this dataframe: > df2 ??? Index?
2005 Jul 04
1
Unresolved symbols - Zaptel 1.0.9 and Linux 2.4.31
I installed a vanilla 2.4.31 kernel from kernel.org and my system was working great. Then I tried upgrading zaptel to 1.0.9 and now I get unresolved symbols: # modprobe zaptel /lib/modules/2.4.31/misc/zaptel.o: /lib/modules/2.4.31/misc/zaptel.o: unresolved symbol proc_mkdir_R8712438a /lib/modules/2.4.31/misc/zaptel.o: /lib/modules/2.4.31/misc/zaptel.o: unresolved symbol add_wait_queue_R93ee100c
2005 Feb 04
4
HP ProLiant server for Asterisk
I'm looking at ordering a server from HP. I checked around on Google and found in the Wiki that the ProLiant DL380 is supposed to be known to work with *. I'm going to get a price quote on the following setup: HP ProLiant DL380 G4 Server w/ the following options: Intel Xeon 3.20GHz/1MB 2GB REG PC2-3200 (2 X 1GB) HP ProLiant Battery Backed Write Cache Enabler for SA6i RAID 1 drive set HP
2005 Jan 20
7
VoIP-to-TDM processing on-card?
Are there any cards that work with * that do the VoIP-to-TDM processing on the cards, with multiple interfaces? The QuickNet Internet LineJack meets the description I believe, but it only has a single FXS or FXO. Are there any cards that have more than one FXS? Thanks. __ Dana Olson Disclaimer: The information transmitted in this message is intended only for the person or entity to which it
2010 May 11
1
comparing and combing files
Hello, I have two tab-delimited files which I would like to combine. In the first one I have gene IDs (Unique) on column 1 and than various experimental results from microarray analysis (see attached files list1 ) the second arrays have the same genes IDs (more and in a different order, some are double) (see attached files list2 ) What I would like to do is to search in the second list for gene
2009 May 13
5
Help with reshape/reShape and indexing
Dear R Helpers, I have trouble applying reShape and reshape although I read the documentation and several posts, so I would very much appreciate your help on the two points below. I have a dataframe df = data.frame(Name=c("a", "a", "a", "b", "b", "c"), X1=c("12", "13", "14", "20", "25",
2020 May 12
2
Re: Unit libvirtd.service could not be found. on VM
Thanks, Daniel I verified I had libvirt-daemon rpm on my laptop and reloaded its units, but that didn't solve the issue. I then checked the vms- libvirt-daemon rpm was indeed missing on my vms. After I installed it & reloaded its unit files libvirtd.service was found, but as I started it, the error 'operation failed: pool 'default' already exists with uuid
1998 Apr 07
2
Netscape profile scripts?
A while back there was a thread in which many people were discussing how to make Netscape work with roaming profiles. There was some talk about how this would require a script to modify the registry, etc. I just talked to one of the NS programmers who said that the problem would be fixed and even enhanced in a version 4.5. He didn't say whether the 4.5 code was going to be an internal or