similar to: Help on R functions

Displaying 20 results from an estimated 300 matches similar to: "Help on R functions"

2013 Sep 16
3
[LLVMdev] Ambiguity in LLVM IR for global variable sections
What do we expect from the following IR? @i2 = constant i32 30, section "INITDATA", align 4 @i1 = global i32 0, section "INITDATA", align 4 Currently, we stick them in one section that isn't writable which is problematic because @i1 is writable. If you flip @i1 and @i2 you get one section which is writable. It seems like we should do one of the following: 1. Two
2013 Nov 18
1
Reading in csv data with ff package
I've spent some time trying to wrap my head around reading in large csv files with the ff-package. I think I know how to do it, but am bumping into some problems. I've tried to recreate the issues as best as I can with a smaller example and maybe someone can help explain the problems. The following code just creates a csv file with an integer column, character column and logical column.
2010 Dec 24
1
How to specify ff object filepaths when reading a CSV file into a ff data frame.
Hi, The read.csv.ffdf function in package ff will create the ff object physical file in the default directories, I am trying to let the files created in the paths users specify, I think the point is to make use of the asffdf_args parameter, I have a test CSV file named D:\rtemp\fftest.csv, the content of the file is as following: col1,col2,col3 1,"amber",2.4 2,"linda",4.5
2013 Oct 07
0
[LLVMdev] Ambiguity in LLVM IR for global variable sections
On 15 September 2013 21:40, David Majnemer <david.majnemer at gmail.com> wrote: > What do we expect from the following IR? > > @i2 = constant i32 30, section "INITDATA", align 4 > @i1 = global i32 0, section "INITDATA", align 4 > > Currently, we stick them in one section that isn't writable which is > problematic because @i1 is writable. If you
2004 Dec 19
1
Can I calculate the area of a polygon?
Hello, I'm verry new in R. My Problem: I have a PostgreSQL-Server with installed support for the R-Language. And now I have a table with a Polygon like this: test_db=# select * from geo where id=1; id | koerper ----+--------------------------------- 1 | ((0,0),(0,2),(2,2),(3,3),(5,0)) (1 row) Now, I need to know the area of this object. Please, can you tell me, if it
2010 Aug 13
0
some helpful tips on using RODBC
Hey everyone, I don't have a question. Instead some helpful advice with things I've learned from trying to connect 'R' to databases using RODBC. ROBDC is a very handy tool that, once you have everything fixed up nicely, is a great way to have scripts run fairly autonomously, safe in the knowledge that data isn't accidentally messed up. But I was fairly ignorant
2009 Dec 14
1
AGI with PHP
Hi All, I'm having problems getting results from a PHP file. This is what the CLI is showing. -- Executing [111 at internal:1] AGI("Console/dsp", "GoTalk.php") in new stack -- Launched AGI Script /var/lib/asterisk/agi-bin/GoTalk.php [Dec 14 11:57:25] ERROR[20260]: utils.c:1019 ast_carefulwrite: write() returned error: Broken pipe If I run the PHP file from
2011 Feb 02
1
Error of 'memory not mapped' in ff Package with VirtualBox
Dear R Helpers, I would like to report on an error in the ff package here. The ff package is an R package which enables us to store large data on disk systematically and have fast access to the database. I used the package in Linux as a guest OS of VirtualBox, and executed the following commands. library(ff)
2006 Aug 18
0
ActiveRecord Benchmarking
I''m running a benchmark to check database performance. I don''t quite understand the results. The benchmarking code looks like this class DBTable < ActiveRecord::Base ActiveRecord::Base.establish_connection( :adapter => "mysql", :socket => "/var/lib/mysql/mysql.sock", :username => "..user..",
2013 Sep 09
1
Package installation and path.package
Dear R-Devels, I am writing right now my own package that makes use of 'tempfile' and there within with 'path.package'. When I install it, I get the error: Error in path.package("mypackage") : none of the packages are loaded. Here is the code, I use in my package: ".defaultDBPath" <- function() { db.path <- tempfile(pattern =
2013 Oct 11
1
[LLVMdev] Ambiguity in LLVM IR for global variable sections
I've come around and believe #3 is the right answer. Better yet, we should give a way to specify the section attributes somewhere explicitly and only infer them as a fallback. On Mon, Oct 7, 2013 at 7:45 AM, Rafael EspĂ­ndola <rafael.espindola at gmail.com > wrote: > On 15 September 2013 21:40, David Majnemer <david.majnemer at gmail.com> > wrote: > > What do we
2010 Aug 01
1
How to create ff objects from database connection
Hi Does anybody know how to create ff objects with data reading from stream objects, such as data reading from PostgreSQL database through RPostgreSQL. For this purpose although we can save the data to a csv file through external tools and then read it through csv readers, but it requires one more data read and write operation, which is of high I/O cost for large datasets. Xiaobo.Gu
2012 Mar 30
3
ff usage for glm
Greetings useRs, Can anyone provide an example how to use ff to feed a very large data frame to glm? The data.frame cannot be loaded in R using conventional read.csv as it is too big. glm(...,data=ff.file) ?? Thank you Stephen B
2002 Mar 20
0
Question re:S4 classes and design; clashing classes?
On Wed, 20 Mar 2002, John Chambers wrote: > It wasn't entirely clear what your design goals were, but the general > question of comparing functional method languages (S, CLOS, Dylan) and > OOP languages (Java, etc) is of much interest to me, so here are some > general comments. Maybe we can then iterate on your example, with or > without r-devel. I'll keep it on r-devel
2007 Jul 26
0
Rake task database to XML export
Hi all... I am a new bie of ruby rails. i was working with some task to get a database table to be exported in to an XMLFile. I need to write a raketask for that. Can some one please help me with some good stuff having with you regarding the rake task file written to do that dbtable to xml file file conversions. Please help me with some sample code or links Thanks to all in advance --
2012 Apr 10
4
TinyTds::Client.new() gives an error "undefined symbol: dbsetluser"
Hello Dear experts, I am new to Ruby on Rails. Though I want to access to MSSQL 2005 from ruby. I installed tiny_tds using following commands: >sudo apt-get install freetds-dev >gem install tiny_tds And now when I executed @client = TinyTds::Client.new( :username => ''username'', :password => ''password'', :host =>
2007 Mar 19
2
Wine crash
Hello, I can't use Wine from version >=0.9.18 anymore. It compiles ok and then it crashes somewhere in the middle of installation, I think when Wine tries to execute something. Even when I try to run winecfg it crashes. It worked with Wine version 0.9.17 and lower. Anyone have any idea what's wrong ? I'm running Slackware 10.0. Below is what happens when I try to run winecfg.
2013 Sep 18
1
Design for classes with database connection
Dear R-Devels, I am designing right now a package intended to simplify the handling of market microstructure data (tick data, order data, etc). As these data is most times pretty huge and needs to be reordered quite often (e.g. if several security data is batched together or if only a certain time range should be considered) - the package needs to handle this. Before I start, I would like to
2007 Jun 01
2
another RFC patch: bzImage with ELF payload
OK, here's another go-around. This patch leaves the bzImage itself unmodified, but it changes the payload into an ELF file. That is, the 32-bit decompression/relocation+compressed kernel is now a properly formed ELF file. One thing that fell out of this is that code32_start end up being a pointer to the ELF header rather than an entrypoint. Rather than reproducing Vivek's (?) hack of
2007 Jun 01
2
another RFC patch: bzImage with ELF payload
OK, here's another go-around. This patch leaves the bzImage itself unmodified, but it changes the payload into an ELF file. That is, the 32-bit decompression/relocation+compressed kernel is now a properly formed ELF file. One thing that fell out of this is that code32_start end up being a pointer to the ELF header rather than an entrypoint. Rather than reproducing Vivek's (?) hack of