similar to: how to do $pVar ++

Displaying 20 results from an estimated 4000 matches similar to: "how to do $pVar ++"

2009 Sep 20
1
perl functions in R enviroment
dear all, I am trying to implement some perl scripting in R to improve the performance of some scripts. I found RSPerl library, but it seems to be quite tricky to import variables. this is a simple example. is there any simpler way to do it? furthermore is there any other available resource to interface the two language? RSPerl seems to be no longer supported and when I load it R complains about
2005 Oct 13
0
Maps package, coloration
I am having some trouble getting the colors correct on county maps using the maps package. I have a data.frame that contains coloration data for every county -- it also contains a variable 'mapm' which fits the 'state,county' format used in the mapping package. I use this to define colors from a range of 1:100. The problem is that the colors seem good for some states/counties,
1999 Nov 25
1
gnls
Doug, I have been attempting to learn a little bit about nlme without too much documentation except the online help. The Latex file in the nlme directory looks interesting but uses packages that I do not have so that I have not been able to read it. I have run the example from gnls to compare it with the results I get from my libraries (code below - I have not included output as it is rather
2002 Sep 09
1
impulse response function
Hi, Is there a function in any of R-packages that can produce and plot the impulse response function for any model.. Thank you Ahmad Abu Hammour -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body",
2006 Jul 07
3
calculate number of months difference between two dates
hi, Is there an easy way of calculating the difference in months between two dates in a controller. thanks -- Posted via http://www.ruby-forum.com/.
2002 Aug 02
2
More spec notes
A few more notes on the specs -- I just spent a few minutes and did up floor 1 header decode. Short and sweet, but still important. Monty, please read these and my several earliers -- I'm trying to improve and validate the spec for your codec, and though I understand you were taking a break before, a reply would be appreciated. Note (again, if you read my other emails) that if you help me get
2006 Feb 21
7
Self-referencial habtm relationship
Heyo! I am setting up a self-referencial habtm relationship with the users of my app. I am using Chad Fowler''s "Rails Recipes" to get me started, and everything works great with the join table "people_friends". I add friends by doing somebody.friends << somebodyelse. However, with my app, there is an approval process so my join table has columns person_id,
2006 Feb 06
4
Relationship Question (STI)
My girlfriend and I have been dating for two years, and she just told me she has an STI... Actually, I currently have three different models, like: Dog, Whale, Monkey They all have some similar attributes, but, they are unique enough to break into their own models. I could use STI, but I think the table would just have too many columns. Now, I wanted to let the Dog''s, Whale''s
2006 Feb 06
6
ActionMailer - ROR Recipes - Multipart/alternative
I am using the SaltedHashLoginGenerator. and would like to send the e-mail in multipart/alternative format. By default my application is using forgot_password_en.rhtml template. I read in the ROR Recipes book "ActionMailer sees these templates, recognizes the pattern in their file names, and automatically sets the MIME type of the message to multipart/alternative and adds
2006 Mar 08
3
migrations schema_info table, Rails Recipes Bug?
I have the rails recipes book and i was going through the migrations recipe. Everything seemed to work except for the last part in trying to do a rake migrate with a migration file version 1 and the schema_info version set to 0. Without the force attribute, the rake migration fails, as expected. So the recipe says to run this: ruby script/runner
2005 Mar 06
2
Ices0 v. 0.4 Skip Song
Hello all Ive just discover that ices0 can encode {.ogg,.flac,.mp3} to mp3 streams!.. greate! the script thing is wonderfull. in my script i have defined ices_init ices_shutdown ices_get_next all works greate. Now, i want be able users to skip the song that is been streamd. for that, kill -s SIGUSR1 IcesPid works greate but.. for the songs i have setup a ranking field in a sql database.
2005 Apr 28
5
fcgi woes
Hi all I''m running rails on apache with fcgi under windows I have a module which I''ve included in one of my models, but if I change any code in the module, i have to restart apache in order for the changes to take effect. i tried some suggestions from folks in the IRc channel, namely to put RAILS_ENV = ''development'' in environment.rb but that doesn''t
2006 Mar 31
3
RJS templates outputting bloated code?
I''m an RJS newbie. I just did the tutorial at http://www.codyfauser.com/articles/2005/11/20/rails-rjs-templates, and then used wget to look at the output the RJS template generates. This is what I got: try { new Insertion.Bottom("list", "<li>Fox</li>"); new Effect.Highlight("list",{duration:1}); Element.update("header", "RJS
2002 Sep 09
0
Function: VECM (Johansen)
[message bounced because of "octet-stream" attachment which are not allowed in our mailing lists; manually fixed and approved, MM] Dear R-list, R: 1.5.1 OS: Windows NT additional packages needed: tseries for those of you who are interested, pls. find attached a function for estimating VECM's by employing the method of Johansen (see for example: Hamilton,
2006 Jan 16
11
Plans to intigrate ObjectGraph in to Rails
Are there any plans to move the schema definition from migrations to the model, where it should be? Like og does, which I think is used by the ruby Nitro framework... ObjectGraph: http://www.rubygarden.org/index.cgi/Libraries/og_tutorial.rdoc Example code: [code] class Post property :title, String, :sql => ''VARCHAR2(32) NOT NULL'' property :body, String property
2006 Aug 06
1
writing a plugin
Hi, Does anyone know of any complete tutorials that show the basics of writing a rails plugin? thanks scot -- Posted via http://www.ruby-forum.com/.
2006 Jul 05
2
get value from array.
hi, Im running the following sql statment which returns 1 result. pSql = "SELECT sum(amount) FROM payments WHERE expected_pay_date LIKE ''"+pWholeDate+"%'' AND invoice_id IS null " aResult = Payment.find_by_sql(pSql) how can I get the result of this? (when doing @aResult.inspect it
2006 Jul 05
3
display message when not running off the production database
Hi, Is there a way to output a message to the top of every page when the rails application is not running from the production database? Thanks -- Posted via http://www.ruby-forum.com/.
2006 Jul 16
2
how does base camp manage there accounts
hi, Cant find any information this anywhere so was wondering if anyone had any ideas. Basically when you go to basecamp.com it allows you to sign up for a account and gives you a url username.projectpath.com I was just wondering how they do this, and if each account has there own database or if it is all stored in one. thanks scott -- Posted via http://www.ruby-forum.com/.
2006 May 25
3
"Page has expired" problem
Folks, I''ve written a simple, multi-page Rails app which works fine except for one thing: often when my users click the browsers BACK button, they receive the "Warning: Page has Expired" message in IE, with the suggestion to hit the refresh button. If they do hit refresh, they are told that the information will be sent back to the page, and they have to hit "Retry"