similar to: write.table

Displaying 16 results from an estimated 16 matches similar to: "write.table"

2002 Apr 10
0
foreign/write.table
Hello, When using write.table I am getting two variables pasted together (not by choice). Has anyone else had this happen? Specifically, I have the following on a RH7.2/R1.4 box: d _ read.dta(paste('/montecarlo/forecast/off/',F,'.dta',sep='')) write.table(d,file=paste('/montecarlo/forecast/off/csv/',F,'.csv',sep=''), row.names=FALSE,
2002 Mar 18
1
line breaks
I have a question about the function of line feeds/carriage returns in an all linux (R, vi to write scripts) environment. In my scripts I have a few functions, using { or ( to wrap commands on the next line. Usually this is fine, but sometimes R appears confused by line wrappings (more likely of course it is me who is confused). I tried ';' to explictly break the line, but no dice. An
2002 May 16
1
foreign library - negative integers??
I am having a problem with the foreign library correctly reading some integer data. Specifically, d _ read.dta('aptaa.dta') > d[1:5,] scenario metcode yr ginv cons gocc abs dvac gmre gmer 1 1 AA 2002 0.007 1377 -0.071 51710 0.071 -0.011 -0.127 2 1 AA 2003 0.000 0 -0.016 62568 0.014 -0.043 -0.538 3 1 AA 2004 0.000 0 -0.002
2010 Mar 23
1
Changing content of column in data.frame + efficient join extraction between 2 data.frames
Dear R users, I have 2 SpatialPointsDataFrame's, pcs and East. The column str_1 in the first (pcs) is: > pcs[0:4,] coordinates cat str_1 int_1 int_2 dbl_1 dbl_2 1 (101000, 263000) 1 "SM06B" 101000 263000 4.978915 -4.293668 2 (101000, 265000) 2 "SM06C" 101000 265000 4.960478 -4.266742 3 (101000, 267000) 3 "SM06D" 101000 267000
2002 Mar 18
3
function design
I have a, no doubt, simple question. I wish to write a function such that a <- 9 b <- 10 changer _ function(x,y) { if (y>x){ x <<- Y+1}} Of course there are easier ways to accomplish the task above, but I am more interested in how to have the "x <<- Y+1" part of the function to change x in place for purposes of a much larger function. I have been wrestling with
2001 Jul 24
3
Memory/data -last time I promise
I've seen several posts over the past 2-3 weeks about memory issues. I've tried to carefully follow the suggestions, but remain baffled as to why I can't load data into R. I hope that in revisiting this issue that I don't exasperate the list. The setting: 1 gig RAM , Linux machine 10 Stata files of approximately 14megs each File contents appear at the end of this boorishly long
2001 Jul 24
3
Memory/data -last time I promise
I've seen several posts over the past 2-3 weeks about memory issues. I've tried to carefully follow the suggestions, but remain baffled as to why I can't load data into R. I hope that in revisiting this issue that I don't exasperate the list. The setting: 1 gig RAM , Linux machine 10 Stata files of approximately 14megs each File contents appear at the end of this boorishly long
2005 May 16
0
Re: Calling R functions from Java (D0c)
Hello kanglin: Try to transfer from Java Object JList to R Object Data.frame, you could use public Rconnection r_connection = null; ..... ..... this.r_connection.assign("dataframe_ex",java list_ex); Best regards, Ricky Chen EIM ProMOS Technologies Inc. No.19 Li Hsin Rd.,Science-Based Industrial Park, HsinChu,Taiwan,R.O.C. Tel: 886-3-5798308 Ext : 8512 http://www.promos.com.tw
1999 Oct 14
2
Help on MASS Library
Hi, I am starting tu use R on a linux environment (Red Hat 6.0), and when I tried to use library MASS, writting library(MASS) I got the following message: > library(MASS) Error: dynamic library `MASS' not found > Is there something I am doing wrong? Thanks in advance, Alberto --------------------------------------------------------------------- Alberto Munoz
2010 Oct 31
2
Problem to running command line Borland C++ program in wine
Hi, I can not run on ubuntu with wine-1.0.1. a program developed in Borland C + + (Windows) command line. When I type: ams at cluster01:~/test$ wine Main.exe the message appears: fixme:ntdll:find_reg_tz_info Can't find matching timezone information in the registry for bias 180, std (d/m/y): 0/00/0000, dlt (d/m/y): 0/00/0000 Application tried to create a window, but no driver could be
2010 Aug 30
0
Little problem with dxdllreg.exe, i think....
Hey, newbie here please be nice. Basically i get the terminal output (below) on when ever i run something like i was trying to open dxdiag, and quite a few games, i also get a error message that 'dxdllreg.ex' encountered a serious error' .... Tried searching google but as i've found most people say that it should just be ignored, but the last few lines are making me think
2009 Feb 26
1
'cannot allocate memory' error, Ventrilo
(These same wine and vent installs were stable pre- new video card) Tried to start Ventrilo from terminal with command :wine "C:\Program Files\Ventrilo\Ventrilo.exe" This is what I get (sorry so long, not sure what part of it is needed): err:ole:CoGetClassObject class {96749377-3391-11d2-9ee3-00c04f797396} not registered err:ole:CoGetClassObject class
2004 Dec 14
5
sort() leaves row names unaffected
Hello, I wonder if I ran into a bug. If I do summary(df1$X1) -> df1.y df1.y a b c d e [1,] 50.74627 8.955224 17.91045 19.40299 2.985075 sort(df1.y) a b c d e [1,] 2.985075 8.955224 17.91045 19.40299 50.74627 my numbers are sorted but do not anymore correspond to the rownames. For me it is counterintuitive that solely the numbers are sorted and not the names. Is
2004 Jun 18
21
patch: HTB update for ADSL users
OK, here it is. Near perfect bandwidth calculation for ADSL users. Patch iproute2 with the HTB stuff and then this: It''s still a hack (as far as I can tell) because we are patching the rates tables, and hence I think it is only loosly coupled with the actual calculation of bytes in each bucket. However, it works very nicely for me! I have only been lightly testing with
2010 Mar 31
3
GArena w/ Linux
Huhu, here I found a tutorial at the GArena forums: > work in ubuntu 9.10? > plz test > > open linux terminal > > 1. type: sudo apt-get install wine (this will download the wine from repository) > 2. insert your computer password > 3. type wget http://www.kegel.com/wine/winetricks (winetricks is a tool for faster linux-windows crossover of files > 4. after installing
2013 Feb 14
12
[PATCH v7 0/5] xen: ARM HDLCD video driver
Hi all, these are the remaining unapplied patches of the ARM HDLCD patch series. Changes in v7: - rebased on b61ed421d2c85b5b106c63f2c14f8aa162b282f0; - turn more printk and panic into early_printk and early_panic. Changes in v6: - rebased on 77d3a1db3196b1b5864469f8d3f41d496800c795; - remove useless initializations to NULL in lfb_init; - more compact checks in lfb_init. Changes in v5: - move