search for: myoutput

Displaying 14 results from an estimated 14 matches for "myoutput".

2005 Apr 11
4
How to suppress the printing of warnings (Windows)?
Dear all, I'm a newbie in R. I am running simulations using a fixed bandwidth in nonparametric regressions, sending all the output to a file myoutput.txt using sink("myoutput.txt"), & R is printing all warnings by the end of the simulation on the file. I know the source of the problem & can take care of it. However, finding a 50 MB file (where all the output is printed, e.g. myoutput.txt) by the end of the simulation exercise i...
2009 Jan 09
4
Extracting File Basename without Extension
Dear all, The basename() function returns the extension also: > myfile <- "path1/path2/myoutput.txt" > basename(myfile) [1] "myoutput.txt" Is there any other function where it just returns plain base: "myoutput" i.e. without 'txt' - Gundala Viswanath Jakarta - Indonesia
2006 Nov 24
1
Error in Calling C++ function from R!!!
...sr/lib/R/lib -lR After, I tried to call R from my working directory an Error occurs: > x<-c(1,4,6,2) > y<-c(3,2.4,1,9) > dyn.load("codigoprova.so") > is.loaded("codigoprova.so") [1] FALSE > product<-.C("prodgdot",myx=x,muy=y,myn=NROW(x),myoutput=as.double(0)) Error in .C("prodgdot", myx = x, muy = y, myn = NROW(x), myoutput = as.double(0)) : C symbol name "prodgdot" not in load table > Does anyone know what is the problem? Thank's in advance! Gilberto.
2012 Jan 29
0
Using influence plots and obtaining id numbers
...is a shortened example). For my analyses, I end up excluding the points R refers to, 7, 18, 26, and 105. However, my question is, how can I understand which ID numbers these points (7,18,26, and 105) are referring to? These numbers, 7,18, 26. and 105, are definitely not my study ID numbers. > Myoutput<-aov(sib~newgroup1, data=Study1) > influencePlot(Myoutput) [1] 7 18 26 105 > influence.measures(Myoutput) Influence measures of aov(formula = sib ~ newgroup1, data = Study1) : dfb.1_ dfb.nw12 dfb.nw13 dfb.nw14 dfb.nw15 dffit cov.r cook.d hat inf 33 1.70e-01 -1...
2007 Jul 12
3
eMail results out of R
Hi everyone, I did my homework and read the posting guideline :-) I want to eMail the results of a computing automatically. So I get the results (the parameters of a garch process) and I want to eMail them to another person. How can I do that? Thx ______________________________ Thomas Schwander MVV Energie Konzern-Risikocontrolling Telefon 0621 - 290-3115 Telefax 0621 - 290-3664 E-Mail:
2006 Mar 14
2
R CMD BATCH w/o inputs?
...cept to me right now. maybe it is late. I would like to run my R code in batch, but not see the R compilations and my R source code---I just want to see the same output that I would see if I ran source("i.R"), but direct it to a file. I can of course direct R output to a file ($ R > myoutput), and then type the source and exit statements blindly, but there must be a better way---I just don't know it. what am I missing? regards, /iaw
2008 Jan 04
1
redirect plot device automatically
Dear all, Every time that I need to generate I plot output as figure I use something like png("myoutput.png") plot(rnorm(100)*1.0,col=4) points(rnorm(100)*0.5,col=2,pch=0) dev.off() But now I need to generate a lot of outputs and it could not be done in a for looping where I can change the names. So I would like to know if is there a way of I automatically redirect the output from my screen to...
2007 Oct 13
2
the use of the .C function
Dear All, could someone please shed some light on the use of the .C or .Fortran function: I am trying load and running on R the following function // psi.cpp -- psi function for real arguments. // Algorithms and coefficient values from "Computation of Special // Functions", Zhang and Jin, John Wiley and Sons, 1996. // // (C) 2003, C. Bond. All rights reserved. // //
2006 Jul 23
2
constructing a dataframe from a database of newspaper articles
I am hoping for some assistance with formatting a large text file which consists of a series of individual records. Each record includes specific labels/field names (a sample of 1 record (one of the longest ones) is below - at end of post. What I want to do is reformat the data, so that each individual record becomes a row (some cells will have a lot of text). For example, the column
2008 Feb 29
1
write.csv +RMySQL request
Hello, I am relatively new to R and learning its ins and outs. As part of a website I am building, I need to read and write csv files directly from an SQL database. Basically I want to convert R variables (dataframes) into CSV format, store them as another R variable (as a properly formatted text string suitable for csv reading) and then send this to one row in a database. The SQL part is fine,
2011 Jul 08
2
Using Windows 7 Task Scheduler with R source scripts
Hello all, I'm trying to get a specific source file to run at a certain time each day with WindowsScheduler http://windows.microsoft.com/en-US/windows7/schedule-a-task I've tried a number of methods, none of which work: My best guess was: 1. Associate the script.R file with R in FileTypes. 2. Call the script.R file in the scheduler This definitely opens R, but the source file
2008 Feb 20
3
Specaccum
Se ha borrado un texto insertado con un juego de caracteres sin especificar... Nombre: no disponible Url: https://stat.ethz.ch/pipermail/r-help/attachments/20080220/4ba85b57/attachment.pl
2009 Sep 30
1
Read header csv file
Hi R community, First of all, I want to thank everybody to share their time solving R questions, You are great. Ok, for my questions, I've been looking for a solutions by myself, in forums but I'm just a little bit desesperate so I hope somebody can help me. I have built a code to read files from a directory. These files are named by a year (2004.csv, 2005.csv,...). When the code reads
2008 Jun 06
6
Subsetting to unique values
I want to take the first row of each unique ID value from a data frame. For instance > ddTable <- data.frame(Id=c(1,1,2,2),name=c("Paul","Joe","Bob","Larry")) I want a dataset that is Id Name 1 Paul 2 Bob > unique(ddTable) Will give me all 4 rows, and > unique(ddTable$Id) Will give me c(1,2), but not accompanied by the name column.