search for: objectname

Displaying 20 results from an estimated 51 matches for "objectname".

2006 Mar 30
1
Passing values to a Partial
Hi, I cannot seem to find out how to pass in a value to a partial. Can anyone help me? What I am doing(in the code below) is calling a function in my controller called setobject. This function just redraws the partial. I want to be able to change the value @objectname, redraw my partial and have it be able to use that value. The first the page is drawn it works, but when i call setobject it says that @objectname is null in my partial and it throws an error. Code follows. In my index.rhtml I have the following: <%= render :partial => "propertie...
2010 Aug 18
4
Using objectname in function
Is there anyway I can convert a vectors objectname to a string to be used in fx: Monkey<-c(0,0,0,1,1,1) Wax<-c(1,0,1,0,1,0) f<-function(x,y){ table(x,y) } f(Monkey,Wax) so that the printout is not y x 0 1 0 1 2 1 2 1 but Wax Monkey 0 1 0 1 2 1 2 1 -- View this message in context: http://r.789695...
2008 Dec 12
2
Extracting the name of an object into a character string and vice versa
...ling to map a character string to an object name and vice versa in R. I thought the as.name() function might work, but observe the following behaviour ... > attach(warpbreaks) > levels(tension) [1] "L" "M" "H" > levels(as.name("tension")) NULL > objectname<-as.name("tension") > objectname tension > levels(objectname) NULL So even though it sets up a symbol, this symbol isn't recognised as an object name by functions such as levels(). I need 2 functions, call them A and B such that A("tension") yields the object name...
2012 Jul 28
1
using save() to work with objects that exceed memory capacity
...d then save it follows: > mat<-matrix(1:9,3,3) > save(mat, file="matfile") Then I get a file of the kind I'd like: the command 'load("matfile")' retrieves the correct matrix, with the original name 'mat'. Further, if I instead save it this way: > objectname<-"mat" > save(list=ls(pattern=objectname), file="matfile") then I get the same positive result. But now suppose I create a function > saveobj <- function(objectname,objectfile) + { + save(list=ls(pattern=objectname),file=objectfile); + return()}; Then if I...
2003 Mar 11
1
objectname completion
Dear R users, is there any possibility to get an object-name completion within the R command line (UNIX-version of R). As I got to know from the FAQ that this is possible from within Emacs (ESS), but without using Emacs? Thank's Ingo -- ----------------------------------------------------------------- Ingo Roeder Institute for Medical Informatics, Statistics and Epidemiology
2007 Mar 08
3
Problem loading data from database
...9;m using Rails 1.2.2 on Fedora Core 6 and Sybase adapter. This worked fine when application run under Rails 1.1.6 but now I''m migrating to 1.2.2 and have some problems. At browser I got: SQL Command for table_structure for tplib_bckps failed Message: schema_info not found. Specify owner.objectname or use sp_help to check whether the object exists (sp_help may produce lots of output). And in the log file: Setting row count to (0) SQL Command failed! ** SybSQLContext Server Message: ** Message number 208 Severity 16 State 1 Line 1 Server SYBDESA Procedure Message String: schema_info...
2010 Nov 24
1
diverting output from nested loops
..., K, sep="")) topDirMake <- dir.create(topDirName) for (L in ...) { subDirName <- as.character(paste("subName", L, sep="")) subDirMake <- dir.create(subDirName) ... manipulate object ... for (M in ...) { objectName <- as.character(paste("objName", M, ".pdf", sep="")) pdf(objectName) plot(object) dev.off() } } } [[alternative HTML version deleted]]
2012 Jun 10
1
HELP: ff package
I use the ff-package for large data and have good success in session. To ensure my data is available for the next R session, I save my workspace and use the /ffsave/ command to archive my large data objects. Syntax is simple: > ffsave(file="~/path/archiveName", list="objectName") when I have multiple files to save, the list is expanded using c(). When I start a new R session, I load the ff-package again and use /ffload/ to retrieve my data. Syntax is simple: > ffload(file="~/path/archiveName", list="objectName") If my workspace is emply, I...
2009 Apr 16
1
AMI IAXPeers
Is there any reason why IAXPeers output is different from SIPPeers output? The response has no Eventlist: start Ej. Response: Success Eventlist: start Message: Peer status list will follow Event: PeerEntry Channeltype: SIP ObjectName: 1001 ChanObjectType: peer IPaddress: 192.168.175.1 IPport: 63772 Dynamic: yes Natsupport: no VideoSupport: no TextSupport: no ACL: no Status: Unmonitored RealtimeDevice: yes Event: PeerlistComplete EventList: Complete ListItems: 1 Response: Success Message: Peer status list wil...
2011 Nov 09
3
R to automate scatter plots
...ed to use as variable to name each pdf this object is the name of last file in loop data <- read.csv(files[i]) # I want to name the pdf the same name as the object with a .pdf extention here I think it will be file[i].csv.pdf # I don't know how to use regex in R I could readLines(objectnames.txt) and loop through those as well pdf("data.pdf") plot(data$fpkma,data$fpkmb, main="Scatter plot of data",xlab="FPKM of First Time Point",ylab="FPKM of Second Time Point") dev.off() } # change back to the original directory setwd(initial...
2005 Mar 10
4
error messages, loops and saves, actionmailer and finaly authentication
...a couple new things. I think I prefer the mailing list over IRC... easier to follow :-) I have some more questions if you don''t mind. Some are Rails related and some are Ruby related. 1) This is concerning displaying error messages. I am assuming I should use error_messages_for "objectName". So there are a couple questions that go with this. a) If there is no errors being passed to the action then I get an error. How do I check to see if an error is being passed and if so show error_messages_for? b) From what I understood while playing around if I use a render_action the erro...
2007 Jun 12
1
Viewing a data object
Dear list, First apologize that this is trivial and just betrays my slothfulness at the keyboard. I'm sick of having to type a long name just to get a glimpse of something. For example, if my data frame is named 'AuroraStochasticRunsJune1.df" and I want to see what the middle looks like, I have to type AuroraStochasticRunsJune1.df[ 400:500, ] And often I'm not even sure rows
2016 Mar 23
2
Error in Second Samba Domain Controller
...rsException: DRS connection to ip-172-31-15-16.ad.mydomain.com <http://ip-172-31-15-16.ad.mydomain.com/>< <http://ip-172-31-15-16.ad.mydomain.com/>http://ip-172-31-15-16.ad <http://ip-172-31-15-16.ad/> .mydomain.com <http://mydomain.com>> failed: (-1073741772, 'The objectname is not found.')** File "/usr/local/samba/lib/python2.7/site-packages/samba/netcmd/drs.py",line 39, in drsuapi_connect** (ctx.drsuapi, ctx.drsuapi_handle, ctx.bind_supported_extensions) =drs_utils.drsuapi_connect(ctx.server, ctx.lp, ctx.creds)** File "/usr/local/samba/lib/pyt...
2013 Jan 14
3
Samba4 AD delegation to read userPassword attribute
...on: userPassword --------------------------------------------------- As a result I get: --------------------------------------------------- Lightweight Directory Access Protocol LDAPMessage searchResEntry(2) "CN=someuser, OU=USER,DC=example,DC=de" [1 result] ... searchResEntry objectName: CN=someuser, OU=USER,DC=example,DC=de attributes: 1 item PartialAttributeList item mail type: mail vals: 1 item AttributeValue: someuser at exchange.de --------------------------------------------------- So unfortunately the "userPassword" attribute i...
2009 Oct 08
2
Server-side scripting when SIP phones register
Hi, Some IP Phones (Aastra) are able to send a custom HTTP request just after registration completion. Using this, it is possible to update phone's screen with messages like "Do Not Disturb" or "Forwarded To VM". RFC 3680 (http://www.faqs.org/rfcs/rfc3680.html) provides a mecanism to support these interactions. To my knowledge, this RFC is not implemented yet in
2008 Mar 10
2
The server is configured to refuse --iconv
...;ErrorControl"=dword:00000001 "ImagePath"=hex(2):43,00,3a,00,5c,00,63,00,77,00,52,00,73,00,79,00,6e,00,63,00,\ 5c,00,62,00,69,00,6e,00,5c,00,63,00,79,00,67,00,72,00,75,00,6e,00,73,00,72,\ 00,76,00,2e,00,65,00,78,00,65,00,00,00 "DisplayName"="RsyncServer" "ObjectName"=".\\stuart" "Description"="Rsync - open source utility that provides fast incremental file transfer" "FailureActions"=hex:00,00,00,00,00,00,00,00,00,00,00,00,03,00,00,00,50,00,70,\ 00,01,00,00,00,20,bf,02,00,01,00,00,00,20,bf,02,00,01,00,00,00,20,bf,0...
2018 Jan 27
2
Newbie wants to compare 2 huge RDSs row by row.
If your two objects have class "data.frame" (look at class(objectName)) and they both have the same number of columns and the same order of columns and the column types match closely enough (use all.equal(x1, x2) for that), then you can try which( rowSums( x1 != x2 ) > 0) E.g., > x1 <- data.frame(X=1:5, Y=rep(c("A","B"),c(3,2))) >...
2016 Mar 26
1
Error in Second Samba Domain Controller
...2-31-15-16.ad.mydomain.com >> <http://ip-172-31-15-16.ad.mydomain.com/>< >> <http://ip-172-31-15-16.ad.mydomain.com/>http://ip-172-31-15-16.ad >> <http://ip-172-31-15-16.ad/> .mydomain.com <http://mydomain.com>> failed: >> (-1073741772, 'The objectname is not found.')** File >> "/usr/local/samba/lib/python2.7/site-packages/samba/netcmd/drs.py",line >> 39, >> in drsuapi_connect** (ctx.drsuapi, ctx.drsuapi_handle, >> ctx.bind_supported_extensions) =drs_utils.drsuapi_connect(ctx.server, >> ctx.lp, ctx....
2016 Apr 05
0
[PATCH 3/7] customize: add support for pvvxsvc
..."Start", REG_DWORD 0x2_l; - "ErrorControl", REG_DWORD 0x1_l; - "ImagePath", - REG_SZ (firstboot_dir_win ^ "\\rhsrvany.exe -s firstboot"); - "DisplayName", REG_SZ "Virt tools firstboot service"; - "ObjectName", REG_SZ "LocalSystem" ]; - - [ current_cs; "services"; "firstboot"; "Parameters" ], - [ "CommandLine", - REG_SZ ("cmd /c \"" ^ firstboot_dir_win ^ "\\firstboot.bat\""); - "PWD",...
2018 Jan 28
0
Newbie wants to compare 2 huge RDSs row by row.
...rom: William Dunlap [wdunlap at tibco.com] Sent: Saturday, January 27, 2018 4:57 PM To: Marsh Hardy ARA/RISK Cc: Ulrik Stervbo; Eric Berger; r-help at r-project.org Subject: Re: [R] Newbie wants to compare 2 huge RDSs row by row. If your two objects have class "data.frame" (look at class(objectName)) and they both have the same number of columns and the same order of columns and the column types match closely enough (use all.equal(x1, x2) for that), then you can try which( rowSums( x1 != x2 ) > 0) E.g., > x1 <- data.frame(X=1:5, Y=rep(c("A","B"),c(3,2))) >...