similar to: saving and loading complex objects

Displaying 20 results from an estimated 120 matches similar to: "saving and loading complex objects"

2012 Jul 28
1
using save() to work with objects that exceed memory capacity
Context: I'm relatively new to R and am working with very large datasets. General problem: If working on a dataset requires that I produce more than two objects of roughly the size of the dataset, R quickly uses up its available memory and slows to a virtual halt. My tentative solution: To save and remove objects as they're created, and load them when I need them. To do this I'm
2002 Oct 23
3
How to pipe debugmsg to a file?
Is there a wine option to send the log output to a file? I'm doing the following: wineconsole --debugmsg +all program_name parm1 parm2 parm3 > /mylog.txt mylog.txt is not receiving a copy of the millions, nay billions!, of messages output. I'm using Redhat 7.3 and the 10/07/2002 RPMs. - Bill
2006 Aug 10
1
Passing parameters defined in a function or something
Hi, I have method I want to call ... it can receive * number of parameters. I also have 3 parms that I want to pass often, so I have defined them in a separate function: def my_params { :parm1 => 1, :parm2 => 2, :parm3 => 3 } end And I want to call my method like this: mymethod :parm4 => 4, my_params Now - this doesn''t work - as my_params is a hash of params, which
2004 Nov 08
3
location of key in panels of trellis plot
Hi, I want to insert a key into each panel of a trellis plot, which I can do with a custom panel function that calles draw.key. The problem arises because I want the top right hand corner of the key to start in the top right hand corner of the panel. If you run my code below, you can see that the key appears in the center of each panel. This is because the default viewport in draw.key is the
2010 Dec 22
2
how to pass object "members" in functions
Hello, This is an R-syntax question when attempting to manipulate/access objects when passed to a function. I have a function attempting to just print values attached to an argument object. For example, printThis <- function(obj, parm2, parm3) { print(obj.stuff1) print(obj.stuff2) } where I've assigned stuff1 and stuff2 to the actual object passed as such actualObject.stuff1 <-
2011 Sep 22
1
escribir modelo libreria e1071 en un archivo
Hola a todos, Estoy utilizando la libreria e1071 para clasificar unos datos. Me gustaría poder guardar los modelos en el disco duro y no en memoria de R. He visto que hay una función: save : que guarda el modelo en memoria y load: que carga ese modelo Ejemplo: #saving the best model save(calibrate.rf.model1, file=''bestmodel.rda'') #loading the best model
2011 Oct 24
1
bestglm function and output in R
Hi all, I have been trying to run a bestglm in R for a while now and am struggling to get it to run. When I thought I had succeeded, the "output" it gave me was "NULL" and that's it. Below is my code: bestglmtest<-read.table("C:\\Documents and Settings\\clyons\\Desktop\\bestglmtest.txt",header=T,row.names=1) > names(bestglmtest) [1] "acc"
2007 Feb 17
0
MCMC Pack Crashes R-GUI session (PR#9516)
Full_Name: Lloyd Lubet Version: 2.4.1rc OS: XP Submission from: (NULL) (65.19.17.17) Dear Andrew, I am trying to learn gibbs sampling and Metropolis. When I run your gibbs version of multiple linear regression my session crashes. I have trimmed the dataframe and set my object.size = 1 gigB. Despite my best efforts it still crashes while advising me to contact the MCMC Pack developement team.
2018 Jun 01
0
Issue with batch forecasting of Time series data
Hi, i have a weekly data for servers for 62 weeks. want to predict the cpu% for next 5 weeks.I am trying to forecast for many servers at once but with the code i am getting only one week of future forecast for all the servers. Also the week date for the predicted week is showing as the last week of the original data . Need help in two things How can i change the date for the predicted week, and
2018 May 27
0
Help required in Batch Forecasting
Hi I am trying to forecast for multiple server for CPU Utilization , But currently i am getting it for for one week , when ever i am trying to get more than one week it gives me error. Secondly in the one week forecast values i am getting the weekend date as the last week end in the original data set , where as it should be one week after that . Below is my code Let me know if anything else is
2015 Jul 07
1
Replacing cpu
On 07/06/15 22:22, jd1008 wrote: <<>> > I plan to do both :) > This is why I use AmEx. > They fully refund for merchandise that does not work. > They are able to extract that from the merchant. > Don't ask me how :) They have done it for me before. it is in the 'toa', 'terms of agreement'. credit card companies require signing agreement before they
2011 Feb 22
1
http://www.linuxquestions.org/questions/showthread.php?p=4266798#post4266798
Hi, We set up a new mail server and moved users' "cur,new and tmp" folders only into new mail server from old server.In other words we did not copy and paste dovecot.index,dovecot-uidlist,etc into new server from old server because they were created automatically.After bringing the new server up,users(microsoft office outlook) complained their imap folders are missing.I investigated
2005 May 09
0
RE: Asterisk at home with Broadvoice?
As a general rule of thumb it would be good to make the distinction between 'Credit Card' and 'Debit Card' too. If possible, never ever use a debit card for online purchases. It taps directly into your account and removes REAL money. Credit cards are 'virtual' money in that they are credit and your cash in account remains untouched. That way if your credit card account
2007 Mar 14
2
SOS: PROBLEMA formulario web en ruby
Hola, Somos estudiantes de universidad y nos has pedido la traducción de un código de php a ruby y la verdad es q no tenemos ni idea :S. La idea es que tenemos una web con un formulario de subscripción a algo... Nuestro trabajo es recoger los parámetros que nos pasan y luego mostrar por pantalla los parámetros comentando que la operación se ha realizado correctamente etc.... Sabemos hacerlo con
2006 Mar 14
4
has_one
I''ve got an order model that stores order data. One piece of data is a credit card type, which is a digit 1,2 or 3. I have a cardType model that has an id, shortName and LongName for the credit card merchant (visa, mastercard, amex). I want to be able to say: order.cardType.shortName, but can''t seem to get has_one working. It works with has_many and a finder_sql statement on
2015 Jan 23
0
Your Message is Ready
YOUR MESSAGE IS READY Dear Customer, ------------------------- Please download document from dropbox, payment advice is issued at the request of our customer. The advice is for your reference only. Download link [1] As a reminder, you can access your secure messages anytime by visiting https://www.americanexpress.com/ [2]. Thank you for your Cardmembership. Sincerely, American
2002 Dec 04
0
Fundraising Secrets
2007 Jan 25
8
Mongrel with mephisto on a Virtual Private Server
Hello everyone, I am trying to setup Mongrel to work with Apache on a VPS as part of a mephisto installation. Has anyone done this, and if so how did you edit your conf file to make it work? I used the info found on the mongrel site at: http://mongrel.rubyforge.org/docs/apache.html<http://mongrel.rubyforge.org/docs/apache.html> and one time I did get a mephisto splash screen, but it was
2007 Jan 14
3
Podcast API?
Hi, I''m looking into developing an API for publishing videso/audio/etc to iTunes using Rails. Has anyone done anything like this? or can point me in the right direction? The web doesn''t seem to have anything on it, regarding Rails or other technologies. Thanks --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the
2006 Mar 20
16
logic inside a view file
I am quite certain I have heard it said not to put business logic inside view code but I have a report that I want to display 3 different possibilities of text based upon the value of a column. Would I just take the same type of if/then logic that I would use in a controller and put it inside erb <%= %> stuff? Craig