search for: _apply

Displaying 4 results from an estimated 4 matches for "_apply".

Did you mean: apply
2009 Jun 22
2
question about using _apply and/or aggregate functions
...ial sales data needed to "prime" the simulation is in the other attached file ("generic_data.csv"). The relevant section of my code is at the bottom of the .R file after the end of the outer loop. I've tried to provide meaningful comments. I've read the help files for _apply, aggregate, arrays and data types, and have also consulted with several texts (Maindonald and Braun; Spector; Venebles and Ripley for S-plus). Somehow I still don't get it. My attempts usually result in a message like the following: > agg.result = aggregate(simarray.part[,3], by=list4, FU...
2009 Apr 28
1
Package Updater problems
...on). --------------------------------------------------------------------- 1: Updated file packages available Component: pirut Summary: TBe8ae967a sqlitesack.py:94:_read_db_obj:TypeError: unsubscriptable object Traceback (most recent call last): File "/usr/sbin/pup", line 407, in _apply output = self.applyChanges(self.mainwin) File "/usr/lib/python2.4/site-packages/pirut/__init__.py", line 813, in applyChanges self.checkDeps(mainwin) File "/usr/lib/python2.4/site-packages/pirut/__init__.py", line 550, in checkDeps (result, msgs) = self.buildTr...
2009 Apr 13
1
Possible bug?
...hing. My webserver is down, and I'd sure like to get this fixed if anyone can help out. Begin errors: Component: pirut Summary: TBe8ae967a sqlitesack.py:94:_read_db_obj:TypeError: unsubscriptable object Traceback (most recent call last): File "/usr/sbin/pirut", line 373, in _apply output = self.applyChanges(self.mainwin) File "/usr/lib/python2.4/site-packages/pirut/__init__.py", line 813, in applyChanges self.checkDeps(mainwin) File "/usr/lib/python2.4/site-packages/pirut/__init__.py", line 550, in checkDeps (result, msgs) = self.buildTr...
2010 Aug 24
3
multiple assignments ?
Simple one, have read and googled, still no luck! I want to create several empty vectors all of the same length. I would like multiple empty vectors (vec1, vec2, vec3) and want to create them all in one line. I've tried vec1,vec2,vec3 <- vector(length=5) and c(vec1,vec2,vec3) <- vector(length=5) and several other attempts but nothing seems to work ... suggestions? Thanks Jim