similar to: Function to save results

Displaying 20 results from an estimated 500 matches similar to: "Function to save results"

2017 Nov 01
0
Function to save results
Some comments: 1. sink() does not return a value. There is on point to set attr <- sink(...). Just give the command sink("C://....etc") 2. to complete the saving to the file you must give a second sink command with no argument: sink() So your code would be (pseudo-code, not actual code) sink( "filename" ) do something that prints output which will be captured by sink
2017 Nov 01
2
Function to save results
Hi Eric,I tried as you suggested but I could not find the output in the text file I created (attr.txt) net <- loadNetwork("C://Users//Priya//Desktop//Attractor analysis_all genes//synaptogenesis//regulationof_dopamine_signaling_submodule3.txt")sink("C://Users//Priya//Desktop//Attractor analysis_all genes//synaptogenesis//attr.txt") sink() attr <- getAttractors(net,
2017 Nov 01
0
Function to save results
Hi Priya, You did not follow the logic of the pseudo-code. The sink("filename"), sink() pair captures whatever output is generated between the first sink statement and the second sink statement. You need (possibly) to do: sink("C://Users//Priya//Desktop//Attractor analysis_all genes//synaptogenesis//attr.txt") net <- loadNetwork("C://Users//Priya//Desktop//Attractor
2017 Nov 01
3
Function to save results
Hi Eric,Thanks for the explanation. Is there a way to save the results automatically after the analysis gets over?. As I recently lost the results, because I didn't save the results. I don't want to run the sink or save command after the analysis is over rather run the command for saving the file before starting to run the analysis, so the file gets saved automatically after the script has
2017 Nov 01
0
Function to save results
Let's try a simple example. > # Create a script file of commands > # Note we must print the results of quantile explicitly > cat("x <- rnorm(50)\nprint(quantile(x))\nstem(x)\n", file="Test.R") > > # Test it by running it to the console > source("Test.R") 0% 25% 50% 75% 100% -2.4736219 -0.7915433
2017 Nov 01
1
Function to save results
Hi David,Thank you for the example.When I try to use the cat function, I get an error cat(attr<-getAttractors(net, type="asynchronous"))Error in cat(attr <- getAttractors(net, type = "asynchronous")) : argument 1 (type 'pairlist') cannot be handled by 'cat' Please let me know, if I have used the function in right way?. Thank you Priya ?
2017 Nov 01
0
Function to save results
No. You have not used it correctly. It was an example. Put your commands between the two sink functions. That will save any printed out put that results from those commands. It will not save attr, but you did not ask how to do that. David C On Nov 1, 2017 12:21 PM, Priya Arasu <galaxie2485 at yahoo.co.in> wrote: Hi David, Thank you for the example. When I try to use the cat function, I get
2011 Dec 23
2
missing value where TRUE/FALSE needed
Merry Xmas to all, I am writing a function and curiously this runs sometimes on one data set and fails on another and i cannot figure out why. Any help much appreciated. If i run the code below with data <- iris[ ,1:4] The code runs fine, but if i run on a large dataset i get the following error (showing data structures as matrix is large) > str(cluster.data) num [1:9985, 1:811] 0 0 0 0
2003 Aug 04
3
Breusch-Godfrey Test
> Dear R Helpers! > > bgtest{lmtest} performs the Breusch-Godfrey test for higher > order serial > correlation. > > Is the Higher Order Correlation function already programmed in > R I couldn't find it? > > Sergei Petrov > ?acf ?pacf HTH, Bernhard ---------------------------------------------------------------------- If you have received this e-mail
2005 Sep 07
7
Asynchronous IO
Hi, I have installed Xen on Linux 2.6.11.10 <http://2.6.11.10> and i am trying to do Asynchronous Direct IO on SAS drives. The application which does the asynchronous direct io on SAS drive is running on Domain 0. Actually the IOPs what i get for a 512Bytes IO size is 67, but if i do the same operation on Linux 2.6.11.10 <http://2.6.11.10> native kernel, i get 267 IOPs.Cananyone
2009 Jul 01
5
Xen time drift issues
Hello everyone! I been observing some peculiar time drift on my Xen domains (dom0 and domUs). The time (as returned by timeofday) on my domains drifts at an almost steady rate from the real time ( as read from the time stamp counter ). The drift is so constant that it makes me think there should be some simple explanation for it in the way Xen keeps time. Some info about my set up: guest OS:
2009 Apr 17
4
unable to find any probes from the nfs provider
I want to list/use the nfs probes but I get the error "dtrace: failed to match nfs*:::: No probe matches description". Is there a way to enable nfs provider probes? My system is running snv_112 (bfu''ed from the gate archive) # dtrace -lP nfs* ID PROVIDER MODULE FUNCTION NAME dtrace: failed to match nfs*:::: No probe matches
2010 Aug 31
30
Xen 4.0.1 on Ubuntu Lucid 10.04 - Desktop / Server - 64 Bits - With OpenGL (Intel GEM) enabled - From Linuxcon Brazil! :-D
Guys! Tomorrow in my "live" presentation at Linuxcon Xen Directions! I''ll show the Xen Live CD to the public! To celebrate! I want to share my last procedure to get and run Xen 4.0.1 on Ubuntu 10.04 64 bits, here we go: The procedure: 1- Install all the packages: aptitude update aptitude install bridge-utils build-essential libncurses5-dev dpkg-dev debhelper
2012 Sep 12
8
Round off method in 1.8.7
Hi all i am trying to use round method if have a value 2.08 i want it as 2.1 and it worked in 1.9.2 but not in 1.8.7 is there any other way of doing it. USING 1.9.2 1.9.2p320 :001 > 2.08.round(1) => 2.1 1.9.2p320 :002 > 2.04.round(1) => 2.0 USING 1.8.7 irb(main):001:0> 2.08.round => 2 irb(main):002:0> 2.08.round(1) ArgumentError: wrong number of arguments (1 for
2012 Sep 11
10
wickedpdf
Hi all i''m trying to generate pdf and i got this error Location of wkhtmltopdf unknown and i also get Bad wkhtmltopdf''s path gpa/vendor/plugins/wicked_pdf/lib/wicked_pdf.rb:26:in `initialize'' /EDWARD/_gpa/vendor/plugins/wicked_pdf/lib/pdf_helper.rb:53:in `new'' /EDWARD/gpa/vendor/plugins/wicked_pdf/lib/pdf_helper.rb:53:in `make_pdf''
2012 Oct 27
7
Photo Paperclip::CommandNotFoundError
Hi all, I am using paperclip plugin. when i am trying to upload photo i am getting this error " Photo Paperclip::CommandNotFoundError " and i am getting this error on my server production mode. if i run on development mode on my server i can able to upload the pic. why this is happening i have no idea. can any help me out. Cheers, Kp -- You received this message because
2011 Oct 11
2
ROR Development Assignments at Pune
Hi, Am using ab(Apache Benchmark) for load test in my rails app. ab -n10 -c10 -p ~/post_data_ab.txt -T "multipart/form-data; boundary=1234567" http://localhost:3000/albums ... I have used the above command for testing upload photos. But am getting error which I don''t know how o handle. Can anyone help? Btw, I also need few teammates to handle development & bug fixing for
2008 Feb 12
1
measuring sleep time in synchronization objects
Hi, I am fairly new to DTrace, and wanted to ask something regarding synchronization objects. I have a multithreaded C++ program in which I use semaphores (POSIX version) for synchronization. I was interested in using DTrace to figure out the total time for which each thread in my application sleeps, blocked on a semaphore, i.e., as a result of sem_wait() call. In order to measure this, I
2024 Jun 26
2
Regarding the Security Vulnerability CVE 2024 - 27322
Dear Aishwarya Priyadarshini, Welcome to R-help! Most people here aren't affiliated with R Foundation. ? Wed, 26 Jun 2024 17:03:37 +0000 "Priya, Aishwarya via R-help" <r-help at r-project.org> ?????: > I am reaching out to seek your guidance on addressing the security > vulnerability CVE-2024-27322. > To address this issue effectively, it appears that we need to
2009 Apr 23
1
Dtrace provider for the COMSTAR iscsi Target Port Provider - Review Request
The iscsit_dtrace_draftv5.txt describes the Dtrace probes definition for the COMSTAR iSCSI target port provider. For all those interested in iSCSI, please take a look and send me your feedback/questions/suggestions etc by Thursday, April 20, 2009 thanks Priya -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: iscsit_dtrace_draftv5.txt URL: